Browse Source

Merge pull request '删掉负数处理' (#135) from feature_mps into develop

Reviewed-on: http://101.201.121.115:3000/leo/LAPP_CHEERSSON_BACKEND/pulls/135
pull/136/head
yehongyang 3 years ago
parent
commit
827b8a294f
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      services/ap/implments/Balance.service.impl.go

+ 0
- 3
services/ap/implments/Balance.service.impl.go View File

@ -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


Loading…
Cancel
Save