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){