销售预订单详情接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>销售预订单详情接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/app/shop-order/order-view</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </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;">int</td>
<td>销售预订单id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;id&quot;: &quot;376&quot;,//销售预订单id
&quot;order_sn&quot;: &quot;SQ24061100000376&quot;,//销售预订单单号
&quot;purchase_order_sn&quot;: &quot;PO24061100000374&quot;,//采购申请单号
&quot;buy_customer_id&quot;: &quot;239885&quot;,
&quot;buy_customer_name&quot;: &quot;佳链V5演示客户239885&quot;,//客户名称
&quot;count&quot;: 30,//申请数量
&quot;conform_count&quot;: 0,//执行数量
&quot;final_count&quot;: 0,//实际出库数量
&quot;total_amount_original&quot;: &quot;255.37&quot;,
&quot;total_amount_zq&quot;: &quot;255.37&quot;,//订单原金额
&quot;total_amount&quot;: &quot;195.38&quot;,//订单实付金额
&quot;conform_total_amount&quot;:0,//执行金额
&quot;rebate_amount&quot;: &quot;59.99&quot;,//返利费用(市场支持)
&quot;status&quot;: &quot;0&quot;,
&quot;pay_status&quot;: &quot;0&quot;,
&quot;pay_type&quot;: &quot;1&quot;,//支付方式 1在线支付 2银行转账
&quot;created_at&quot;: &quot;2024-06-11 17:58&quot;,//制单时间
&quot;operation_name&quot;: &quot;何丽兰&quot;,//制单人
&quot;supply_org_name&quot;: &quot;供应链集团&quot;,//客户对应的门店名称
&quot;consignee_name&quot;: &quot;测试人&quot;,//收货人
&quot;consignee_mobile&quot;: &quot;182555203006&quot;,//收货电话
&quot;consignee_address&quot;: &quot;上海浦东新区测试地址&quot;,//收货地址
&quot;remark&quot;: &quot;测试数据0611&quot;,//订单备注
&quot;buy_remark&quot;: &quot;测试数据0611&quot;,//客户备注
&quot;pay_statusTxt&quot;: &quot;未预收&quot;,//预收状态:未预收(0);预收中(1);已预收(2);部分预收(3)
&quot;pay_methodTxt&quot;: &quot;银行账户(2.72),现金账户(30.00),信用额度(15.00)&quot;,//支付方式
&quot;pay_typeTxt&quot;: &quot;在线支付&quot;,
&quot;statusTxt&quot;: &quot;待确认&quot;//订单状态:待确认(0,1);部分确认(2);已确认(3);已取消(4)
purchase_statusTxt:&quot;待执行&quot;//采购订单状态
&quot;salesOrderSnStr&quot;: &quot;SO24061300000876&quot;,
&quot;salesOrderSnArr&quot;: [//销售预订单关联销售订单信息
{
&quot;id&quot;: &quot;876&quot;,
&quot;order_sn&quot;: &quot;SO24061300000876&quot;,
&quot;status&quot;: &quot;1&quot;,
&quot;order_type&quot;: &quot;34&quot;,
&quot;check_status&quot;: &quot;0&quot;,
&quot;inner_mark&quot;: &quot;0&quot;,
&quot;inner_org&quot;: &quot;0&quot;,
&quot;inner_confirm&quot;: &quot;0&quot;,
&quot;statusTxt&quot;: &quot;待收款&quot;
}
],
&quot;payment_order_details_order_id&quot;: 109,//支付中的预收单id
&quot;payment_order_details_order_sn&quot;: &quot;QCP24061400000090-1&quot;,//支付中的预收单号
&quot;check_tonnage&quot;: 0.114,//核算毛重合计
&quot;tonnage&quot;: 0.114,//毛重合计
&quot;net_tonnage&quot;: 0.138,//净重合计
&quot;partsList&quot;: [
{
&quot;id&quot;: &quot;766&quot;,
&quot;parts_promotion_id&quot;: &quot;0&quot;,//促销活动id
&quot;parts_promotion_info&quot;: &quot;&quot;,
&quot;is_gift&quot;: &quot;2&quot;,//是否赠品 1是 2否
&quot;parts_id&quot;: &quot;13512&quot;,
&quot;parts_name&quot;: &quot;铂金火花塞&quot;,
&quot;parts_code&quot;: &quot;94833&quot;,
&quot;parts_factory_code&quot;: &quot;PLFER7A8EG&quot;,
&quot;parts_specifications&quot;: &quot;&quot;,
&quot;packing_instruction&quot;: &quot;1*4&quot;,//包装规格
&quot;minimum_package_count&quot;: &quot;4.00&quot;,
&quot;parts_adaptable_vehicle&quot;: &quot;新款EA888三代发动机&quot;,
&quot;parts_unit_id&quot;: &quot;1&quot;,
&quot;parts_unit_name&quot;: &quot;只&quot;,
&quot;parts_category_id&quot;: &quot;263&quot;,
&quot;parts_category_name&quot;: &quot;白金系列&quot;,
&quot;parts_brand_id&quot;: &quot;37&quot;,
&quot;parts_brand_name&quot;: &quot;NGK&quot;,
&quot;factory_price&quot;: &quot;7.96&quot;,
&quot;factory_discount&quot;: 78,
&quot;sales_price&quot;: &quot;6.21&quot;,
&quot;sales_price_no&quot;: &quot;5.4955&quot;,
&quot;sales_count&quot;: 5,//申请数量
&quot;conform_count&quot;: 0,//已执行数量
&quot;conform_price_sum&quot;: &quot;0.00&quot;,
&quot;final_count&quot;: 0,
&quot;final_price_sum&quot;: &quot;0.00&quot;,
&quot;order_discount&quot;: &quot;83.4139&quot;,//返利折扣
&quot;rebate_price&quot;: &quot;1.0300&quot;,//返利单价
&quot;usable_count&quot;: 5,//未执行数量
&quot;tax_rate&quot;: &quot;13.00&quot;,
&quot;discount_rate&quot;: 100,
&quot;sales_price_discount_zq&quot;: &quot;6.21&quot;,
&quot;sales_price_discount&quot;: &quot;5.18&quot;,//折扣单价
&quot;sales_price_sum_original&quot;: &quot;31.05&quot;,//原金额
&quot;sales_price_sum&quot;: &quot;25.90&quot;,//折扣金额
&quot;sales_price_sum_no&quot;: &quot;22.9390&quot;,
&quot;remark&quot;: &quot;&quot;,
&quot;check_tonnageOne&quot;: 0.066,//核算毛重
&quot;tonnageOne&quot;: 0.066,//毛重
&quot;net_tonnage&quot;: 0,//净重
&quot;showName&quot;: &quot;NGK 铂金火花塞 94833&quot;,
&quot;imgs&quot;: &quot;http://api.betterchain.com.cn:9099/upload/brand/2020/08/190230172122.png&quot;//商品图片
},
{
&quot;id&quot;: &quot;767&quot;,
&quot;parts_promotion_id&quot;: &quot;0&quot;,
&quot;parts_promotion_info&quot;: &quot;&quot;,
&quot;is_gift&quot;: &quot;2&quot;,
&quot;parts_id&quot;: &quot;6710&quot;,
&quot;parts_name&quot;: &quot;经济型火花塞&quot;,
&quot;parts_code&quot;: &quot;DF7REC2&quot;,
&quot;parts_factory_code&quot;: &quot;F01A127B02&quot;,
&quot;parts_specifications&quot;: &quot;&quot;,
&quot;minimum_package_count&quot;: &quot;10.00&quot;,
&quot;parts_adaptable_vehicle&quot;: &quot;新赛欧1.2/1.4,五菱荣光,宏光,长安S460,昌河铃木北斗星,浪迪,09款奥拓,菲亚特1.3&quot;,
&quot;parts_unit_id&quot;: &quot;1&quot;,
&quot;parts_unit_name&quot;: &quot;只&quot;,
&quot;parts_category_id&quot;: &quot;202&quot;,
&quot;parts_category_name&quot;: &quot;经济型系列&quot;,
&quot;parts_brand_id&quot;: &quot;90&quot;,
&quot;parts_brand_name&quot;: &quot;博世&quot;,
&quot;factory_price&quot;: &quot;11.80&quot;,
&quot;factory_discount&quot;: 80,
&quot;sales_price&quot;: &quot;9.44&quot;,
&quot;sales_price_no&quot;: &quot;8.3539&quot;,
&quot;sales_count&quot;: 8,
&quot;conform_count&quot;: 0,
&quot;conform_price_sum&quot;: &quot;0.00&quot;,
&quot;final_count&quot;: 0,
&quot;final_price_sum&quot;: &quot;0.00&quot;,
&quot;usable_count&quot;: 8,
&quot;tax_rate&quot;: &quot;13.00&quot;,
&quot;discount_rate&quot;: 100,
&quot;sales_price_discount_zq&quot;: &quot;9.44&quot;,
&quot;sales_price_discount&quot;: &quot;7.67&quot;,
&quot;sales_price_sum_original&quot;: &quot;75.52&quot;,
&quot;sales_price_sum&quot;: &quot;61.36&quot;,
&quot;sales_price_sum_no&quot;: &quot;54.2752&quot;,
&quot;remark&quot;: &quot;&quot;,
&quot;showName&quot;: &quot;博世 经济型火花塞 DF7REC2&quot;
},
{
&quot;id&quot;: &quot;768&quot;,
&quot;parts_promotion_id&quot;: &quot;0&quot;,
&quot;parts_promotion_info&quot;: &quot;&quot;,
&quot;is_gift&quot;: &quot;2&quot;,
&quot;parts_id&quot;: &quot;6432&quot;,
&quot;parts_name&quot;: &quot;普通型&quot;,
&quot;parts_code&quot;: &quot;P21/5W 12V 21W BAY15D&quot;,
&quot;parts_factory_code&quot;: &quot;12499CP&quot;,
&quot;parts_specifications&quot;: &quot;1*10&quot;,
&quot;minimum_package_count&quot;: &quot;10.00&quot;,
&quot;parts_adaptable_vehicle&quot;: &quot;通用&quot;,
&quot;parts_unit_id&quot;: &quot;1&quot;,
&quot;parts_unit_name&quot;: &quot;只&quot;,
&quot;parts_category_id&quot;: &quot;175&quot;,
&quot;parts_category_name&quot;: &quot;普通卤素灯&quot;,
&quot;parts_brand_id&quot;: &quot;118&quot;,
&quot;parts_brand_name&quot;: &quot;飞利浦&quot;,
&quot;factory_price&quot;: &quot;7.28&quot;,
&quot;factory_discount&quot;: 70,
&quot;sales_price&quot;: &quot;5.10&quot;,
&quot;sales_price_no&quot;: &quot;4.5132&quot;,
&quot;sales_count&quot;: 8,
&quot;conform_count&quot;: 0,
&quot;conform_price_sum&quot;: &quot;0.00&quot;,
&quot;final_count&quot;: 0,
&quot;final_price_sum&quot;: &quot;0.00&quot;,
&quot;usable_count&quot;: 8,
&quot;tax_rate&quot;: &quot;13.00&quot;,
&quot;discount_rate&quot;: 100,
&quot;sales_price_discount_zq&quot;: &quot;5.10&quot;,
&quot;sales_price_discount&quot;: &quot;4.74&quot;,
&quot;sales_price_sum_original&quot;: &quot;40.80&quot;,
&quot;sales_price_sum&quot;: &quot;37.92&quot;,
&quot;sales_price_sum_no&quot;: &quot;33.5328&quot;,
&quot;remark&quot;: &quot;&quot;,
&quot;showName&quot;: &quot;飞利浦 普通型 P21/5W 12V 21W BAY15D&quot;
},
{
&quot;id&quot;: &quot;769&quot;,
&quot;parts_promotion_id&quot;: &quot;0&quot;,
&quot;parts_promotion_info&quot;: &quot;&quot;,
&quot;is_gift&quot;: &quot;2&quot;,
&quot;parts_id&quot;: &quot;1841&quot;,
&quot;parts_name&quot;: &quot;普通型&quot;,
&quot;parts_code&quot;: &quot;P21/5W 12V 21/5W BAY15D&quot;,
&quot;parts_factory_code&quot;: &quot;7528国产&quot;,
&quot;parts_specifications&quot;: &quot;1*10&quot;,
&quot;minimum_package_count&quot;: &quot;10.00&quot;,
&quot;parts_adaptable_vehicle&quot;: &quot;1&quot;,
&quot;parts_unit_id&quot;: &quot;1&quot;,
&quot;parts_unit_name&quot;: &quot;只&quot;,
&quot;parts_category_id&quot;: &quot;175&quot;,
&quot;parts_category_name&quot;: &quot;普通卤素灯&quot;,
&quot;parts_brand_id&quot;: &quot;207&quot;,
&quot;parts_brand_name&quot;: &quot;欧司朗&quot;,
&quot;factory_price&quot;: &quot;12.00&quot;,
&quot;factory_discount&quot;: 0,
&quot;sales_price&quot;: &quot;12.00&quot;,
&quot;sales_price_no&quot;: &quot;10.6194&quot;,
&quot;sales_count&quot;: 9,
&quot;conform_count&quot;: 0,
&quot;conform_price_sum&quot;: &quot;0.00&quot;,
&quot;final_count&quot;: 0,
&quot;final_price_sum&quot;: &quot;0.00&quot;,
&quot;usable_count&quot;: 9,
&quot;tax_rate&quot;: &quot;13.00&quot;,
&quot;discount_rate&quot;: 100,
&quot;sales_price_discount_zq&quot;: &quot;12.00&quot;,
&quot;sales_price_discount&quot;: &quot;7.80&quot;,
&quot;sales_price_sum_original&quot;: &quot;108.00&quot;,
&quot;sales_price_sum&quot;: &quot;70.20&quot;,
&quot;sales_price_sum_no&quot;: &quot;62.1270&quot;,
&quot;remark&quot;: &quot;&quot;,
&quot;showName&quot;: &quot;欧司朗 普通型 P21/5W 12V 21/5W BAY15D&quot;
}
]
}
}</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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>