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() {
setTimeout(()=>{
if (this.$refs.comscan) {
this.$refs.comscan.getfocus();
}
},300)
},
packLoseFocus() {

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

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

Loading…
Cancel
Save