销售预订单列表接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>销售预订单列表接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com//app/shop-order/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;">buy_org_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>门店id</td>
</tr>
<tr>
<td style="text-align: left;">supplier_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>供应商id</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>页数,第几页</td>
</tr>
<tr>
<td style="text-align: left;">count</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>条数,每页条数</td>
</tr>
<tr>
<td style="text-align: left;">ownMark</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>显示我创建订单标识 ownMark=1</td>
</tr>
<tr>
<td style="text-align: left;">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;">stime</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>开始时间:2024-06-12</td>
</tr>
<tr>
<td style="text-align: left;">etime</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>结束时间:2024-06-12</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);已确认(3);已取消(4)</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;total&quot;: &quot;7&quot;,//总条数
&quot;list&quot;: [
{
&quot;id&quot;: &quot;376&quot;,//销售预订单id
&quot;order_sn&quot;: &quot;SQ24061100000376&quot;,//销售预订单单号
&quot;purchase_order_sn&quot;: &quot;PO24061100000374&quot;,//采购申请单号
&quot;buy_customer_id&quot;: &quot;239885&quot;,
&quot;buy_customer_name&quot;: &quot;佳链V5演示客户239885&quot;,//客户名称
&quot;count&quot;: 30,//申请数量
&quot;conform_count&quot;: 0,//执行数量
&quot;final_count&quot;: 0,//实际出库数量
&quot;total_amount_original&quot;: &quot;255.37&quot;,//订单原金额
&quot;total_amount&quot;: &quot;195.38&quot;,//订单实付金额
&quot;rebate_amount&quot;: &quot;59.99&quot;,//返利费用
&quot;status&quot;: &quot;0&quot;,
&quot;pay_status&quot;: &quot;0&quot;,
&quot;pay_type&quot;: &quot;1&quot;,//支付方式 1在线支付 2银行转账
&quot;created_at&quot;: &quot;2024-06-11 17:58&quot;,//制单时间
&quot;operation_name&quot;: &quot;何丽兰&quot;,//制单人
&quot;supply_org_name&quot;: &quot;供应链集团&quot;,//客户对应的门店名称
&quot;pay_statusTxt&quot;: &quot;未预收&quot;,//预收状态:未预收(0);预收中(1);已预收(2);部分预收(3)
&quot;pay_typeTxt&quot;: &quot;在线支付&quot;,
&quot;statusTxt&quot;: &quot;待确认&quot;//订单状态:待确认(0,1);部分确认(2);已确认(3);已取消(4)
&quot;showMore&quot;: 1,//显示更多商品标识,目前只取订单中的近20条商品信息
&quot;partsList&quot;: [
{
&quot;id&quot;: &quot;766&quot;,
&quot;is_gift&quot;: &quot;2&quot;,//是否赠品 1是 2否
&quot;parts_id&quot;: &quot;13512&quot;,
&quot;parts_name&quot;: &quot;铂金火花塞&quot;,
&quot;parts_code&quot;: &quot;94833&quot;,
&quot;parts_factory_code&quot;: &quot;PLFER7A8EG&quot;,
&quot;packing_instruction&quot;: &quot;1*4&quot;,//包装规格
&quot;minimum_package_count&quot;: &quot;4.00&quot;,
&quot;parts_unit_name&quot;: &quot;只&quot;,
&quot;parts_category_id&quot;: &quot;263&quot;,
&quot;parts_category_name&quot;: &quot;白金系列&quot;,
&quot;parts_brand_id&quot;: &quot;37&quot;,
&quot;parts_brand_name&quot;: &quot;NGK&quot;,
&quot;factory_price&quot;: &quot;7.96&quot;,
&quot;factory_discount&quot;: 78,
&quot;sales_price&quot;: &quot;6.21&quot;,
&quot;sales_count&quot;: 5,//商品数量
&quot;order_discount&quot;: &quot;83.4139&quot;,
&quot;rebate_price&quot;: &quot;1.0300&quot;,
&quot;discount_rate&quot;: 100,
&quot;sales_price_discount_zq&quot;: &quot;6.21&quot;,
&quot;sales_price_discount&quot;: &quot;5.18&quot;,//商品单价
&quot;sales_price_sum_original&quot;: &quot;31.05&quot;,
&quot;sales_price_sum&quot;: &quot;25.90&quot;,//商品金额
&quot;remark&quot;: &quot;&quot;,
&quot;showName&quot;: &quot;NGK 铂金火花塞 94833&quot;,//商品显示名称
&quot;imgs&quot;: &quot;http://api.betterchain.com.cn:9099/upload/brand/2020/08/190230172122.png&quot;//商品图片
}
]
},
{
&quot;id&quot;: &quot;375&quot;,
&quot;order_sn&quot;: &quot;SQ24061100000375&quot;,
&quot;purchase_order_sn&quot;: &quot;PO24061100000373&quot;,
&quot;buy_customer_id&quot;: &quot;239885&quot;,
&quot;buy_customer_name&quot;: &quot;佳链V5演示客户239885&quot;,
&quot;count&quot;: 35,
&quot;conform_count&quot;: 0,
&quot;final_count&quot;: 0,
&quot;total_amount_original&quot;: &quot;301.57&quot;,
&quot;total_amount&quot;: &quot;228.26&quot;,
&quot;rebate_amount&quot;: &quot;73.31&quot;,
&quot;status&quot;: &quot;0&quot;,
&quot;pay_status&quot;: &quot;0&quot;,
&quot;created_at&quot;: &quot;2024-06-11 17:58&quot;,
&quot;operation_name&quot;: &quot;何丽兰&quot;,
&quot;supply_org_name&quot;: &quot;供应链集团&quot;,
&quot;pay_statusTxt&quot;: &quot;未预收&quot;,
&quot;statusTxt&quot;: &quot;待确认&quot;
}
]
}
}</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>