diff --git a/src/pages/inventoryMove/coms/comMoveRecord.vue b/src/pages/inventoryMove/coms/comMoveRecord.vue
index 207753ee..18882bf5 100644
--- a/src/pages/inventoryMove/coms/comMoveRecord.vue
+++ b/src/pages/inventoryMove/coms/comMoveRecord.vue
@@ -429,8 +429,17 @@
newDetail.fromLocationCode = result.fromLocationCode
item.subList.push(newDetail);
} else {
- console.log(999,detail.handleQty)
- detail.handleQty =calc.add(detail.handleQty, result.label.qty)
+ // console.log(999,detail.handleQty)
+ // detail.handleQty =calc.add(detail.handleQty, result.label.qty)
+ if(managementTypeParams == 'BY_QUANTITY'){
+ this.showErrorMessage(
+ "批次[]\n" + "库位[" + detail.fromLocationCode + "]\n" +
+ "已经存在")
+ }else if(managementTypeParams == 'BY_BATCH'){
+ this.showErrorMessage(
+ "批次[" + detail.batch + "]\n" + "库位[" + detail.fromLocationCode + "]\n" +
+ "已经存在")
+ }
}
}
diff --git a/src/pages/inventoryMove/coms/comMoveRecordCard.vue b/src/pages/inventoryMove/coms/comMoveRecordCard.vue
index d8fc1a3b..496893f6 100644
--- a/src/pages/inventoryMove/coms/comMoveRecordCard.vue
+++ b/src/pages/inventoryMove/coms/comMoveRecordCard.vue
@@ -18,7 +18,7 @@
:right-options="item.scaned?scanOptions:detailOptions">
+ :isShowLocation="true" :allowEditStatus='allowEditStatus' :isShowPack='item.managementTypeParams == "BY_PACKAGING"' >