Browse Source

修改翻包,拆包库存查询

lijuncheng0816
lijuncheng 3 months ago
parent
commit
e48b95f16e
  1. 11
      src/mycomponents/scan/winComScanBalance.vue
  2. 3
      src/pages/fg/fgChange.vue
  3. 6
      src/pages/package/record/overPackageRecord.vue
  4. 5
      src/pages/package/record/splitPackageRecord.vue

11
src/mycomponents/scan/winComScanBalance.vue

@ -78,6 +78,10 @@
verifyCategory: {
type: Boolean,
default: false
},
isCheckLocationBalance: {
type: Boolean,
default: true
}
},
data() {
@ -92,7 +96,6 @@
fromLocation: '',
fromLocationList: [],
fromLocationAreaTypeList: [],
toLocationAreaTypeList: [],
locationOnFocus: false,
businessType: {},
@ -124,10 +127,12 @@
return;
}
this.getItemCodeType(result.package.itemCode, callBack => {
if(this.isCheckLocationBalance){
this.getToLocationBalance(this.resultData)
}else {
this.queryBalance(this.resultData)
}
//this.queryBalance(this.resultData)
})
},

3
src/pages/fg/fgChange.vue

@ -71,7 +71,8 @@
</view>
<win-com-scan-balance ref="scanPopup" @getBalance='getPackScanResult' :bussinessCode="bussinessCode"
:verifyCategory='true'>
:verifyCategory='true'
:isCheckLocationBalance="false">
</win-com-scan-balance>
<win-scan-fg-label ref="scanFgPopup" @getResult='getFgScanResult' title='灯码'></win-scan-fg-label>

6
src/pages/package/record/overPackageRecord.vue

@ -63,7 +63,11 @@
<win-scan-button @goScan='openScanPopup'></win-scan-button>
</view>
<winComScanBalance ref="scanPopup" @getBalance='getScanResult' bussinessCode="OverPackage">
<winComScanBalance ref="scanPopup"
@getBalance='getScanResult'
bussinessCode="OverPackage"
:isCheckLocationBalance="false"
>
</winComScanBalance>

5
src/pages/package/record/splitPackageRecord.vue

@ -38,7 +38,10 @@
<win-scan-button @goScan='openScanPopup'></win-scan-button>
</view>
<winComScanBalance ref="scanPopup" @getBalance='getScanResult' :bussinessCode="typeCode">
<winComScanBalance ref="scanPopup"
@getBalance='getScanResult'
:isCheckLocationBalance="false"
:bussinessCode="typeCode">
</winComScanBalance>
<comMessage ref="comMessage"></comMessage>
</view>

Loading…
Cancel
Save