配件清单列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>配件清单列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/dms/sales-order-app/order-parts-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;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>订单ID</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"id": "85390",
"order_sn": "SO20060900085390",
"buy_customer_id": "61023",
"buy_customer_name": "ios宁开新总店2全",
"count": 2,
"total_amount": "22.00",
"partsList": [
{
"id": "231121",
"parts_id": "6432",
"parts_name": "普通型",
"parts_code": "P21/5W 12V 21W BAY15D",
"parts_factory_code": "12499",
"parts_specifications": "",
"minimum_package_count": 10,
"parts_adaptable_vehicle": "通用",
"parts_unit_id": "1",
"parts_unit_name": "只",
"parts_category_id": "175",
"parts_category_name": "普通卤素灯",
"parts_brand_id": "118",
"parts_brand_name": "飞利浦",
"sales_price": "2.00",
"tax_rate": "13.00",
"sales_price_no": "1.76",
"sales_count": 1,
"allot_count": 0,
"final_count": 0,
"sales_price_sum": "2.00",
"final_price_sum": "0.00",
"sales_price_sum_no": "1.76",
"remark": "",
"range_price": "2.00",
"range_price_no": "1.76",
"last_sales_price": 0,
"stock_count": 1251,
"share_count": 67318,
"warehouse_inventory": "591.00",
"store_inventory": "1252.00",
"fen_inventory": "1252.00",
"shared_inventory": "67318.00",
"total_inventory": "56975.00",
"repalce_num": 0,
"parts_top": "飞利浦|普通型|只",
"parts_bottom": "P21/5W 12V 21W BAY15D|12499"
}
]
}
}</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;">buy_customer_name</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>
</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;">picurl</td>
<td style="text-align: left;">string</td>
<td>图片链接地址</td>
</tr>
<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;">parts_bottom</td>
<td style="text-align: left;">string</td>
<td>头部第二行商品名称</td>
</tr>
<tr>
<td style="text-align: left;">store_count</td>
<td style="text-align: left;">int</td>
<td>门店库存</td>
</tr>
<tr>
<td style="text-align: left;">last_sales_price</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;">int</td>
<td>销售数量</td>
</tr>
<tr>
<td style="text-align: left;">sales_price</td>
<td style="text-align: left;">string</td>
<td>销售价格</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>