(分享)订单详情接口
<p><strong>简要描述:</strong> </p>
<ul>
<li>(分享)订单详情列表接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/dms/sales-order-app/order-view</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </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全",
"contact_number": "16666123456",
"buy_short_name": "ios宁开新总店2",
"customer_area_id": "1425",
"customer_area_idTxt": "gyn-市内23区",
"sales_id": "3",
"sales_name": "李辉",
"sales_mobile": "18953118600",
"sales_remark": "",
"kind": "2",
"final_kind": "0",
"count": 2,
"final_count": 0,
"total_amount": "22.00",
"total_amount_no": "19.45",
"final_total_amount": "0.00",
"pay_status": "1",
"pay_statusTxt": "未支付",
"pay_time": "-",
"distribution_method": "0",
"distribution_methodTxt": "-",
"logistics_id": "0",
"logistics_name": "",
"distribution_timeliness": "0",
"distribution_timelinessTxt": "-",
"logistics_order_sn": "",
"logistics_pay_type": "1",
"logistics_pay_typeTxt": "到付",
"freight": "0.00",
"logistics_remark": "",
"address_id": "0",
"consignee_name": "",
"consignee_mobile": "",
"consignee_address": "",
"status": "0",
"statusTxt": "待确认",
"created_at": "2020-06-09",
"created_atTime": "2020-06-09 16:27:42",
"warehouse_id": "21",
"warehouse_name": "经十东路仓",
"partsList": [
{
"id": "231118",
"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;">statusTxt</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;">string</td>
<td>客户名称</td>
</tr>
<tr>
<td style="text-align: left;">contact_number</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;">count</td>
<td style="text-align: left;">int</td>
<td>订单下单数量</td>
</tr>
<tr>
<td style="text-align: left;">kind</td>
<td style="text-align: left;">int</td>
<td>订单下单种类</td>
</tr>
<tr>
<td style="text-align: left;">final_total_amount</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;">int</td>
<td>订单发货数量</td>
</tr>
<tr>
<td style="text-align: left;">final_kind</td>
<td style="text-align: left;">int</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;">created_atTime</td>
<td style="text-align: left;">string</td>
<td>下单时间</td>
</tr>
<tr>
<td style="text-align: left;">sales_name</td>
<td style="text-align: left;">string</td>
<td>业务员</td>
</tr>
<tr>
<td style="text-align: left;">warehouse_name</td>
<td style="text-align: left;">string</td>
<td>仓库</td>
</tr>
<tr>
<td style="text-align: left;">consignee_name</td>
<td style="text-align: left;">string</td>
<td>收货人</td>
</tr>
<tr>
<td style="text-align: left;">consignee_mobile</td>
<td style="text-align: left;">int</td>
<td>收货电话</td>
</tr>
<tr>
<td style="text-align: left;">consignee_address</td>
<td style="text-align: left;">string</td>
<td>收货地址</td>
</tr>
<tr>
<td style="text-align: left;">logistics_remark</td>
<td style="text-align: left;">string</td>
<td>配送备注</td>
</tr>
<tr>
<td style="text-align: left;">sales_remark</td>
<td style="text-align: left;">string</td>
<td>销售备注</td>
</tr>
<tr>
<td style="text-align: left;">shop_mobile</td>
<td style="text-align: left;">string</td>
<td>门店电话</td>
</tr>
<tr>
<td style="text-align: left;">shop_name</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;">sales_price_sum</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;">final_count</td>
<td style="text-align: left;">int</td>
<td>发货数量</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>