Browse Source

发料任务接收弹出扫描框

hella_online_20241128
lijuncheng 2 months ago
parent
commit
393c613ed5
  1. 7
      src/pages/productionReceipt/job/productionReceiptJob.vue

7
src/pages/productionReceipt/job/productionReceiptJob.vue

@ -40,7 +40,7 @@
<uni-load-more :status="loadingType" />
</view>
<win-scan-button @goScan='openScanPopup' v-if="jobList.length>0"></win-scan-button>
<winScanPackJob ref="scanPopup" @getResult='getScanResult'></winScanPackJob>
<winScanPackJob ref="scanPopup" @getResult='getScanResult' ></winScanPackJob>
<jobList ref="jobList" @selectItem="selectItem"></jobList>
<comMessage ref="comMessage"></comMessage>
</view>
@ -290,9 +290,12 @@
this.loadingType = "nomore";
return;
}
this.jobList = type === "refresh" ? list : this.jobList.concat(list);
this.pageNo++;
if(this.pageNo==2){
this.openScanPopup()
}
}).catch(error => {
if (type === "refresh") {
uni.stopPullDownRefresh();

Loading…
Cancel
Save