aa
This commit is contained in:
@@ -1772,13 +1772,13 @@ func SendJdwlForJdsOrder(ctx *jxcontext.Context, vendorOrderID string) (err erro
|
||||
dao.UpdateEntity(db, order, "EclpOutID")
|
||||
vendorWaybillID = eclpSoNo
|
||||
} else {
|
||||
if handler := partner.GetDeliveryPlatformFromVendorID(model.VendorIDJDWL); handler != nil {
|
||||
waybill2, err := handler.Handler.CreateWaybill(order, 0)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
vendorWaybillID = waybill2.VendorWaybillID
|
||||
}
|
||||
// if handler := partner.GetDeliveryPlatformFromVendorID(model.VendorIDJDWL); handler != nil {
|
||||
// waybill2, err := handler.Handler.CreateWaybill(order, 0)
|
||||
// if err != nil {
|
||||
// return err
|
||||
// }
|
||||
// vendorWaybillID = waybill2.VendorWaybillID
|
||||
// }
|
||||
}
|
||||
jdshop.CurPurchaseHandler.OrderExport(ctx, vendorOrderID, vendorWaybillID, false)
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user