diff --git a/src/views/material/repair/testExamine/component/addToolsApply.vue b/src/views/material/repair/testExamine/component/addToolsApply.vue index 6c349002..f67edecd 100644 --- a/src/views/material/repair/testExamine/component/addToolsApply.vue +++ b/src/views/material/repair/testExamine/component/addToolsApply.vue @@ -270,12 +270,12 @@ export default { selection.forEach((item) => { this.passTemp.push({ id: item.id, status: "1",specificationType: item.specificationType,machineTypeName:item.machineTypeName, unitName:item.unitName,repairNum:item.repairNum,repairedNum:item.repairedNum,typeId:item.typeId,taskId:item.taskId, - auditId:row.auditId,repairId:row.repairId,maId:row.maId, }); + auditId:row.id,repairId:row.repairId,maId:row.maId, }); }); selection.forEach((item) => { this.failTemp.push({ id: item.id, status: "2",specificationType: item.specificationType,machineTypeName:item.machineTypeName, unitName:item.unitName,repairNum:item.repairNum,repairedNum:item.repairedNum,typeId:item.typeId,taskId:item.taskId, - auditId:row.auditId,repairId:row.repairId,maId:row.maId, }); + auditId:row.id,repairId:row.repairId,maId:row.maId, }); }); this.single = selection.length != 1; this.multiple = !selection.length; @@ -295,7 +295,7 @@ export default { const param = []; param.push({ id: row.id, status: "1",specificationType: row.specificationType,machineTypeName:row.machineTypeName, unitName:row.unitName,repairNum:row.repairNum,repairedNum:row.repairedNum,typeId:row.typeId,taskId:row.taskId, - auditId:row.auditId,repairId:row.repairId,maId:row.maId, }); + auditId:row.id,repairId:row.repairId,maId:row.maId, }); this.$modal .confirm("是否确认通过所选择的数据项?") .then(function () { @@ -312,7 +312,7 @@ export default { const param = []; param.push({ id: row.id, status: "2",specificationType: row.specificationType,machineTypeName:row.machineTypeName, unitName:row.unitName,repairNum:row.repairNum,repairedNum:row.repairedNum,typeId:row.typeId,taskId:row.taskId, - auditId:row.auditId,repairId:row.repairId,maId:row.maId, + auditId:row.id,repairId:row.repairId,maId:row.maId, }); this.$modal .confirm("是否确认驳回所选择的数据项?")