@@ -183,6 +183,7 @@
:typeIds="saleOrderValue.typedetailIds"
:isTotalCount="isTotalCount"
:oldProductList="oldProductList"
+ :sourceType="form.sourceType"
></inventoryTable>
</el-tab-pane>
<el-tab-pane label="托盘清单" name="second">
@@ -410,7 +410,10 @@
type: Array,
default: () => []
},
-
+ sourceType: {
+ type: [String, Number],
+ default: ''
+ },
isTotalCount: {
default: 0
}
@@ -1476,7 +1479,8 @@
is = true;
});
- if (is) {
+ // 退货单退货不校验数量,实物赔偿无法计算
+ if (is && this.sourceType != 3) {
this.$message.warning('发货数量大于订单总数量');
if (this.isTotalCount == 1) {
callback(false);