活动订单详情
<h5>简要描述</h5>
<ul>
<li>view</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>app/sales-order-app/promotion-order-view</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">order_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>订单id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"id": 11,
"status": 0,
"statusTxt": "待提交",//订单状态
"name": "满额打折",//促销名称
"create_time": "2020-08-08 19:49:46",//创建时间
"order_id": 0,//关联单号id
"order_sn": "",//关联单号
"order_status":"",
"order_statusTxt":"",//关联单号状态
"warehouse_name": "",//收货仓库
"title": "满额打折测试",//促销标题
"code": "MDCX-20080800000014",//促销编码
"kind": 4,//种类
"sales_count_total": 30,//数量
"total_amount_original": "545.00",//原金额
"total_amount": "490.50",//总金额
"promotion_order_sn": "MDCX-20080800000014-1",//订单号
"oneTxt": "满额",//规则1
"twoTxt": "打折",//规则2
"timeTxt": "进行中",
"distanceTxt": "距离结束还有24天",
"giftlist": [//赠品列表
{
"id": "27",
"parts_promotion_parts_group_id": "19",
"parts_id": "39401",
"is_gift": "1",
"parts_name": "摩托车机油",//商品
"parts_code": "7100 4T 10W40 1L",//规格型号
"parts_factory_code": "105540",//出厂编码
"parts_unit_name": "桶",//单位
"parts_category_name": "油品",//分类
"parts_brand_name": "摩特",//品牌
"sales_price_original": "12.00",//原价
"sales_price": "10.80",//现价
"sales_count": "10.00",//数量
"discount_rate": "90.00",//折扣
"sales_price_sum": "108.00"
}
],
"detaillist": [
{
"id": 19,商品组id
"name": "机油组001",商品组名称
"detail": [
{
"id": "27",
"parts_promotion_parts_group_id": "19",
"parts_id": "39401",
"is_gift": "2",
"parts_name": "摩托车机油",//商品
"parts_code": "7100 4T 10W40 1L",//规格型号
"parts_factory_code": "105540",//出厂编码
"parts_unit_name": "桶",//单位
"parts_category_name": "油品",//分类
"parts_brand_name": "摩特",//品牌
"sales_price_original": "12.00",//原价
"sales_price": "10.80",//现价
"sales_count": "10.00",//数量
"discount_rate": "90.00",//折扣
"sales_price_sum": "108.00"
},
{
"id": "28",
"parts_promotion_parts_group_id": "19",
"parts_id": "39400",
"is_gift": "2",
"parts_name": "摩托车机油",
"parts_code": "5100 4T 15W50 1L",
"parts_factory_code": "105539",
"parts_unit_name": "桶",
"parts_category_name": "油品",
"parts_brand_name": "摩特",
"sales_price_original": "10.00",
"sales_price": "9.00",
"sales_count": "10.00",
"discount_rate": "90.00",
"sales_price_sum": "90.00"
}
]
},
{
"id": 20,
"name": "水泵组002",
"detail": [
{
"id": "29",
"parts_promotion_parts_group_id": "20",
"parts_id": "34193",
"is_gift": "2",
"parts_name": "水泵J",
"parts_code": "GWP5003P",
"parts_factory_code": "7818-5003P",
"parts_unit_name": "个",
"parts_category_name": "水泵",
"parts_brand_name": "盖茨",
"sales_price_original": "32.50",
"sales_price": "29.25",
"sales_count": "5.00",
"discount_rate": "90.00",
"sales_price_sum": "146.25"
},
{
"id": "30",
"parts_promotion_parts_group_id": "20",
"parts_id": "34192",
"is_gift": "2",
"parts_name": "水泵J",
"parts_code": "GWP8168P",
"parts_factory_code": "7818-8168P",
"parts_unit_name": "个",
"parts_category_name": "水泵",
"parts_brand_name": "盖茨",
"sales_price_original": "32.50",
"sales_price": "29.25",
"sales_count": "5.00",
"discount_rate": "90.00",
"sales_price_sum": "146.25"
}
]
}
]
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>备注</h5>