diff --git a/business/partner/printer/jxprint/jxprint_const.go b/business/partner/printer/jxprint/jxprint_const.go index cde0359ea..795635c76 100644 --- a/business/partner/printer/jxprint/jxprint_const.go +++ b/business/partner/printer/jxprint/jxprint_const.go @@ -17,7 +17,7 @@ const ( TrySendTime = "trySendTime" // 预计送达时间 OrderNo = "orderNo" // 订单编号 VendorName = "vendorName" // 订单来源平台名称 - VendOrID = "vendOrID" // 订单来源平台id + VendorID = "vendorID" // 订单来源平台id VendorOrderNo = "vendorOrderNo" // 订单序号1/2/ EBaiCode = "eBailCode" // 饿百取货码 QRCOrder = "qrcOrder" // 订单二维码单号,还是订单Id @@ -84,7 +84,7 @@ func ManagerOrderPrint(order *model.GoodsOrder, storeTel string, storeDetail *da printOrder[PayOrderTime] = utils.Time2Str(order.OrderCreatedAt) printOrder[TrySendTime] = utils.Time2Str(order.ExpectedDeliveredTime) printOrder[OrderNo] = order.VendorOrderID - printOrder[VendOrID] = utils.Int2Str(order.VendorID) + printOrder[VendorID] = utils.Int2Str(order.VendorID) printOrder[VendorName] = jxutils.GetVendorName(order.VendorID) printOrder[VendorOrderNo] = utils.Int2Str(order.OrderSeq) printOrder[EBaiCode] = jxutils.GetEbaiOrderGetCode(order)