作者 唐旭辉

bug 修复 :编号5

@@ -144,12 +144,14 @@ func (c *OrderDividendController) OrderDividendDetail() { @@ -144,12 +144,14 @@ func (c *OrderDividendController) OrderDividendDetail() {
144 allGoods = append(allGoods, m) 144 allGoods = append(allGoods, m)
145 } 145 }
146 orderData := map[string]interface{}{ 146 orderData := map[string]interface{}{
147 - "buyer": orderinfo.Buyer.BuyerName,  
148 - "shipmentsId": orderinfo.DeliveryCode,  
149 - "orderDist": orderinfo.RegionInfo.RegionName,  
150 - "partner": orderinfo.PartnerInfo.PartnerName,  
151 - "id": orderinfo.Id,  
152 - "orderId": orderinfo.OrderCode, 147 + "buyer": orderinfo.Buyer.BuyerName,
  148 + "shipmentsId": orderinfo.DeliveryCode,
  149 + "orderDist": orderinfo.RegionInfo.RegionName,
  150 + "partner": orderinfo.PartnerInfo.PartnerName,
  151 + "id": orderinfo.Id,
  152 + "orderId": orderinfo.OrderCode,
  153 + "partnerCategoryId": orderinfo.PartnerCategory.Id,
  154 + "partnerCategoryName": orderinfo.PartnerCategory.Name,
153 } 155 }
154 dividendCount := map[string]interface{}{ 156 dividendCount := map[string]interface{}{
155 "orderNum": orderinfo.OrderCompute.PlanOrderCount, 157 "orderNum": orderinfo.OrderCompute.PlanOrderCount,