销售预订单再来一单接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>销售预订单再来一单接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/dms/sales-quotation-order/apply</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;">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;supply_org_id&quot;: 1,
&quot;supplier_name&quot;: &quot;供应链集团&quot;,
&quot;order_sn&quot;: &quot;&quot;,
&quot;status&quot;: &quot;0&quot;,
&quot;statusTxt&quot;: &quot;待提交&quot;,
&quot;logistics_sales_order_setting&quot;: 2,
&quot;warehouse_id&quot;: 308,
&quot;warehouse_name&quot;: &quot;仓库WS00308&quot;,
&quot;overdue_status&quot;: &quot;1&quot;,
&quot;count&quot;: 3,
&quot;total_amount&quot;: &quot;30.00&quot;,
&quot;total_amount_no&quot;: &quot;26.55&quot;,
&quot;total_amount_original&quot;: &quot;30.00&quot;,
&quot;total_amount_zq&quot;: &quot;30.00&quot;,
&quot;stock_usable_price_total_original&quot;: &quot;30.00&quot;,
&quot;stock_usable_price_total_zq&quot;: &quot;30.00&quot;,
&quot;stock_usable_price_total&quot;: &quot;30.00&quot;,
&quot;sales_rebate_amount&quot;: 0,
&quot;remark&quot;: &quot;&quot;,
&quot;distribution_method&quot;: 0,
&quot;logistics_type&quot;: 0,
&quot;logistics_id&quot;: 0,
&quot;logistics_name&quot;: &quot;&quot;,
&quot;logistics_user_id&quot;: 0,
&quot;logistics_user_name&quot;: &quot;&quot;,
&quot;distribution_timeliness&quot;: 0,
&quot;logistics_order_sn&quot;: &quot;&quot;,
&quot;freight&quot;: &quot;&quot;,
&quot;logistics_pay_type&quot;: 0,
&quot;logistics_remark&quot;: &quot;&quot;,
&quot;sales_id&quot;: 1,
&quot;consignee_name&quot;: &quot;法大大&quot;,
&quot;consignee_mobile&quot;: &quot;12345645674&quot;,
&quot;consignee_address&quot;: &quot;市中区198号&quot;,
&quot;created_at&quot;: &quot;2024-11-06&quot;,
&quot;plan_delivery_date&quot;: &quot;2024-11-07&quot;,
&quot;operation_id&quot;: &quot;3627&quot;,
&quot;operation_department_id&quot;: &quot;0&quot;,
&quot;operation_department_name&quot;: &quot;&quot;,
&quot;operation_name&quot;: &quot;何丽兰&quot;,
&quot;operation_mobile&quot;: &quot;15801000000&quot;,
&quot;buy_customer_id&quot;: 239947,
&quot;buy_customer_name&quot;: &quot;积分测试客户8877&quot;,
&quot;order_sign&quot;: &quot;0&quot;,
&quot;approval_no&quot;: &quot;&quot;,
&quot;tonnage&quot;: 0.0128,
&quot;net_tonnage&quot;: 0.0184,
&quot;check_tonnage&quot;: 0.0128,
&quot;stock_usable_check_tonnage&quot;: 0.0128,
&quot;partsList&quot;: [
{
&quot;id&quot;: 0,
&quot;is_return&quot;: 2,
&quot;parts_promotion_id&quot;: 0,
&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;packing_instruction&quot;: &quot;1*1&quot;,
&quot;minimum_package_count&quot;: &quot;1&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;tax_rate&quot;: &quot;13.00&quot;,
&quot;sales_price&quot;: &quot;10.00&quot;,
&quot;sales_price_no&quot;: &quot;8.8495&quot;,
&quot;sales_count&quot;: 3,
&quot;conform_count&quot;: 0,
&quot;conform_price_sum&quot;: 0,
&quot;final_count&quot;: 0,
&quot;final_price_sum&quot;: 0,
&quot;usable_count&quot;: 3,
&quot;discount_rate&quot;: &quot;100.0000&quot;,
&quot;sales_price_discount_zq&quot;: &quot;10.00&quot;,
&quot;sales_price_discount&quot;: &quot;10.00&quot;,
&quot;sales_price_sum_original&quot;: 30,
&quot;sales_price_sum&quot;: 30,
&quot;sales_price_sum_zq&quot;: 30,
&quot;sales_price_sum_no&quot;: &quot;26.5485&quot;,
&quot;remark&quot;: &quot;&quot;,
&quot;count&quot;: 397058,
&quot;_ban_online&quot;: 0,
&quot;factory_price&quot;: 0,
&quot;factory_discount&quot;: &quot;100.00&quot;,
&quot;bottom_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;: 3,
&quot;order_discount&quot;: &quot;100.00&quot;,
&quot;stock_sales_price_discount&quot;: &quot;10.00&quot;,
&quot;stock_usable_price_sum&quot;: &quot;30.00&quot;,
&quot;stock_usable_price_sum_original&quot;: 30,
&quot;stock_usable_price_sum_zq&quot;: &quot;30.00&quot;,
&quot;all_discount&quot;: &quot;0.0000&quot;,
&quot;last_sales_price&quot;: &quot;10.00&quot;,
&quot;agency_price&quot;: &quot;6.9975&quot;,
&quot;repalce_num&quot;: &quot;11&quot;,
&quot;salesOrderArr&quot;: [],
&quot;position_code&quot;: &quot;F64-022,F64-081,F66-013,F64-023,A05-012,A06-011&quot;,
&quot;showName&quot;: &quot;经济型火花塞|DF7REC2|F01A127B02|博世|经济型系列&quot;,
&quot;gross_ratio&quot;: 100,
&quot;rough_weight&quot;: 0.00425,
&quot;check_tonnageOne&quot;: 0.0128,
&quot;stock_usable_check_tonnageOne&quot;: 0.0128,
&quot;tonnageOne&quot;: 0.0128,
&quot;net_rough_weight&quot;: 0.006125,
&quot;net_tonnageOne&quot;: 0.0184
}
],
&quot;partsIdStr&quot;: &quot;&quot;,
&quot;quotationAgencyMark&quot;: 0
}
}</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>