1
This commit is contained in:
@@ -63,7 +63,7 @@ type SkuListPrintOrder struct {
|
||||
}
|
||||
|
||||
// ManagerOrderPrint 京西云参数组装(订单参数)
|
||||
func ManagerOrderPrint(order *model.GoodsOrder, storeTel string, storeDetail *dao.StoreDetail) map[string]string {
|
||||
func ManagerOrderPrint(order *model.GoodsOrder, storeTel string, storeDetail *dao.StoreDetail, printType string, afsOrder *model.AfsOrder) map[string]string {
|
||||
printOrder := make(map[string]string, 0)
|
||||
skuList := make([]*SkuListPrintOrder, 0, 0)
|
||||
// 获取品牌名称
|
||||
@@ -122,6 +122,12 @@ func ManagerOrderPrint(order *model.GoodsOrder, storeTel string, storeDetail *da
|
||||
printOrder[RiderName] = bill.CourierName
|
||||
printOrder[RiderPhone] = bill.CourierMobile
|
||||
}
|
||||
if printType == "afs" {
|
||||
printOrder[AfsOrderStatus] = utils.Int2Str(afsOrder.Status)
|
||||
printOrder[RejectionReason] = afsOrder.VendorReasonType
|
||||
printOrder[AfsOrderStatus] = utils.Int2Str(afsOrder.Status)
|
||||
printOrder[CustcareRefundReason] = afsOrder.ReasonDesc
|
||||
}
|
||||
return printOrder
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user