diff --git a/src/views/mes/orderDay/components/schedule.vue b/src/views/mes/orderDay/components/schedule.vue index eccbefcd7..0a8db8e45 100644 --- a/src/views/mes/orderDay/components/schedule.vue +++ b/src/views/mes/orderDay/components/schedule.vue @@ -706,7 +706,9 @@ const deleteEquipment=(row)=>{ /*删除选择的班组人员*/ const deleteUser=(row)=>{ + console.log("workerData.value.709",workerData.value) workerData.value.splice(workerData.value.indexOf(row),1) + console.log("workerData.value.711",workerData.value) } /*班组人员保存接口*/ const saveUser = async () =>{ diff --git a/src/views/mes/workScheduling/index.vue b/src/views/mes/workScheduling/index.vue index 915c52ea2..4e2bba17f 100644 --- a/src/views/mes/workScheduling/index.vue +++ b/src/views/mes/workScheduling/index.vue @@ -230,11 +230,14 @@ const finishReport=async(row)=>{ processCode:row.workingNode } //console.log("workscheduling-finishReport-213",row) - let res=await WorkSchedulingApi.getNodePosition(params) - if(res==='end'){ + if(row.workingNode=='endNode'){ //reportFinishRef.value.openDetail(row,"完工") WorkSchedulingApi.completeHandle(params) }else{ + // let res=await WorkSchedulingApi.getNodePosition(params) + // if(res){ + + // } message.alert("当前工序不是完工工序,不能进行完工操作!") } }