|
|
@ -3097,9 +3097,6 @@ func (impl *BalanceServiceImplement) MpsPlanExport(user *global.User, CustArtSto |
|
|
|
qty = artDemand.OrderQty |
|
|
|
} |
|
|
|
qty = qty + artDemand.IndependentDemandQty - artDemand.OutSourcingQty |
|
|
|
if qty < 0 { |
|
|
|
qty = 0 |
|
|
|
} |
|
|
|
demandQty.Qty += qty |
|
|
|
productQty.Qty += artDemand.NetDemandQty |
|
|
|
artDemandData.OutSourcingQty += artDemand.OutSourcingQty |
|
|
|