feat: 检验任务重检修改

This commit is contained in:
luochen 2025-01-04 09:33:42 +08:00
parent 84e2a35109
commit cf56328a7f

View File

@ -1449,11 +1449,14 @@ export default {
cancelButtonText: this.$t('common.cancel'), cancelButtonText: this.$t('common.cancel'),
type: 'warning', type: 'warning',
}).then(() => { }).then(() => {
let param = { for (let i = 0; i < me.qcTable.length; i++) {
handle: me.processForm.handle let t = me.qcTable[i]
t.result = t.qcItemJudge
t.inspecResults = t.inspecResultList
} }
me.processForm.inspecDetailList = me.qcTable
showLoading() showLoading()
reInspec(param).then(res => { reInspec(me.processForm).then(res => {
hideLoading() hideLoading()
if (res.status === 200) { if (res.status === 200) {
me.$message.success('已重检:新的检验任务号为'+res.data.data.jobNo) me.$message.success('已重检:新的检验任务号为'+res.data.data.jobNo)