Browse Source

补给品提交加载中

intex_online20250220
张立 2 months ago
parent
commit
bf013504b1
  1. 10
      src/pages/issueSupplies/job/issueDetailBatch.vue

10
src/pages/issueSupplies/job/issueDetailBatch.vue

@ -31,7 +31,7 @@
<view class="">
</view>
<view class=" uni-flex uni-row">
<button class="btn_single_commit" hover-class="btn_commit_after" @click="autoCommit()">提交</button>
<button class="btn_single_commit" hover-class="btn_commit_after" @click="submit()">提交</button>
</view>
</view>
</view>
@ -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){

Loading…
Cancel
Save