Browse Source

YT-2929物料隔离需要支持线边负库存的隔离

intex
张立 3 days ago
parent
commit
3b03b45417
  1. 7
      src/mycomponents/qty/balanceQtyEdit.vue
  2. 9
      src/pages/inventoryMove/coms/comInventoryDetailCard.vue
  3. 1651
      src/pages/inventoryMove/job/inventoryMoveDetail.vue

7
src/mycomponents/qty/balanceQtyEdit.vue

@ -124,6 +124,11 @@
type: Boolean,
default: true
},
//
isTestBalance: {
type: Boolean,
default: true
},
},
watch:{
'allQty'(newVal){
@ -188,7 +193,7 @@
this.allQty = balanceQty;
})
}else {
if (this.allQty > balanceQty) {
if (this.allQty > balanceQty && this.isTestBalance) {
this.$refs.comMessage.showConfirmWarningModal('数量[' + this.allQty + ']不允许大于库存数量[' + balanceQty + ']',
res => {
this.allQty = balanceQty;

9
src/pages/inventoryMove/coms/comInventoryDetailCard.vue

@ -22,7 +22,7 @@
</uni-collapse-item>
</uni-collapse>
<balance-qty-edit ref="qtyEdit" :settingParam="settingParam" :allowEditQty="allowEditQty" @confirm="confirm"
:allowEditStatus="true"></balance-qty-edit>
:allowEditStatus="true" :isTestBalance='isTestBalance'></balance-qty-edit>
<win-scan-location ref="scanLocationCode" :locationAreaTypeList="locationAreaTypeList" title="目标库位" @getLocation='getLocation'></win-scan-location>
<detail-info-popup ref="detailInfoPopup"></detail-info-popup>
<comMessage ref="message"></comMessage>
@ -80,7 +80,12 @@
locationAreaTypeList: {
type: Array,
default: []
}
},
//
isTestBalance: {
type: Boolean,
default: true
},
},
watch: {
dataContent: {

1651
src/pages/inventoryMove/job/inventoryMoveDetail.vue

File diff suppressed because it is too large
Loading…
Cancel
Save