- fixed bug in updateOrderByBill, not updating order.VendorWaybillID.

This commit is contained in:
gazebo
2018-07-26 10:15:26 +08:00
parent 8aa1ed3d71
commit a5725533e6

View File

@@ -476,6 +476,7 @@ func (s *DefScheduler) updateOrderByBill(order *model.GoodsOrder, bill *model.Wa
}
s.CurOrderManager.UpdateWaybillVendorID(bill, revertStatus)
order.WaybillVendorID = bill.WaybillVendorID
order.VendorWaybillID = bill.VendorWaybillID
if revertStatus {
order.Status = model.OrderStatusFinishedPickup
}