库存查询
<p><strong>简要描述:</strong> </p>
<ul>
<li>库存查询列表接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/dms/sales-order-app/stock-info-list</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;">warehouse_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>仓库id</td>
</tr>
<tr>
<td style="text-align: left;">brand_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>品牌id</td>
</tr>
<tr>
<td style="text-align: left;">category_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>品类id</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>页</td>
</tr>
<tr>
<td style="text-align: left;">count</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>每页展示数</td>
</tr>
<tr>
<td style="text-align: left;">keyword</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>搜索:编码、名称、品类、品牌</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"total_price": "722015007.71",
"total": "1414"
"list": [
{
"id": "123174",
"parts_id": "1",
"org_id": "1",
"warehouse_id": "308",
"agency_price_no": "53.0968",
"agency_price": "59.9994",
"updated_at": "2020-08-06",
"stock_count_at": "2020-03-31",
"count": 9991390,
"freeze_count": "10409.00",
"abnormal_count": "27.00",
"parts_name": "点火线圈",
"parts_code": "DQG1236-4-11111",
"specifications": "",
"category_name": "点火线圈",
"brand_name": "火炬",
"category_id": "236",
"brand_id": "150",
"parts_factory_code": "DQG1236-4-11111",
"unit": "18",
"stock_warning": "3.00",
"stock_upper_limit": "4.00",
"adjustment_params": "20.00",
"estimate_time": "2",
"is_black": "1",
"safety_day": "3",
"is_black_name": "否",
"first_name": "点火系统",
"second_name": "点火配件",
"third_name": "点火线圈",
"left_count": 9980954,
"stock_available": 9980954,
"unit_name": "只",
"warehouse_name": "中驰连锁仓库",
"parts_position": "-",
"org_name": "优配车联",
"adaptable_vehicle": "新凯越 富康8V 爱丽舍8V",
"oe_code": "是",
"e_code": "",
"wms_code": "",
"packing_instruction": "1*2",
"showName": "火炬 | 点火线圈 | 点火线圈 | | DQG1236-4-11111"
}
]
}
}
</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;">total_price</td>
<td style="text-align: left;">string</td>
<td>库存总金额</td>
</tr>
<tr>
<td style="text-align: left;">total</td>
<td style="text-align: left;">int</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;">brand_name</td>
<td style="text-align: left;">string</td>
<td>品牌名称</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;">unit_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;">count</td>
<td style="text-align: left;">int</td>
<td>实际库存</td>
</tr>
<tr>
<td style="text-align: left;">stock_available</td>
<td style="text-align: left;">int</td>
<td>可用库存</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>