From cfd1d2116839d6d29c097126ce9e78be22d6578d Mon Sep 17 00:00:00 2001 From: TengXF <302828528@qq.com> Date: Tue, 21 May 2024 10:37:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20update=20=E5=AE=8C=E5=B7=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mes/workScheduling/workScheduling.vue | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/src/pages/mes/workScheduling/workScheduling.vue b/src/pages/mes/workScheduling/workScheduling.vue index bc10d70..34f45e3 100644 --- a/src/pages/mes/workScheduling/workScheduling.vue +++ b/src/pages/mes/workScheduling/workScheduling.vue @@ -465,25 +465,26 @@ } // 完工处理->验证 function finished(item) { - console.log(item) - nodeInfo.value.planDayCode = item.planMasterCode - nodeInfo.value.processCode = item.workingNode - workSchedulingListApi.getNodePosition(nodeInfo.value).then((res) => { - proxy.$modal.closeLoading() - if (res.data != null && res.data == "end") { - proxy.$modal.confirm('确定提交完工吗?').then(() => { - submitFinish(item) - }) - } else { - _toast("当前不是最后工序,不允许完工") - // proxy.$modal.loading("当前不是最后工序,不允许完工") - // setTimeout(() => { - // proxy.$modal.closeLoading() - // }, 1000) - } - }).catch(() => { - proxy.$modal.closeLoading() - }) + submitFinish(item) + // console.log(item) + // nodeInfo.value.planDayCode = item.planMasterCode + // nodeInfo.value.processCode = item.workingNode + // workSchedulingListApi.getNodePosition(nodeInfo.value).then((res) => { + // proxy.$modal.closeLoading() + // if (res.data != null && res.data == "end") { + // proxy.$modal.confirm('确定提交完工吗?').then(() => { + // submitFinish(item) + // }) + // } else { + // _toast("当前不是最后工序,不允许完工") + // // proxy.$modal.loading("当前不是最后工序,不允许完工") + // // setTimeout(() => { + // // proxy.$modal.closeLoading() + // // }, 1000) + // } + // }).catch(() => { + // proxy.$modal.closeLoading() + // }) } // 完工处理->提交 function submitFinish(item) {