|
@ -198,8 +198,9 @@ |
|
|
var itemp = createItemInfo(balance, pack); |
|
|
var itemp = createItemInfo(balance, pack); |
|
|
itemp.handleQty=0 |
|
|
itemp.handleQty=0 |
|
|
let newDetail = createDetailInfo(balance, pack); // |
|
|
let newDetail = createDetailInfo(balance, pack); // |
|
|
|
|
|
newDetail.handleQty=0; |
|
|
if(balance.lableQty){ |
|
|
if(balance.lableQty){ |
|
|
newDetail.handleQty =balance.lableQty |
|
|
newDetail.qty =balance.lableQty |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
newDetail.parentNumber =pack.parentNumber; |
|
|
newDetail.parentNumber =pack.parentNumber; |
|
@ -221,8 +222,9 @@ |
|
|
}) |
|
|
}) |
|
|
if (detail == undefined) { |
|
|
if (detail == undefined) { |
|
|
let newDetail = createDetailInfo(balance, pack); |
|
|
let newDetail = createDetailInfo(balance, pack); |
|
|
|
|
|
newDetail.handleQty=0; |
|
|
if(balance.lableQty){ |
|
|
if(balance.lableQty){ |
|
|
newDetail.handleQty =balance.lableQty |
|
|
newDetail.qty =balance.lableQty |
|
|
} |
|
|
} |
|
|
newDetail.parentNumber =pack.parentNumber; |
|
|
newDetail.parentNumber =pack.parentNumber; |
|
|
newDetail.packingNumber =pack.number |
|
|
newDetail.packingNumber =pack.number |
|
|