销售订单商品详情接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>销售订单商品详情接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/dms/sales-quotation-order/quotation-parts-list</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>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;">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>page=1</td>
</tr>
<tr>
<td style="text-align: left;">count</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>count=10000</td>
</tr>
<tr>
<td style="text-align: left;">subMark</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>修改时,1暂存 2提交 3转订单</td>
</tr>
<tr>
<td style="text-align: left;">app_mark</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>app_mark=1,APP请求标识</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;id&quot;: &quot;1014&quot;,
&quot;supply_org_id&quot;: &quot;1&quot;,
&quot;buy_customer_id&quot;: &quot;239947&quot;,
&quot;warehouse_id&quot;: &quot;308&quot;,
&quot;order_sn&quot;: &quot;SQ24110500001014&quot;,
&quot;status&quot;: &quot;0&quot;,
&quot;total_amount_original&quot;: &quot;20.00&quot;,//原金额合计
&quot;total_amount&quot;: &quot;20.00&quot;,//折后金额合计
&quot;rebate_amount&quot;: &quot;0.00&quot;,
&quot;batch_set&quot;: 1,
&quot;total_amount_zq&quot;: &quot;20.00&quot;,
&quot;kind&quot;: 1,//行数
&quot;count&quot;: 8,//商品数量
&quot;tonnage&quot;: 0,//毛重
&quot;net_tonnage&quot;: 0,//净重
&quot;check_tonnage&quot;: 0,//核算毛重
&quot;stock_usable_check_tonnage&quot;: 0,//本次核算毛重
&quot;gross_profit&quot;: &quot;-182.4000&quot;,
&quot;stock_usable_price_total_original&quot;: &quot;20.00&quot;,//本仓原金额
&quot;stock_usable_price_total_zq&quot;: &quot;20.00&quot;,
&quot;stock_usable_price_total&quot;: &quot;20.00&quot;,//本次折后金额
&quot;sales_rebate_amount&quot;: &quot;0.00&quot;,
&quot;usable_rebate_amount&quot;: &quot;0.00&quot;,//可执行数量(未执行数量)
&quot;conform_count_total&quot;: 0,//已执行数量
&quot;usable_count_total&quot;: 8,//执行数量
&quot;stock_usable_count_total&quot;: 8,//本仓满足数量
&quot;partsList&quot;: [
{
&quot;id&quot;: &quot;2250&quot;,//销售预订单明细ID
&quot;promotionMark&quot;: 0,
&quot;price_show_setting&quot;: 1,
&quot;parts_promotion_id&quot;: &quot;0&quot;,
&quot;parts_promotion_info&quot;: &quot;&quot;,
&quot;is_gift&quot;: &quot;2&quot;,//是否赠品 1是 2否
&quot;parts_id&quot;: &quot;53876&quot;,//商品ID
&quot;parts_name&quot;: &quot;后刹车片&quot;,//商品名称
&quot;parts_code&quot;: &quot;HS9238DT&quot;,//商品编码
&quot;parts_factory_code&quot;: &quot; HS1238&quot;,//商品出厂编码
&quot;parts_specifications&quot;: &quot;&quot;,
&quot;packing_instruction&quot;: &quot;1*1&quot;,//包装规格
&quot;minimum_package_count&quot;: &quot;1.00&quot;,//最小包装数量
&quot;parts_adaptable_vehicle&quot;: &quot;传祺GA6电子手刹专用后片&quot;,
&quot;parts_unit_id&quot;: &quot;2&quot;,
&quot;parts_unit_name&quot;: &quot;副&quot;,//商品单位
&quot;parts_category_id&quot;: &quot;215&quot;,
&quot;parts_category_name&quot;: &quot;后刹车片&quot;,//商品品类
&quot;parts_brand_id&quot;: &quot;148&quot;,
&quot;parts_brand_name&quot;: &quot;汇世&quot;,//商品品牌
&quot;factory_price&quot;: &quot;0.00&quot;,
&quot;factory_discount&quot;: &quot;100.00&quot;,
&quot;rebate_price&quot;: &quot;0.0000&quot;,
&quot;rebate_discount&quot;: &quot;0.0000&quot;,
&quot;sales_price&quot;: &quot;10.00&quot;,//销售单价
&quot;sales_price_no&quot;: &quot;8.8495&quot;,
&quot;sales_count&quot;: 2,//需求数量
&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;: 2,//可执行数量(待执行数量)
&quot;tax_rate&quot;: &quot;13.00&quot;,
&quot;discount_rate&quot;: &quot;100.00&quot;,//订单折扣率
&quot;sales_price_discount_zq&quot;: &quot;10.00&quot;,//折前销售单价 sales_price_discount_zq = sales_price*discount_rate/100 四舍五入 保留2位小数
&quot;sales_price_discount&quot;: &quot;10.00&quot;,//折后销售单价 sales_price_discount = sales_price*discount_rate/100 四舍五入 保留2位小数
&quot;sales_price_sum_original&quot;: &quot;20.00&quot;,//原金额合计
&quot;sales_price_sum_zq&quot;: &quot;20.00&quot;,
&quot;sales_price_sum&quot;: &quot;20.00&quot;,//折后金额合计
&quot;sales_price_sum_no&quot;: &quot;17.6990&quot;,
&quot;remark&quot;: &quot;&quot;,//订单明细备注
&quot;count&quot;: 3,//库存数量
&quot;_ban_online&quot;: 0,
&quot;bottom_price&quot;: 0,
&quot;standard_price&quot;: &quot;10.00&quot;,
&quot;top_price&quot;: 0,
&quot;_grade_id&quot;: &quot;0&quot;,
&quot;price_method&quot;: 1,
&quot;price_message&quot;: &quot;&quot;,
&quot;stock_usable_count&quot;: 2,//本仓满足数量
&quot;order_discount&quot;: &quot;100.0000&quot;,//本次折扣率(%)
&quot;stock_usable_price_sum_original&quot;: &quot;20.00&quot;,//本次满足原金额合计 stock_usable_price_sum_original=sales_price*stock_usable_count
&quot;stock_sales_price_discount&quot;: &quot;10.00&quot;,//本次折后销售单价 stock_sales_price_discount = sales_price_discount*order_discount/100 四舍五入 保留2位小数
&quot;stock_usable_price_sum&quot;: &quot;20.00&quot;,//本次满足折后金额合计 stock_usable_price_sum=stock_sales_price_discount*stock_usable_count
&quot;stock_usable_price_sum_zq&quot;: &quot;20.00&quot;,//本次满足折前金额合计 stock_usable_price_sum_zq=sales_price_discount*stock_usable_count
&quot;all_discount&quot;: &quot;0.0000&quot;,
&quot;last_sales_price&quot;: 0,
&quot;agency_price&quot;: &quot;71.2000&quot;,
&quot;gross_profit&quot;: &quot;-122.4000&quot;,
&quot;repalce_num&quot;: &quot;24&quot;,
&quot;salesOrderArr&quot;: [],
&quot;position_code&quot;: &quot;F34-042&quot;,
&quot;is_mall&quot;: 0,
&quot;gross_ratio&quot;: &quot;100.00&quot;,//核算毛重比例
&quot;rough_weight&quot;: 0,//毛重单价
&quot;check_tonnageOne&quot;: 0,//核算毛重合计 check_tonnageOne = rough_weight*sales_count*gross_ratio/100
&quot;stock_usable_check_tonnageOne&quot;: 0,//本次核算毛重合计 stock_usable_check_tonnageOne=rough_weight*stock_usable_count*gross_ratio/100
&quot;tonnageOne&quot;: 0,//毛重合计 tonnageOne = rough_weight*sales_count
&quot;net_rough_weight&quot;: 0,//净重单价
&quot;net_tonnageOne&quot;: 0,//净重合计 net_tonnageOne=net_rough_weight*sales_count
&quot;parts_batch_set&quot;: 1,
&quot;partsBatchList&quot;: [
{
&quot;sales_order_id&quot;: &quot;1014&quot;,
&quot;sales_order_parts_id&quot;: &quot;2250&quot;,
&quot;stock_detail_id&quot;: &quot;13581405&quot;,
&quot;parts_id&quot;: &quot;53876&quot;,
&quot;batch_number&quot;: &quot;Z23031802636263&quot;,
&quot;manual_batch&quot;: &quot;&quot;,
&quot;stock_time&quot;: &quot;-&quot;,
&quot;available_count&quot;: 1,
&quot;sales_count&quot;: 1,
&quot;final_count&quot;: 0
},
{
&quot;sales_order_id&quot;: &quot;1014&quot;,
&quot;sales_order_parts_id&quot;: &quot;2250&quot;,
&quot;stock_detail_id&quot;: &quot;13632745&quot;,
&quot;parts_id&quot;: &quot;53876&quot;,
&quot;batch_number&quot;: &quot;Z23032002642270&quot;,
&quot;manual_batch&quot;: &quot;&quot;,
&quot;stock_time&quot;: &quot;-&quot;,
&quot;available_count&quot;: 1,
&quot;sales_count&quot;: 1,
&quot;final_count&quot;: 0
},
{
&quot;sales_order_id&quot;: &quot;1014&quot;,
&quot;sales_order_parts_id&quot;: &quot;2250&quot;,
&quot;stock_detail_id&quot;: &quot;13637535&quot;,
&quot;parts_id&quot;: &quot;53876&quot;,
&quot;batch_number&quot;: &quot;Z23032002642910&quot;,
&quot;manual_batch&quot;: &quot;&quot;,
&quot;stock_time&quot;: &quot;-&quot;,
&quot;available_count&quot;: 1,
&quot;sales_count&quot;: 0,
&quot;final_count&quot;: 0
}
],
&quot;showName&quot;: &quot;汇世 后刹车片 HS9238DT&quot;
},
{
&quot;id&quot;: &quot;2251&quot;,
&quot;promotionMark&quot;: 0,
&quot;price_show_setting&quot;: 1,
&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;53911&quot;,
&quot;parts_name&quot;: &quot;前刹车片&quot;,
&quot;parts_code&quot;: &quot;22&quot;,
&quot;parts_factory_code&quot;: &quot; HS1202&quot;,
&quot;parts_specifications&quot;: &quot;&quot;,
&quot;packing_instruction&quot;: &quot;1*1&quot;,
&quot;minimum_package_count&quot;: &quot;1.00&quot;,
&quot;parts_adaptable_vehicle&quot;: &quot;广汽传祺GS4 200T 15款前片&quot;,
&quot;parts_unit_id&quot;: &quot;2&quot;,
&quot;parts_unit_name&quot;: &quot;副&quot;,
&quot;parts_category_id&quot;: &quot;162&quot;,
&quot;parts_category_name&quot;: &quot;前刹车片&quot;,
&quot;parts_brand_id&quot;: &quot;148&quot;,
&quot;parts_brand_name&quot;: &quot;汇世&quot;,
&quot;factory_price&quot;: &quot;0.00&quot;,
&quot;factory_discount&quot;: &quot;100.00&quot;,
&quot;rebate_price&quot;: &quot;0.0000&quot;,
&quot;rebate_discount&quot;: &quot;0.0000&quot;,
&quot;sales_price&quot;: &quot;0.00&quot;,
&quot;sales_price_no&quot;: &quot;0.0000&quot;,
&quot;sales_count&quot;: 6,
&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;: 6,
&quot;tax_rate&quot;: &quot;13.00&quot;,
&quot;discount_rate&quot;: &quot;100.00&quot;,
&quot;sales_price_discount_zq&quot;: &quot;0.00&quot;,
&quot;sales_price_discount&quot;: &quot;0.00&quot;,
&quot;sales_price_sum_original&quot;: &quot;0.00&quot;,
&quot;sales_price_sum_zq&quot;: &quot;0.00&quot;,
&quot;sales_price_sum&quot;: &quot;0.00&quot;,
&quot;sales_price_sum_no&quot;: &quot;0.0000&quot;,
&quot;remark&quot;: &quot;&quot;,
&quot;count&quot;: 20,
&quot;_ban_online&quot;: 0,
&quot;bottom_price&quot;: 0,
&quot;standard_price&quot;: 0,
&quot;top_price&quot;: 0,
&quot;_grade_id&quot;: &quot;0&quot;,
&quot;price_method&quot;: 1,
&quot;price_message&quot;: &quot;&quot;,
&quot;stock_usable_count&quot;: 6,
&quot;order_discount&quot;: &quot;100.0000&quot;,
&quot;stock_usable_price_sum_original&quot;: &quot;0.00&quot;,
&quot;stock_sales_price_discount&quot;: &quot;0.00&quot;,
&quot;stock_usable_price_sum&quot;: &quot;0.00&quot;,
&quot;stock_usable_price_sum_zq&quot;: &quot;0.00&quot;,
&quot;all_discount&quot;: &quot;0.0000&quot;,
&quot;last_sales_price&quot;: 0,
&quot;agency_price&quot;: &quot;10.0000&quot;,
&quot;gross_profit&quot;: &quot;-60.0000&quot;,
&quot;repalce_num&quot;: &quot;7&quot;,
&quot;salesOrderArr&quot;: [],
&quot;position_code&quot;: &quot;&quot;,
&quot;is_mall&quot;: 0,
&quot;gross_ratio&quot;: &quot;100.00&quot;,
&quot;rough_weight&quot;: 0,
&quot;check_tonnageOne&quot;: 0,
&quot;stock_usable_check_tonnageOne&quot;: 0,
&quot;tonnageOne&quot;: 0,
&quot;net_rough_weight&quot;: 0,
&quot;net_tonnageOne&quot;: 0,
&quot;parts_batch_set&quot;: 1,
&quot;partsBatchList&quot;: [
{
&quot;sales_order_id&quot;: &quot;1014&quot;,
&quot;sales_order_parts_id&quot;: &quot;2251&quot;,
&quot;stock_detail_id&quot;: &quot;16199327&quot;,
&quot;parts_id&quot;: &quot;53911&quot;,
&quot;batch_number&quot;: &quot;Z24090203048821&quot;,
&quot;manual_batch&quot;: &quot;202302下半年01&quot;,
&quot;stock_time&quot;: &quot;2024-09-02 14:00:42&quot;,
&quot;available_count&quot;: 2,
&quot;sales_count&quot;: 2,
&quot;final_count&quot;: 0
},
{
&quot;sales_order_id&quot;: &quot;1014&quot;,
&quot;sales_order_parts_id&quot;: &quot;2251&quot;,
&quot;stock_detail_id&quot;: &quot;16199865&quot;,
&quot;parts_id&quot;: &quot;53911&quot;,
&quot;batch_number&quot;: &quot;Z24103103049854&quot;,
&quot;manual_batch&quot;: &quot;202409下半年02&quot;,
&quot;stock_time&quot;: &quot;2024-10-31 17:34:55&quot;,
&quot;available_count&quot;: 20,
&quot;sales_count&quot;: 4,
&quot;final_count&quot;: 0
}
],
&quot;showName&quot;: &quot;汇世 前刹车片 22&quot;
}
],
&quot;total_page&quot;: &quot;2&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>