1
This commit is contained in:
@@ -559,12 +559,12 @@ func countWaybillSettleInfo(db *dao.DaoDB, order *model.GoodsOrder, bill *model.
|
||||
return err
|
||||
}
|
||||
|
||||
if deductFee != model.NO {
|
||||
// 更新运单实际扣除费用
|
||||
bill.ActualFee = deductFee
|
||||
bill.DesiredFee = deductFee
|
||||
_, err = dao.UpdateEntity(db, bill, "ActualFee", "DesiredFee")
|
||||
}
|
||||
//if deductFee != model.NO {
|
||||
// 更新运单实际扣除费用
|
||||
bill.ActualFee = deductFee
|
||||
bill.DesiredFee = deductFee
|
||||
_, err = dao.UpdateEntity(db, bill, "ActualFee", "DesiredFee")
|
||||
//}
|
||||
|
||||
// 门店发单,支付运单违约金
|
||||
if store != nil && store.CreateDeliveryType == model.YES && deductFee != model.NO {
|
||||
|
||||
Reference in New Issue
Block a user