客户购物车列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>客户购物车列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/dms/sales-order-app/customer-car-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;">buy_customer_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>客户ID</td>
</tr>
</tbody>
</table>
<ul>
<li>
<p>适用于:
1.开单页面的购物车弹框</p>
<p><strong>返回示例</strong></p>
</li>
</ul>
<pre><code>{
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"list": [
{
"id": "1",
"car_id": "4",
"parts_id": "6432",
"parts_name": "普通型",
"parts_code": "P21/5W 12V 21W BAY15D",
"parts_factory_code": "12499",
"parts_specifications": "",
"minimum_package_count": "10.00",
"parts_adaptable_vehicle": "通用",
"parts_unit_id": "1",
"parts_unit_name": "只",
"parts_category_id": "175",
"parts_category_name": "普通卤素灯",
"parts_brand_id": "118",
"parts_brand_name": "飞利浦",
"parts_e_code": null,
"parts_upc_code": "9155",
"supply_org_id": "40",
"address_contacts": "",
"address_mobile": "",
"address": "",
"buy_customer_name": "测试0517",
"buy_customer_id": "61111",
"sales_price": "17.00",
"sales_count": 4,
"sales_price_sum": "68.00",
"deleted": "0",
"created_at": "2020-06-03 16:29",
"created_id": "3",
"updated_at": "1591172954",
"updated_id": "3",
"picurl": "",
"store_count": 1246,
"parts_top": "飞利浦|普通型|只",
"parts_bottom": "P21/5W 12V 21W BAY15D|12499",
"showName": "普通型|P21/5W 12V 21W BAY15D|12499",
"deleted_name": "正常",
"last_sales_price": 0
}
],
"total_amount": "7.78",
"count": 2
}
}</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;">showName</td>
<td style="text-align: left;">string</td>
<td>商品名称组合</td>
</tr>
<tr>
<td style="text-align: left;">sales_price</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;">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>
</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;">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;">picurl</td>
<td style="text-align: left;">string</td>
<td>商品图片</td>
</tr>
<tr>
<td style="text-align: left;">last_sales_price</td>
<td style="text-align: left;">string</td>
<td>上次销售价格</td>
</tr>
<tr>
<td style="text-align: left;">store_count</td>
<td style="text-align: left;">int</td>
<td>本店库存</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>