From 4abf9b102aaf068e1df74b31abe7935da134b280 Mon Sep 17 00:00:00 2001 From: zhang_li Date: Thu, 31 Jul 2025 15:30:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E9=9A=94=E7=A6=BB=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E6=8E=A5=E5=8F=A3=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventoryMove/job/inventoryMoveDetail.vue | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/pages/inventoryMove/job/inventoryMoveDetail.vue b/src/pages/inventoryMove/job/inventoryMoveDetail.vue index 9709c6e2..e68701c8 100644 --- a/src/pages/inventoryMove/job/inventoryMoveDetail.vue +++ b/src/pages/inventoryMove/job/inventoryMoveDetail.vue @@ -645,21 +645,21 @@ ...this.deptObj } console.log("提交",params) - // inventoryMoveSubmit(params).then(res => { - // uni.hideLoading() - // if (res.data) { - // let showTitle = this.title - // if (this.title.indexOf('任务') == this.title.length - 2) { - // showTitle = this.title.replace('任务', '') - // } - // this.showCommitSuccessMessage("提交成功\n生成" + showTitle + "记录\n" + res.data) - // } else { - // this.showErrorMessage("提交失败[" + res.msg + "]") - // } - // }).catch(error => { - // uni.hideLoading() - // this.showErrorMessage(error) - // }) + inventoryMoveSubmit(params).then(res => { + uni.hideLoading() + if (res.data) { + let showTitle = this.title + if (this.title.indexOf('任务') == this.title.length - 2) { + showTitle = this.title.replace('任务', '') + } + this.showCommitSuccessMessage("提交成功\n生成" + showTitle + "记录\n" + res.data) + } else { + this.showErrorMessage("提交失败[" + res.msg + "]") + } + }).catch(error => { + uni.hideLoading() + this.showErrorMessage(error) + }) }, setPrecisionStrategParams() {