This commit is contained in:
邹宗楠
2023-05-30 15:20:59 +08:00
parent 0ea5208203
commit 816a947ffb
4 changed files with 8 additions and 12 deletions

View File

@@ -539,16 +539,6 @@ func ResetCreateWaybillFee(db *dao.DaoDB, order *model.GoodsOrder, bill *model.W
cancelWaybill[bill.VendorWaybillID] = bill
// 已经全部运单取消,退款结算
if len(bills) == len(cancelWaybill) {
//for _, v := range bills {
// if v.VendorWaybillID == bill.VendorWaybillID {
// continue
// }
// // 已经取消订单的违约金计算
// if err = countWaybillSettleInfo(db, order, v, store); err != nil {
// return err
// }
//}
// 最终的金额核算,多退少补
if err = orderFeeSettle(db, order, bill, bills, store); err != nil {
return err