diff --git a/src/mycomponents/qty/balanceQtyEdit.vue b/src/mycomponents/qty/balanceQtyEdit.vue
index 319ef2b9..a4dde10c 100644
--- a/src/mycomponents/qty/balanceQtyEdit.vue
+++ b/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;
diff --git a/src/pages/inventoryMove/coms/comInventoryDetailCard.vue b/src/pages/inventoryMove/coms/comInventoryDetailCard.vue
index 2f379ad2..c6300cc8 100644
--- a/src/pages/inventoryMove/coms/comInventoryDetailCard.vue
+++ b/src/pages/inventoryMove/coms/comInventoryDetailCard.vue
@@ -22,7 +22,7 @@
+ :allowEditStatus="true" :isTestBalance='isTestBalance'>
@@ -80,7 +80,12 @@
locationAreaTypeList: {
type: Array,
default: []
- }
+ },
+ // 是否校验扫描数量大于库存数量
+ isTestBalance: {
+ type: Boolean,
+ default: true
+ },
},
watch: {
dataContent: {
diff --git a/src/pages/inventoryMove/job/inventoryMoveDetail.vue b/src/pages/inventoryMove/job/inventoryMoveDetail.vue
index c1ef964e..9709c6e2 100644
--- a/src/pages/inventoryMove/job/inventoryMoveDetail.vue
+++ b/src/pages/inventoryMove/job/inventoryMoveDetail.vue
@@ -1,817 +1,836 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file