- use actual price when creating waybill.

This commit is contained in:
gazebo
2018-07-31 09:57:30 +08:00
parent a83e17dd34
commit 075e936dc0
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ func (c *WaybillController) CreateWaybill(order *model.GoodsOrder) (err error) {
billParams := &dadaapi.OperateOrderRequiredParams{
ShopNo: utils.Int2Str(order.StoreID), // 当前达达的门店号与京西是一样的
OriginID: jxutils.ComposeUniversalOrderID(order.VendorOrderID, order.VendorID),
CargoPrice: jxutils.IntPrice2Standard(order.SalePrice),
CargoPrice: jxutils.IntPrice2Standard(order.ActualPayPrice),
IsPrepay: 0,
ReceiverName: order.ConsigneeName,
ReceiverAddress: order.ConsigneeAddress,