Compare commits
2 Commits
b528c53e90
...
b47ea1135f
Author | SHA1 | Date | |
---|---|---|---|
b47ea1135f | |||
14aff507b8 |
|
@ -3741,6 +3741,7 @@ func packData(result []RetailDetailByJoin) []ErpOrder {
|
|||
commodity.ErpSupplierName = item.ErpSupplierName
|
||||
commodity.SalesProfit = item.SalesProfit
|
||||
commodity.StaffProfit = item.StaffProfit
|
||||
commodity.StaffPrice = item.WholesalePrice + item.StaffCostPrice
|
||||
|
||||
order.Commodities = append(order.Commodities, commodity)
|
||||
orderIdMap[item.ErpOrderId] = order
|
||||
|
|
Loading…
Reference in New Issue
Block a user