Browse Source

修改翻包,拆包库存查询

lijuncheng0816
lijuncheng 1 month ago
parent
commit
e48b95f16e
  1. 13
      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

13
src/mycomponents/scan/winComScanBalance.vue

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

3
src/pages/fg/fgChange.vue

@ -71,7 +71,8 @@
</view> </view>
<win-com-scan-balance ref="scanPopup" @getBalance='getPackScanResult' :bussinessCode="bussinessCode" <win-com-scan-balance ref="scanPopup" @getBalance='getPackScanResult' :bussinessCode="bussinessCode"
:verifyCategory='true'> :verifyCategory='true'
:isCheckLocationBalance="false">
</win-com-scan-balance> </win-com-scan-balance>
<win-scan-fg-label ref="scanFgPopup" @getResult='getFgScanResult' title='灯码'></win-scan-fg-label> <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> <win-scan-button @goScan='openScanPopup'></win-scan-button>
</view> </view>
<winComScanBalance ref="scanPopup" @getBalance='getScanResult' bussinessCode="OverPackage"> <winComScanBalance ref="scanPopup"
@getBalance='getScanResult'
bussinessCode="OverPackage"
:isCheckLocationBalance="false"
>
</winComScanBalance> </winComScanBalance>

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

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

Loading…
Cancel
Save