From f9be614589f6eeebf69f4a0c11862623c6d6c719 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 20 Sep 2024 20:52:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/count/job/countLightDetail.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/pages/count/job/countLightDetail.vue b/src/pages/count/job/countLightDetail.vue index a2f9c7de..32db4660 100644 --- a/src/pages/count/job/countLightDetail.vue +++ b/src/pages/count/job/countLightDetail.vue @@ -528,11 +528,13 @@ console.log("提交参数", JSON.stringify(params)); countJobSubmit(params).then(res => { uni.hideLoading() - if (res.data) { - this.showCommitSuccessMessage("提交成功\n生成盘点记录\n" + res.data) - } else { - this.showErrorMessage("提交失败[" + res.msg + "]") - } + const str =res.data || '' + this.showCommitSuccessMessage("提交成功\n生成盘点记录\n" + str) + // if (res.data) { + // this.showCommitSuccessMessage("提交成功\n生成盘点记录\n" + res.data) + // } else { + // this.showErrorMessage("提交失败[" + res.msg + "]") + // } }).catch(error => { uni.hideLoading() this.showErrorMessage(error)