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