商品详情
<p><strong>简要描述:</strong> </p>
<ul>
<li>商品详情接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/delivery/sales-order/delivery-parts-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;">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;">editMark</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>默认1</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"count": {
"sign_total_amount": 9.2799999999999994,
"sign_total_count": 1,
"diff_total_count": 4,
"payArr": {
"balance": {
"pay_type": "1",
"pay_method": 0,
"pay_methodArr": [
{
"id": 0,
"name": "余额"
}
],
"pay_money": "0.00"
},
"bank_way": {
"pay_type": "2",
"pay_method": "965",
"pay_methodArr": [
{
"id": "965",
"name": "银行",
"payment_method": ""
},
{
"id": "1040",
"name": "济阳资金111",
"payment_method": ""
}
],
"pay_money": "0.00"
},
"cash_way": {
"pay_type": "3",
"pay_method": "964",
"pay_methodArr": [
{
"id": "964",
"name": "现金",
"payment_method": ""
},
{
"id": "1002",
"name": "现金",
"payment_method": ""
},
{
"id": "1005",
"name": "现金",
"payment_method": ""
}
],
"pay_money": "0.00"
},
"third_way": {
"pay_type": "11",
"pay_method": 0,
"pay_methodArr": [
{
"id": 0,
"name": "物流代收"
}
],
"pay_money": "0.00"
},
"credit": {
"pay_type": "4",
"pay_method": 0,
"pay_methodArr": [
{
"id": 0,
"name": "挂账"
}
],
"pay_money": "0.00"
}
}
},
"data": [
{
"id": "25",
"sales_order_delivery_id": "17",
"sales_order_id": "87821",
"sales_order_sn": "SO20092200087821",
"details_id": "235392",
"is_gift": "2",
"parts_id": "3737",
"parts_name": "极速火焰",
"parts_code": "K6RIU",
"parts_factory_code": "K6RIU",
"minimum_package_count": "4.00",
"parts_unit_id": "1",
"parts_unit_name": "只",
"parts_category_id": "119",
"parts_category_name": "铱金系列",
"parts_brand_id": "150",
"parts_brand_name": "火炬",
"supply_org_id": "1",
"buy_type": "2",
"buy_customer_id": "62689",
"sales_price": "9.28",
"sales_price_no": "8.2123",
"tax_rate": "13.00",
"sales_count": 5,
"final_count": 5,
"discount_rate": "100.00",
"sales_price_sum_original": "46.40",
"sales_price_sum_no": "41.0615",
"sales_price_sum": "46.40",
"final_price_sum": "46.40",
"sign_count": 1,
"sign_price_sum": "9.28",
"remark": "",
"diff_count": 4
}
]
}
}</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;">parts_brand_name</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>
<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_code</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;">sales_price</td>
<td style="text-align: left;">string</td>
<td>单价</td>
</tr>
<tr>
<td style="text-align: left;">sign_count</td>
<td style="text-align: left;">int</td>
<td>签收数量</td>
</tr>
<tr>
<td style="text-align: left;">sign_price_sum</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;">string</td>
<td>配送数量</td>
</tr>
<tr>
<td style="text-align: left;">diff_count</td>
<td style="text-align: left;">string</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;">sign_total_amount</td>
<td style="text-align: left;">string</td>
<td>签收金额</td>
</tr>
<tr>
<td style="text-align: left;">sign_total_count</td>
<td style="text-align: left;">string</td>
<td>签收数量</td>
</tr>
<tr>
<td style="text-align: left;">diff_total_count</td>
<td style="text-align: left;">string</td>
<td>差异数量</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>