From 05c24a6a4c6c3ebb1c628fb42416c26677f9d320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BF=97=E5=9B=BD?= <854933521@qq.com> Date: Tue, 29 Oct 2024 18:51:47 +0800 Subject: [PATCH] =?UTF-8?q?mycomponents/page/count/job=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=BF=81=E7=A7=BB=208/8-10/25?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/count/job/countBlindDetail.vue | 4 +- src/pages/count/job/countDetail.vue | 4 +- src/pages/count/job/countDetail1.vue | 4 +- src/pages/count/job/countJob.vue | 171 ++++++++++------------- src/pages/count/job/countLightDetail.vue | 162 +++++++++++++++------ src/pages/count/job/fuzzyCountDetail.vue | 80 +++++++---- 6 files changed, 256 insertions(+), 169 deletions(-) diff --git a/src/pages/count/job/countBlindDetail.vue b/src/pages/count/job/countBlindDetail.vue index f02cfe0e..322d8ec4 100644 --- a/src/pages/count/job/countBlindDetail.vue +++ b/src/pages/count/job/countBlindDetail.vue @@ -438,7 +438,7 @@ export default { }) } else { // 不允许部分提交,提示 - this.$refs.comMessage.showErrorMessage('请完成扫描后,再进行提交
' + `已经扫描[${this.scanCount}]总共[${this.getTotalCount()}]`, (res) => { + this.$refs.comMessage.showErrorMessage('请完成扫描后,再进行提交\n' + `已经扫描[${this.scanCount}]总共[${this.getTotalCount()}]`, (res) => { if (res) { this.openScanPopup() } @@ -458,7 +458,7 @@ export default { .then((res) => { uni.hideLoading() if (res.data) { - this.showCommitSuccessMessage(`提交成功
生成盘点记录
${res.data}`) + this.showCommitSuccessMessage(`提交成功\n生成盘点记录\n${res.data}`) } else { this.showErrorMessage(`提交失败[${res.msg}]`) } diff --git a/src/pages/count/job/countDetail.vue b/src/pages/count/job/countDetail.vue index 752b5ef8..7828b62c 100644 --- a/src/pages/count/job/countDetail.vue +++ b/src/pages/count/job/countDetail.vue @@ -617,7 +617,7 @@ const commit = () => { }) } else { // 不允许部分提交,提示 - comMessageRef.value.showErrorMessage('请完成扫描后,再进行提交
' + `已经扫描[${scanCount.value}]总共[${getTotalCount()}]`, (res) => { + comMessageRef.value.showErrorMessage('请完成扫描后,再进行提交\n' + `已经扫描[${scanCount.value}]总共[${getTotalCount()}]`, (res) => { if (res) { openScanPopup() } @@ -633,7 +633,7 @@ const submitJob = () => { .then((res) => { uni.hideLoading() if (res.data) { - showCommitSuccessMessage(`提交成功
生成盘点记录
${res.data}`) + showCommitSuccessMessage(`提交成功\n生成盘点记录\n${res.data}`) } else { showErrorMessage(`提交失败[${res.msg}]`) } diff --git a/src/pages/count/job/countDetail1.vue b/src/pages/count/job/countDetail1.vue index 804e82c5..c4d19748 100644 --- a/src/pages/count/job/countDetail1.vue +++ b/src/pages/count/job/countDetail1.vue @@ -434,7 +434,7 @@ export default { }) } else { // 不允许部分提交,提示 - this.$refs.comMessage.showErrorMessage('请完成扫描后,再进行提交
' + `已经扫描[${this.scanCount}]总共[${this.getTotalCount()}]`, (res) => { + this.$refs.comMessage.showErrorMessage('请完成扫描后,再进行提交\n' + `已经扫描[${this.scanCount}]总共[${this.getTotalCount()}]`, (res) => { if (res) { this.openScanPopup() } @@ -453,7 +453,7 @@ export default { // countJobSubmit(params).then(res => { // uni.hideLoading() // if (res.data) { - // this.showCommitSuccessMessage("提交成功
生成盘点记录
" + res.data) + // this.showCommitSuccessMessage("提交成功\n生成盘点记录\n" + res.data) // } else { // this.showErrorMessage("提交失败[" + res.msg + "]") // } diff --git a/src/pages/count/job/countJob.vue b/src/pages/count/job/countJob.vue index 63b23b81..2e0d537a 100644 --- a/src/pages/count/job/countJob.vue +++ b/src/pages/count/job/countJob.vue @@ -1,7 +1,10 @@