在仓检测列表
<h5>简要描述</h5>
<ul>
<li>在仓检测列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/crm/claim/head-list</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST / 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;">action</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>固定值 2</td>
</tr>
<tr>
<td style="text-align: left;">multi_field_info</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>索赔登记号、商品信息</td>
</tr>
<tr>
<td style="text-align: left;">start_date</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>收件起始日期 eg. 2021-10-01</td>
</tr>
<tr>
<td style="text-align: left;">end_date</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>收件截止日期</td>
</tr>
<tr>
<td style="text-align: left;">org_name</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>门店名称</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>分页 默认1</td>
</tr>
<tr>
<td style="text-align: left;">count</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>每页条数 默认10</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"count": {
"total": 28,
"parts_count": "87",
"receive_count": "0",
"agree_count": "0",
"reject_count": "0",
"await_count": "0",
"agree_return_count": "0",
"reject_return_count": "0",
"await_return_count": "0",
"factory_reject_count": "0",
"factory_agree_count": "0"
},
"list": [
{
"id": "445",
"sn": "SP21092600010289",
"third_sn": "SP21092600010289",
"customer_id": "62860",
"customer_name": "金先生",
"status": "7",
"result_status": "2",
"is_quick_claim": "0",
"parts_id": "39643",
"parts_count": "10",
"buy_at": "2020-10-20",
"parts_name": "CCC",
"parts_brand": "chx",
"parts_category": "黑",
"parts_brand_id": "318",
"parts_category_id": "279",
"parts_factory_code": "123456",
"parts_order_code": "123456",
"specifications": null,
"describe_content": "zz",
"images": "",
"origin_order": "SO20102000088652",
"remark": "",
"transport_company": "1",
"transport_order": "1",
"transport_quantity": "0",
"transport_remark": "",
"transport_at": "2021-10-11 10:06:03",
"transport_to": "1",
"created_id": "755",
"updated_id": "755",
"created_org_id": "1",
"updated_org_id": "1",
"created_at": "2021-09-26 10:43:11",
"updated_at": "2021-10-11 10:06:03",
"deleted": "0",
"receive_count": "0",
"operate_remark": "",
"receive_at": "-",
"agree_count": "0",
"reject_count": "0",
"await_count": "0",
"is_to_factory": "0",
"detection_remark": "",
"check_at": "-",
"return_count": "0",
"close_count": "0",
"task_at": "2021-10-11 10:05:52",
"business_type": "0",
"factory_reject_count": "0",
"factory_agree_count": "0",
"factory_check_remark": "",
"factory_check_at": "-",
"task_send_at": "2021-10-11 10:06:03",
"agree_return_count": "0",
"reject_return_count": "0",
"await_return_count": "0",
"close_type": "0",
"engine": "",
"engine_img": "",
"falut_img": "http://tapi.1uap.com/upload/parts/2021/09/104309234631.jpeg",
"fault_time": "2021-09-26",
"install_time": "",
"loss_amount": "0.00",
"loss_des": "",
"loss_img": "",
"odo": 0,
"odo_img": "",
"product_img1": "",
"product_img2": "",
"product_img3": "",
"use_odo": 0,
"vehicle_info": "",
"vin": "",
"vin_img": "",
"price": "0.00",
"is_loss": "0",
"type": "1",
"origin_order_id": "336117",
"apply_at": "2021-09-26 10:43:11",
"audit_at": "2021-10-11 10:04:42",
"head_audit_remark": "",
"head_audit_at": "-",
"store_check_at": "2021-10-11 10:04:51",
"factory_receive_at": "0",
"check_complete_at": "0",
"aftersale_status": "9",
"license_plate_img": "",
"to_factory_at": "-",
"to_store_at": "-",
"to_factory_check_at": "-",
"to_factory_send_at": "-",
"to_store_send_at": "-",
"to_factory_check_send_at": "-",
"parts_unit_name": "套",
"apply_parts_count": "10",
"other_id": "0",
"other_name": "",
"other_address": "",
"other_contacts": "",
"other_contacts_number": "",
"head_first_claim": "0",
"created_user": "陈鸿鑫",
"org_name": "测试优配车联",
"parts_code": "123456",
"result_status_name": "返仓鉴定",
"type_name": "有小票",
"status_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;">id</td>
<td style="text-align: left;">int</td>
<td>索赔单ID</td>
</tr>
<tr>
<td style="text-align: left;">sn</td>
<td style="text-align: left;">string</td>
<td>索赔登记单号</td>
</tr>
<tr>
<td style="text-align: left;">org_name</td>
<td style="text-align: left;">string</td>
<td>门店</td>
</tr>
<tr>
<td style="text-align: left;">describe_content</td>
<td style="text-align: left;">string</td>
<td>故障描述</td>
</tr>
<tr>
<td style="text-align: left;">receive_count</td>
<td style="text-align: left;">string</td>
<td>待检数量</td>
</tr>
<tr>
<td style="text-align: left;">receive_at</td>
<td style="text-align: left;">string</td>
<td>收件日期</td>
</tr>
<tr>
<td style="text-align: left;">agree_count</td>
<td style="text-align: left;">string</td>
<td>同意数量</td>
</tr>
<tr>
<td style="text-align: left;">reject_count</td>
<td style="text-align: left;">string</td>
<td>拒绝数量</td>
</tr>
<tr>
<td style="text-align: left;">await_count</td>
<td style="text-align: left;">string</td>
<td>待鉴定数量</td>
</tr>
<tr>
<td style="text-align: left;">is_to_factory</td>
<td style="text-align: left;">sring</td>
<td>是否返厂 1是 0否</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<p>待返 = is_to_factory == 1 ? 同意 + 待鉴定 : 同意</p>