|
@ -389,6 +389,12 @@ |
|
|
return res |
|
|
return res |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
// 库存余额是0不让添加 |
|
|
|
|
|
|
|
|
|
|
|
if(!balance.qty){ |
|
|
|
|
|
this.showErrorMessage("物料号[" + result.label.itemCode + "]库存余额余额数量是0") |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
if (item == undefined) { |
|
|
if (item == undefined) { |
|
|
var itemp = createItemInfoForLabel(balance, result.label); |
|
|
var itemp = createItemInfoForLabel(balance, result.label); |
|
|
let newDetail = createDetailInfoForLabel(balance, pack, result.label); |
|
|
let newDetail = createDetailInfoForLabel(balance, pack, result.label); |
|
|