Browse Source

查询库存余额--大哥让去掉 fromInventoryStatuses

hella_online_20240829
wangyufei 3 months ago
parent
commit
200950c993
  1. 7
      src/mycomponents/scan/winScanPackAndLocation.vue
  2. 2
      src/pages/productPutaway/job/productPutawayDetail.vue
  3. 2
      src/pages/productPutaway/record/productPutawayRecord.vue
  4. 2
      src/pages/putaway/job/putawayDetail.vue

7
src/mycomponents/scan/winScanPackAndLocation.vue

@ -105,6 +105,10 @@
queryBalance: {
type: Boolean,
default: true
},
balanceFromInventoryStatuses:{//fromInventoryStatuses
type: Boolean,
default: true
}
},
data() {
@ -255,7 +259,8 @@
// title: '...',
// mask: true
// })
getBalanceByManagementPrecision(result.label, this.fromLocationCode, this.fromInventoryStatuses,
// -- fromInventoryStatuses
getBalanceByManagementPrecision(result.label, this.fromLocationCode, this.balanceFromInventoryStatuses?this.fromInventoryStatuses:undefined,
res => {
uni.hideLoading();
if (res.success) {

2
src/pages/productPutaway/job/productPutawayDetail.vue

@ -36,7 +36,7 @@
</view>
<win-scan-button @goScan='openScanPopup'></win-scan-button>
<win-scan-pack-and-location ref="scanPopup" @getResult='getScanResult'></win-scan-pack-and-location>
<win-scan-pack-and-location :balanceFromInventoryStatuses="false" ref="scanPopup" @getResult='getScanResult'></win-scan-pack-and-location>
<detail-info-popup ref="detailInfoPopup"></detail-info-popup>
<comMessage ref="comMessage"></comMessage>

2
src/pages/productPutaway/record/productPutawayRecord.vue

@ -33,7 +33,7 @@
<win-scan-button @goScan='openScanPopup'></win-scan-button>
</view>
<win-scan-pack-and-location ref="scanPopup" @getResult='getScanResult'></win-scan-pack-and-location>
<win-scan-pack-and-location :balanceFromInventoryStatuses="false" ref="scanPopup" @getResult='getScanResult'></win-scan-pack-and-location>
<win-scan-location ref="scanLocationCode" title="来源库位" @getLocation='getLocation'
:locationAreaTypeList="fromLocationAreaTypeList"></win-scan-location>
<comMessage ref="comMessage"></comMessage>

2
src/pages/putaway/job/putawayDetail.vue

@ -41,7 +41,7 @@
<!-- <winScanPackAndLocationNoBalance ref="scanPopup" @getResult='getScanResult' :allowNullBalance="true">
</winScanPackAndLocationNoBalance> -->
<winScanPackAndLocation ref="scanPopup" @getResult='getScanResult' :noShowBalanceMessage="true">
<winScanPackAndLocation :balanceFromInventoryStatuses="false" ref="scanPopup" @getResult='getScanResult' :noShowBalanceMessage="true">
</winScanPackAndLocation>
<comMessage ref="comMessage"></comMessage>

Loading…
Cancel
Save