详情
<h5>简要描述</h5>
<ul>
<li>详情</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/crm/distributor/view</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>参数</h5>
<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;">string</td>
<td>订单id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"base": {
"id": "43",
"org_id": "144",
"task_sn": "WT19100200000043",
"logistics_order_sn": "",
"warehouse_name": "章丘店",
"warehouse_address": "山东省济南市章丘市章丘区绣水东路环卫局北邻华宇汽修厂院内东侧",
"consignee_name": "郑伟明",
"consignee_mobile": "13806417591",
"consignee_address": "",
"distribution_method": "0",
"distribution_timeliness": "0",
"remark": "",
"freight": "0.0000",
"shipping_freight": null,
"crm_delivery_id": "0",
"crm_delivery_state": "0",
"crm_delivery_at": null,
"crm_started_at": null,
"crm_finished_at": null,
"stock_time": "1570002119",
"created_at": "1570002119",
"distrib_sn": "DO19100200000043"
},
"details": [
{
"stock_order_sn": "WO19100200000043",
"parts_id": "2782",
"parts_name": "空气滤清器",
"parts_code": "NA-7388",
"parts_factory_code": "NA-7388",
"parts_specifications": "",
"parts_unit": "2",
"parts_brand_name": "耐诺思",
"parts_category_name": "空气滤清器",
"parts_final_count": "10.00",
"unit_name": "副"
},
{
"stock_order_sn": "WO19100200000043",
"parts_id": "28",
"parts_name": "免维护蓄电池",
"parts_code": "46B24LS",
"parts_factory_code": "46B24LSMF",
"parts_specifications": "",
"parts_unit": "1",
"parts_brand_name": "沃宝",
"parts_category_name": "免维护蓄电池",
"parts_final_count": "2.00",
"unit_name": "只"
}
]
}
}</code></pre>
<h5>返回参数说明-详情</h5>
<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;">org_id</td>
<td style="text-align: left;">string</td>
<td>--</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">string</td>
<td>订单id</td>
</tr>
<tr>
<td style="text-align: left;">task_sn</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;">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;">string</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;">distribution_method</td>
<td style="text-align: left;">string</td>
<td>自主班车 固定</td>
</tr>
<tr>
<td style="text-align: left;">distribution_timeliness</td>
<td style="text-align: left;">string</td>
<td>时效</td>
</tr>
<tr>
<td style="text-align: left;">crm_delivery_id</td>
<td style="text-align: left;">string</td>
<td>配送员id</td>
</tr>
<tr>
<td style="text-align: left;">crm_delivery_state</td>
<td style="text-align: left;">string</td>
<td>状态 1完成,2配送中,3接单</td>
</tr>
<tr>
<td style="text-align: left;">crm_started_at</td>
<td style="text-align: left;">string</td>
<td>接单时间</td>
</tr>
<tr>
<td style="text-align: left;">crm_delivery_at</td>
<td style="text-align: left;">string</td>
<td>配送时间</td>
</tr>
<tr>
<td style="text-align: left;">crm_finished_at</td>
<td style="text-align: left;">string</td>
<td>送达时间</td>
</tr>
<tr>
<td style="text-align: left;">created_at</td>
<td style="text-align: left;">string</td>
<td>下单时间</td>
</tr>
<tr>
<td style="text-align: left;">remark</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;">shipping_freight</td>
<td style="text-align: left;">string</td>
<td>承运运费</td>
</tr>
</tbody>
</table>
<h5>返回参数说明-详情</h5>
<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_id</td>
<td style="text-align: left;">string</td>
<td>配件id</td>
</tr>
<tr>
<td style="text-align: left;">parts_name</td>
<td style="text-align: left;">string</td>
<td>商品名称</td>
</tr>
<tr>
<td style="text-align: left;">parts_code</td>
<td style="text-align: left;">string</td>
<td>商品编码</td>
</tr>
<tr>
<td style="text-align: left;">parts_factory_code</td>
<td style="text-align: left;">string</td>
<td>出厂编码</td>
</tr>
<tr>
<td style="text-align: left;">parts_specifications</td>
<td style="text-align: left;">string</td>
<td>规格型号</td>
</tr>
<tr>
<td style="text-align: left;">parts_unit</td>
<td style="text-align: left;">string</td>
<td>商品单位</td>
</tr>
<tr>
<td style="text-align: left;">parts_brand_name</td>
<td style="text-align: left;">string</td>
<td>品牌</td>
</tr>
<tr>
<td style="text-align: left;">parts_category_name</td>
<td style="text-align: left;">string</td>
<td>分类名称</td>
</tr>
<tr>
<td style="text-align: left;">parts_final_count</td>
<td style="text-align: left;">string</td>
<td>数量</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>