Explorar el Código

Merge branch 'master' of http://120.46.159.163:7400/ezhizao/ezhizao_dms_vue

ezhizao_zx hace 11 meses
padre
commit
7a292eafa6
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/business/outsource/form.vue

+ 2 - 2
src/views/business/outsource/form.vue

@@ -807,7 +807,7 @@ const handleShowDialogProcesses = (row) => {
 const handleMultipleSelectedProcesses = (selection) => {
   let currentOriginal = details.value.filter(item =>item.id = currentDetail.value.id)
   let flag = true;
-  if(currentDetail.value.returnReceiptDetailList.length>0 && currentDetail.value.returnReceiptDetailList[0].isAudit == 1 ){
+  if(currentDetail.value.returnReceiptDetailList&&currentDetail.value.returnReceiptDetailList.length>0 ){
 selection.forEach(item=>{
   if(currentOriginal[0].processes.findIndex((info)=>info.processStepNumber==item.processStepNumber)<0){
     flag = false; 
@@ -831,7 +831,7 @@ selection.forEach(item=>{
     currentDetail.value.processes.push(newProcess);
   });
 }else{
-  proxy.$modal.msgError("德迈仕已收回,不可添加新工序");
+  proxy.$modal.msgError("外协厂/德迈仕已收回,不可添加新工序");
 }
 };