From 988c95ba4ef80bbfb9f34dbd17395b37d0df02e5 Mon Sep 17 00:00:00 2001 From: zhousq Date: Fri, 17 May 2024 09:49:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=A5=E5=AE=8C=E5=B7=A5?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/orderDay/components/schedule.vue | 2 ++ src/views/mes/workScheduling/index.vue | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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("当前工序不是完工工序,不能进行完工操作!") } }