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

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

@ -36,7 +36,7 @@
</view> </view>
<win-scan-button @goScan='openScanPopup'></win-scan-button> <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> <detail-info-popup ref="detailInfoPopup"></detail-info-popup>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>

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

@ -33,7 +33,7 @@
<win-scan-button @goScan='openScanPopup'></win-scan-button> <win-scan-button @goScan='openScanPopup'></win-scan-button>
</view> </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' <win-scan-location ref="scanLocationCode" title="来源库位" @getLocation='getLocation'
:locationAreaTypeList="fromLocationAreaTypeList"></win-scan-location> :locationAreaTypeList="fromLocationAreaTypeList"></win-scan-location>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>

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

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

Loading…
Cancel
Save