From bf013504b12060d6045c0c911691316562aa64b3 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 17 Feb 2025 13:31:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E7=BB=99=E5=93=81=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/issueSupplies/job/issueDetailBatch.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/pages/issueSupplies/job/issueDetailBatch.vue b/src/pages/issueSupplies/job/issueDetailBatch.vue index 362c7a03..8622d972 100644 --- a/src/pages/issueSupplies/job/issueDetailBatch.vue +++ b/src/pages/issueSupplies/job/issueDetailBatch.vue @@ -31,7 +31,7 @@ - + @@ -269,6 +269,10 @@ }, submitJob() { + uni.showLoading({ + title: "提交中....", + mask: true + }); // var params = this.setParams() issueJobEopSubmit(this.detailSource).then(res => { uni.hideLoading() @@ -372,6 +376,10 @@ afterScan() { // this.autoCommit() }, + submit(){ + //防止重复点击 + this.$throttle(this.autoCommit, 2000, this)() + }, async autoCommit(){ const array = this.detailSource.subList.filter(detail=>detail.scaned) if(array.length < this.detailSource.subList.length){