订单列表
<h5>简要描述</h5>
<ul>
<li>list</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>dms/parts-promotion/promotion-order-list</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;">promotion_order_sn</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>单号</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>0待提交,1已提交2已取消</td>
</tr>
<tr>
<td style="text-align: left;">app_kw</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>单号、促销标题</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"count": {
"total": 10
},
"list": [
{
"id": "32",//订单id
"promotion_order_sn": "MDCX-20081200000040-4",//单号
"buy_org_id": "33",
"buy_type": "1",
"order_type": "1",
"order_id": "4396",
"order_sn": "PO20081200004396",//关联采购单号
"order_status": "1",//采购单状态
"parts_promotion_id": "40",
"name": "测试0812",
"code": "MDCX-20081200000040",//促销编号
"promotion_rules_one": "2",
"promotion_rules_two": "2",
"promotion_remark": "",
"kind": "5",//商品种类
"sales_count_total": 5,//总数量
"total_amount_original": "27.00",//原总金额
"total_amount": "27.00",//现总金额
"warehouse_id": "267",
"warehouse_name": "张庄一店",
"status": "1",
"created_at": "2020-08-12 18:29:01",//创建时间
"title": "测试0812促销标题",//活动标题
"buy_org_idTxt": "张庄-济南老屯汽配城店",
"buy_typeTxt": "门店",
"oneTxt": "满额",//促销规则1
"twoTxt": "赠送",//促销规则2
"statusTxt": "已提交",
"order_statusTxt": "待审核",//采购单状态
"detail": [//明细
{
"id": "99",
"parts_name": "空气滤清器",商品名称
"sales_count": "1.00",数量
"is_gift": "2",//是否赠品 1 是 2否
"parts_unit_name": "支",//单位
"parts_brand_name": "津夏"//品牌
},
{
"id": "100",
"parts_name": "青茗2",
"sales_count": "1.00",
"is_gift": "2",
"parts_unit_name": "只",
"parts_brand_name": "米其林"
}
]
}
]
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>