aa
This commit is contained in:
@@ -1323,12 +1323,9 @@ func (s *DefScheduler) updateOrderByBill(order *model.GoodsOrder, bill *model.Wa
|
||||
} else {
|
||||
order.WaybillVendorID = bill.WaybillVendorID
|
||||
order.VendorWaybillID = bill.VendorWaybillID
|
||||
if bill.Status == model.WaybillStatusDelivered {
|
||||
storeDetail, _ := partner.CurOrderManager.LoadStoreDetail(jxutils.GetSaleStoreIDFromOrder(order), order.VendorID)
|
||||
if storeDetail != nil {
|
||||
jxutils.RefreshOrderEarningPrice3(order, storeDetail.PayPercentage, bill)
|
||||
updateFields = append(updateFields, "NewEarningPrice")
|
||||
}
|
||||
if bill.DesiredFee != 0 {
|
||||
jxutils.RefreshOrderEarningPrice3(order, order.OrderPayPercentage, bill)
|
||||
updateFields = append(updateFields, "NewEarningPrice")
|
||||
}
|
||||
}
|
||||
if revertStatus {
|
||||
|
||||
Reference in New Issue
Block a user