单详情(接口 共用 配送各状态)
<p><strong>简要描述:</strong> </p>
<ul>
<li>详情接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/delivery/sales-order/delivery-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": {
"parts_list": [
{
"id": "235425",
"parts_id": "2840",
"parts_name": "空气滤清器",
"parts_code": "NA-G41110U",
"parts_factory_code": "NA-G41110U",
"parts_specifications": "",
"minimum_package_count": 1,
"parts_adaptable_vehicle": "奥迪(进口)TT 2.0TFSI(06-)(8J) 奥迪(进口)A3 2.0TFSI(04-)(8P) 大众(进口) 尚酷2.0TFSI(06-)(1F) 帕萨特2.0TFSI(09-)(3C) CC 2.0TFSI(09-)(357) 高尔夫V 2.0GTI(04-)(1K)",
"parts_unit_id": "2",
"parts_unit_name": "个",
"parts_category_id": "197",
"parts_category_name": "空气滤清器",
"parts_brand_id": "204",
"parts_brand_name": "耐诺思",
"sales_price": "0.01",
"tax_rate": "13.00",
"sales_price_no": "0.0088",
"sales_count": 1,
"allot_count": 0,
"final_count": 1,
"sales_price_sum": "0.01",
"final_price_sum": "0.01",
"sales_price_sum_no": "0.0088",
"remark": "",
"range_price": 0,
"range_price_no": "0.00",
"last_sales_price": 0,
"stock_count": 1009,
"share_count": 135,
"warehouse_inventory": "997.00",
"store_inventory": "1009.00",
"fen_inventory": "0",
"shared_inventory": "135.00",
"total_inventory": "1009.00",
"repalce_num": "2",
"parts_top": "耐诺思|空气滤清器|个",
"parts_bottom": "NA-G41110U|NA-G41110U"
}
],
"order_list": {
"id": "87835",
"order_sn": "SO20092300087835",
"buy_customer_id": "62747",
"buy_customer_name": "试试定位",
"contact_number": "15616649997",
"buy_short_name": "试试定位",
"customer_area_id": "1333",
"customer_area_idTxt": "天津分公司",
"sales_id": "781",
"sales_name": "演示专用001",
"sales_mobile": "13811123456",
"sales_remark": "",
"kind": "1",
"final_kind": "1",
"count": 1,
"final_count": 1,
"total_amount": "0.01",
"total_amount_no": "0.0088",
"final_total_amount": "0.01",
"pay_status": "2",
"pay_statusTxt": "已支付",
"pay_time": "2020-09-23 16:33:02",
"distribution_method": "4",
"distribution_methodTxt": "客户自提",
"logistics_id": "12",
"logistics_name": "张",
"distribution_timeliness": "2",
"distribution_timelinessTxt": "T+0",
"logistics_order_sn": "",
"logistics_pay_type": "2",
"logistics_pay_typeTxt": "发货方垫付",
"freight": "23.00",
"logistics_remark": "dffdfdfdfdfdf",
"address_id": "0",
"consignee_name": "rrr",
"consignee_mobile": "132356666666",
"consignee_address": "2323232323233232323323",
"status": "3",
"statusTxt": "已发货",
"created_at": "2020-09-23",
"created_atTime": "2020-09-23 16:33:02",
"areaOne": [],
"creditOne": [],
"addressOne": [],
"salesOne": [],
"methodArr": [],
"warehouse_id": "308",
"warehouse_name": "中驰连锁仓库"
},
"task_list": {
"id": "26",
"order_sn": "SO20092300087835-1",
"clearing_method": "1",
"sales_order_id": "87835",
"sales_order_sn": "SO20092300087835",
"supply_org_id": "1",
"supplier_name": "测试优配车联",
"buy_type": "2",
"buy_customer_id": "62747",
"buy_customer_name": "试",
"buy_customer_short_name": "试试定位",
"kind": "1",
"final_kind": "1",
"count": 1,
"final_count": 1,
"sign_kind": "0",
"sign_count": 0,
"sign_total_amount": "0.00",
"total_amount": "0.01",
"total_amount_no": "0.0088",
"final_total_amount": "0.01",
"pay_status": "2",
"pay_time": "2020-09-23 16:33:02",
"distribution_method": "4",
"consignee_name": "rrr",
"consignee_mobile": "132356666666",
"consignee_address": "2323232323233232323323",
"created_id": "1",
"created_at": "2020-09-23 16:42:19",
"distribution_timeliness": "2",
"flight": "",
"logistics_order_sn": "",
"logistics_user_name": "王宁",
"logistics_id": "12",
"logistics_name": "张",
"logistics_pay_type": "2",
"customer_area_id": "1333",
"send_order_name": "管理员",
"send_order_time": "2020-09-24 16:02:43",
"delivery_time": "-",
"scheduling_time": "-",
"sign_time": "-",
"sign_status": "0",
"check_money": "-",
"check_money_status": "1",
"check_count": "-",
"check_count_status": "1",
"hang_amount": "0.00",
"cash_amount": "0.00",
"status": "2",
"delivery_days": "0",
"account_days": "0",
"task_status": "0",
"created_name": "管理员",
"area_name": "天津分公司",
"clearing_methodTxt": "付款出库",
"distribution_methodTxt": "客户自提",
"distribution_timelinessTxt": "T+0",
"statusTxt": "待派送",
"sign_statusTxt": "-",
"check_money_statusTxt": "待交账",
"check_count_statusTxt": "待核货",
"is_exceed": "否"
}
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<p><strong>----订单信息展示 order-list----</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;">send_order_sn</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;">sales_name</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;">sign_time_txt</td>
<td style="text-align: left;">string</td>
<td>送达时间 取值 task_list 的 sign_time_txt</td>
</tr>
<tr>
<td style="text-align: left;">supply_org_name</td>
<td style="text-align: left;">string</td>
<td>发货方</td>
</tr>
<tr>
<td style="text-align: left;">send_warehouse_name</td>
<td style="text-align: left;">string</td>
<td>发货仓库</td>
</tr>
<tr>
<td style="text-align: left;">warehouse_address</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;">sales_remark</td>
<td style="text-align: left;">string</td>
<td>销售备注</td>
</tr>
</tbody>
</table>
<p><strong>---配件信息展示 parts-list---</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;">parts_unit_name</td>
<td style="text-align: left;">string</td>
<td>单位名称</td>
</tr>
<tr>
<td style="text-align: left;">buy_count</td>
<td style="text-align: left;">int</td>
<td>采购数量</td>
</tr>
<tr>
<td style="text-align: left;">stock_order_sn</td>
<td style="text-align: left;">string</td>
<td>出库单</td>
</tr>
<tr>
<td style="text-align: left;">is_gift</td>
<td style="text-align: left;">int</td>
<td>1 赠品 2正常</td>
</tr>
</tbody>
</table>
<p><strong>---配送详情 task_list---</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;">send_order_time</td>
<td style="text-align: left;">string</td>
<td>派单日期</td>
</tr>
<tr>
<td style="text-align: left;">delivery_time</td>
<td style="text-align: left;">string</td>
<td>配送日期</td>
</tr>
<tr>
<td style="text-align: left;">sign_time</td>
<td style="text-align: left;">string</td>
<td>送达日期</td>
</tr>
<tr>
<td style="text-align: left;">distribution_methodTxt</td>
<td style="text-align: left;">string</td>
<td>配送方式</td>
</tr>
<tr>
<td style="text-align: left;">logistics_name</td>
<td style="text-align: left;">string</td>
<td>承运人</td>
</tr>
<tr>
<td style="text-align: left;">logistics_user_name</td>
<td style="text-align: left;">string</td>
<td>配送员</td>
</tr>
<tr>
<td style="text-align: left;">distribution_timelinessTxt</td>
<td style="text-align: left;">int</td>
<td>配送时效</td>
</tr>
<tr>
<td style="text-align: left;">flight</td>
<td style="text-align: left;">int</td>
<td>班次</td>
</tr>
<tr>
<td style="text-align: left;">logistics_order_sn</td>
<td style="text-align: left;">string</td>
<td>托运单号</td>
</tr>
<tr>
<td style="text-align: left;">freight</td>
<td style="text-align: left;">string</td>
<td>物流运费</td>
</tr>
<tr>
<td style="text-align: left;">logistics_pay_name</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>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>