销售退货单列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>销售退货单列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/dms/sales-order-app/order-return-list</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<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_customer_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;">query</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;">int</td>
<td>订单状态: 0待确认 1待审核 2待入库 3已入库 4已完成 5已关闭 6已拒绝</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>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"list": [
{
"id": "12038",
"order_sn": "SR20052000012038",
"buy_org_id": "61023",
"buy_org_name": "ios宁开新总店2全",
"kind": "1",
"count": 1,
"final_count": "0.00",
"total_amount": "11.00",
"status": "1",
"is_receipt": "1",
"created_at": "2020-05-20",
"buy_short_name": "ios宁开新总店2",
"statusTxt": "待审核",
"created_atTime": "2020-05-20 15:08:27",
"parts_info": [
{
"id": "23299",
"parts_name": "黄盒火花塞",
"parts_code": "BKR6E-11",
"parts_factory_code": "2756",
"parts_specifications": "",
"minimum_package_count": "1.00",
"parts_category_name": "普通系列",
"parts_unit_name": "只",
"parts_brand_name": "NGK",
"return_count": "1.00",
"return_price": "11.00",
"parts_top": "NGK|黄盒火花塞|只",
"parts_bottom": "BKR6E-11|2756"
}
],
"is_blue": 1,
"is_receipt_name": "有小票"
},
{
"id": "12036",
"order_sn": "SR20052000012036",
"buy_org_id": "61023",
"buy_org_name": "ios宁开新总店2全",
"kind": "1",
"count": 1,
"final_count": "0.00",
"total_amount": "11.00",
"status": "5",
"is_receipt": "1",
"created_at": "2020-05-20",
"buy_short_name": "ios宁开新总店2",
"statusTxt": "已关闭",
"created_atTime": "2020-05-20 15:07:10",
"parts_info": [
{
"id": "23297",
"parts_name": "黄盒火花塞",
"parts_code": "BKR6E-11",
"parts_factory_code": "2756",
"parts_specifications": "",
"minimum_package_count": "1.00",
"parts_category_name": "普通系列",
"parts_unit_name": "只",
"parts_brand_name": "NGK",
"return_count": "1.00",
"return_price": "11.00",
"parts_top": "NGK|黄盒火花塞|只",
"parts_bottom": "BKR6E-11|2756"
}
],
"is_blue": 1,
"is_receipt_name": "有小票"
}
],
"count": {
"total": 0
}
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<p><strong>---订单基本信息---</strong></p>
<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;">created_atTime</td>
<td style="text-align: left;">string</td>
<td>销售下单时间</td>
</tr>
<tr>
<td style="text-align: left;">order_sn</td>
<td style="text-align: left;">string</td>
<td>销售单号</td>
</tr>
<tr>
<td style="text-align: left;">count</td>
<td style="text-align: left;">int</td>
<td>销售单总数量</td>
</tr>
<tr>
<td style="text-align: left;">total_amount</td>
<td style="text-align: left;">string</td>
<td>销售总金额</td>
</tr>
<tr>
<td style="text-align: left;">buy_customer_name</td>
<td style="text-align: left;">int</td>
<td>客户名称</td>
</tr>
<tr>
<td style="text-align: left;">statusTxt</td>
<td style="text-align: left;">string</td>
<td>状态</td>
</tr>
<tr>
<td style="text-align: left;">is_receipt_name</td>
<td style="text-align: left;">string</td>
<td>有无小票</td>
</tr>
<tr>
<td style="text-align: left;">is_blue</td>
<td style="text-align: left;">int</td>
<td>1 黄色底部 2正常</td>
</tr>
</tbody>
</table>
<p><strong>---配件信息---</strong></p>
<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;">parts_top</td>
<td style="text-align: left;">string</td>
<td>商品名称</td>
</tr>
<tr>
<td style="text-align: left;">sales_count</td>
<td style="text-align: left;">string</td>
<td>数量</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>