采购记录详情
<p><strong>简要描述:</strong> </p>
<ul>
<li>采购记录订单详情接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/dms/sales-order-app/buy-list-detail</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": {
"list": {
"id": "83638",
"order_sn": "SO20022600083638",
"buy_customer_id": "60786",
"buy_customer_name": "iOS返回客户列表",
"customer_area_id": "1413",
"kind": "1",
"final_count": 1,
"final_total_amount": "15.00",
"distribution_method": "0",
"pay_status": "2",
"pay_time": "1582766770",
"sales_remark": "",
"status": "3",
"created_at": "1582721773",
"created_atTime": "2020-02-26 20:56:13",
"parts_info": [
{
"id": "227517",
"parts_name": "冷媒",
"parts_code": "134A210G-KTK",
"parts_factory_code": "134A210G-KTK",
"parts_specifications": "",
"minimum_package_count": "30.00",
"parts_category_name": "冷媒",
"parts_unit_name": "罐",
"parts_brand_name": "卡泰克",
"final_count": "1.00",
"sales_price": "15.00",
"parts_top": "冷媒|罐",
"parts_bottom": "134A210G-KTK|134A210G-KTK|卡泰克"
}
]
},
"count": {
"total": "1"
}
}
}</code></pre>
<p><strong>type 1 请求返回参数说明</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;">kind</td>
<td style="text-align: left;">string</td>
<td>商品种类</td>
</tr>
<tr>
<td style="text-align: left;">final_count</td>
<td style="text-align: left;">string</td>
<td>销售单总数量</td>
</tr>
<tr>
<td style="text-align: left;">final_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;">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;">sales_price</td>
<td style="text-align: left;">string</td>
<td>销售价格</td>
</tr>
<tr>
<td style="text-align: left;">final_count</td>
<td style="text-align: left;">string</td>
<td>数量</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>