Browse Source

YT-1457计划外出库任务,扫描之后PDA提交失败

intex_online20241205
张立 2 months ago
parent
commit
d1e4741673
  1. 4
      src/mycomponents/scan/winScanPackAndLocation.vue
  2. 8
      src/pages/unPlanned/job/issueJobDetail.vue

4
src/mycomponents/scan/winScanPackAndLocation.vue

@ -40,7 +40,7 @@
<view class="">
<view class="">
<win-com-scan ref="comscan" :placeholder="title" @getResult="getScanResult" :isShowHistory="isShowHistory"
:clearResult="true" :headerType="headerType"></win-com-scan>
:clearResult="true" :headerType="headerType" :locationCode='fromLocationCode'></win-com-scan>
</view>
</view>
</view>
@ -282,7 +282,7 @@
// this.packGetFocus();
//
if(this.isJustReplay){
this.$emit("getResult",scanResult);
this.$emit("getResult",scanResult, this.managementPrecision);
uni.hideLoading()
}else{
this.checkPackage(scanResult);

8
src/pages/unPlanned/job/issueJobDetail.vue

@ -243,8 +243,12 @@
this.$refs.detailInfoPopup.openPopup(item)
},
getScanResult(result) {
if(import.meta.env.VITE_MANAGE_MODEL == 'BY_BATCH'){
getScanResult(result,managementPrecision) {
console.log(33,result,managementPrecision)
if(managementPrecision == 'BY_QUANTITY'){
result.label.batch = ''
this.setDataBatch(result)
}else if(managementPrecision == 'BY_BATCH' ){
this.setDataBatch(result)
}else{
this.setData(result)

Loading…
Cancel
Save