- 订单导出添加courierVendorName
This commit is contained in:
@@ -419,6 +419,7 @@ func (c *OrderManager) ExportOrders(ctx *jxcontext.Context, fromDateStr, toDateS
|
||||
}, ",")
|
||||
if order == nil || v.ID != order.ID {
|
||||
order = v
|
||||
v.CourierVendorName = model.VendorChineseNames[v.WaybillVendorID]
|
||||
v.Status2 = model.OrderStatusName[v.Status]
|
||||
v.SkuInfo = skuStr
|
||||
orders2 = append(orders2, v)
|
||||
@@ -453,6 +454,7 @@ func (c *OrderManager) ExportOrders(ctx *jxcontext.Context, fromDateStr, toDateS
|
||||
"waybillVendorID",
|
||||
"orderCreatedAt",
|
||||
"orderFinishedAt",
|
||||
"courierVendorName",
|
||||
"courierName",
|
||||
"courierMobile",
|
||||
"courierMobile",
|
||||
|
||||
@@ -16,6 +16,7 @@ type GoodsOrderExt struct {
|
||||
CourierName string `orm:"size(32)" json:"courierName"`
|
||||
CourierMobile string `orm:"size(32)" json:"courierMobile"`
|
||||
CurrentConsigneeMobile string `orm:"-" json:"currentConsigneeMobile"`
|
||||
CourierVendorName string `json:"courierVendorName"`
|
||||
|
||||
Status2 string `json:"status2"`
|
||||
ActualFee int64 `json:"actualFee"` // 实际要支付给快递公司的费用
|
||||
|
||||
Reference in New Issue
Block a user