Browse Source

YT-1956PDA 任务详情页 点击扫描,焦点应该自动定位到输入框YT-1949PDA扫描明细时,库存不粗,未弹出提示 ,还是扫描成功了

intex_online20250220
张立 1 week ago
parent
commit
eec31dcbbb
  1. 3
      src/mycomponents/scan/winScanPackAndLocationNoShow.vue
  2. 9
      src/pages/issueSupplies/job/issueDetailBatch.vue

3
src/mycomponents/scan/winScanPackAndLocationNoShow.vue

@ -507,9 +507,12 @@
}, },
packGetFocus() { packGetFocus() {
setTimeout(()=>{
if (this.$refs.comscan) { if (this.$refs.comscan) {
this.$refs.comscan.getfocus(); this.$refs.comscan.getfocus();
} }
},300)
}, },
packLoseFocus() { packLoseFocus() {

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

@ -244,10 +244,10 @@
this.showErrorMessage("物料【" + itemCode + "】已经扫描") this.showErrorMessage("物料【" + itemCode + "】已经扫描")
return return
} }
// if(detail.qty>result.balance.qty){ if(detail.qty>result.balance.qty){
// this.showErrorMessage("" + itemCode + "") this.showErrorMessage("物料【" + itemCode + "】库存不足")
// return return
// } }
detail.scaned = true detail.scaned = true
} }
this.continueScan() this.continueScan()
@ -477,6 +477,7 @@
}, },
openScanPopup() { openScanPopup() {
this.$refs.scanPopup.openScanPopupForJob(this.jobContent); this.$refs.scanPopup.openScanPopupForJob(this.jobContent);
this.scanPopupGetFocus();
}, },
closeScanPopup() { closeScanPopup() {

Loading…
Cancel
Save