This commit is contained in:
邹宗楠
2023-05-18 10:29:52 +08:00
parent 55600bedb0
commit c0e491ff7f

View File

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