销售预订单详情接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>销售预订单详情接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/dms/sales-quotation-order/view</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;id&quot;: &quot;1014&quot;,//销售预订单ID
&quot;order_sn&quot;: &quot;SQ24110500001014&quot;,//销售预订单单号
&quot;supply_org_id&quot;: &quot;1&quot;,//门店ID
&quot;supplier_name&quot;: &quot;供应链集团&quot;,//门店名称
&quot;buy_customer_id&quot;: &quot;239947&quot;,//客户ID
&quot;buy_customer_name&quot;: &quot;积分测试客户8877&quot;,//客户名称
&quot;clearing_method&quot;: &quot;1&quot;,
&quot;credit_days&quot;: &quot;0&quot;,
&quot;kind&quot;: &quot;2&quot;,//商品种类
&quot;count&quot;: 8,//商品数量
&quot;total_amount_original&quot;: &quot;20.00&quot;,//订单原金额
&quot;total_amount_no&quot;: &quot;17.70&quot;,
&quot;total_amount&quot;: &quot;20.00&quot;,//订单金额(折后金额)
&quot;conform_kind&quot;: &quot;0&quot;,//已执行商品种类
&quot;conform_count&quot;: 0,//已执行商品数量
&quot;conform_total_amount&quot;: &quot;0.00&quot;,//已执行商品金额
&quot;final_kind&quot;: &quot;0&quot;,//实际出库商品种类
&quot;final_count&quot;: 0,//实际出库商品数量
&quot;final_total_amount&quot;: &quot;0.00&quot;,//实际出库商品金额
&quot;is_freeze&quot;: &quot;2&quot;,//是否冻结预收款金额 1是 2否
&quot;freeze_money&quot;: &quot;0.00&quot;,//预收款余额冻结金额
&quot;credit_freeze_money&quot;: &quot;0.00&quot;,//预收款信用额度冻结金额
&quot;pay_status&quot;: &quot;0&quot;,//支付状态 0未支付 1支付中 2已支付 3部分支付
&quot;pay_time&quot;: &quot;0&quot;,//支付时间
&quot;pay_money&quot;: &quot;0.00&quot;,//支付金额
&quot;province&quot;: &quot;0&quot;,
&quot;city&quot;: &quot;0&quot;,
&quot;district&quot;: &quot;0&quot;,
&quot;town&quot;: &quot;0&quot;,
&quot;address&quot;: &quot;&quot;,
&quot;warehouse_id&quot;: &quot;308&quot;,//发货仓库ID
&quot;warehouse_name&quot;: &quot;仓库WS00308&quot;,//发货仓库名称
&quot;consignee_name&quot;: &quot;法大大&quot;,//收货人
&quot;consignee_mobile&quot;: &quot;12345645674&quot;,//收货电话
&quot;consignee_address&quot;: &quot;市中区198号&quot;,//收货地址
&quot;is_promotion&quot;: &quot;2&quot;,
&quot;is_integral&quot;: &quot;2&quot;,
&quot;remark&quot;: &quot;&quot;,//订单备注
&quot;status&quot;: &quot;0&quot;,//订单状态 1未执行 2部分执行 3已执行 4已关闭
&quot;distribution_method&quot;: &quot;0&quot;,
&quot;logistics_id&quot;: &quot;0&quot;,
&quot;logistics_name&quot;: &quot;&quot;,
&quot;flight&quot;: &quot;&quot;,
&quot;distribution_timeliness&quot;: &quot;0&quot;,
&quot;logistics_order_sn&quot;: &quot;&quot;,
&quot;logistics_user_id&quot;: &quot;0&quot;,
&quot;logistics_user_name&quot;: &quot;&quot;,
&quot;logistics_user_mobile&quot;: &quot;&quot;,
&quot;freight&quot;: &quot;0.00&quot;,
&quot;logistics_pay_type&quot;: &quot;0&quot;,
&quot;logistics_remark&quot;: &quot;&quot;,
&quot;vehicle_id&quot;: &quot;0&quot;,
&quot;sales_id&quot;: &quot;1&quot;,//销售员ID
&quot;sales_name&quot;: &quot;好员工1&quot;,//销售员
&quot;sales_mobile&quot;: &quot;17811110000&quot;,
&quot;sales_department_id&quot;: &quot;0&quot;,
&quot;sales_department_name&quot;: &quot;&quot;,
&quot;operation_id&quot;: &quot;3627&quot;,//制单人ID
&quot;operation_name&quot;: &quot;何丽兰&quot;,//制单人
&quot;operation_mobile&quot;: &quot;15801000000&quot;,
&quot;operation_department_id&quot;: 0,
&quot;operation_department_name&quot;: &quot;&quot;,
&quot;created_org_id&quot;: &quot;1&quot;,
&quot;updated_org_id&quot;: &quot;1&quot;,
&quot;created_at&quot;: &quot;2024-11-05 15:09:52&quot;,/制单时间
&quot;created_id&quot;: &quot;3594&quot;,
&quot;updated_at&quot;: &quot;1730790592&quot;,
&quot;updated_id&quot;: &quot;3594&quot;,
&quot;deleted&quot;: &quot;0&quot;,
&quot;print&quot;: &quot;0&quot;,
&quot;plan_delivery_date&quot;: &quot;2024-11-06&quot;,//预计交货日期
&quot;is_out_listing&quot;: &quot;2&quot;,
&quot;is_shop&quot;: &quot;2&quot;,
&quot;shop_user_id&quot;: &quot;&quot;,
&quot;shop_org_id&quot;: &quot;&quot;,
&quot;shop_user_name&quot;: &quot;&quot;,
&quot;is_wx&quot;: &quot;0&quot;,
&quot;wx_id&quot;: &quot;0&quot;,
&quot;contract_no&quot;: &quot;&quot;,
&quot;nail_approval_no&quot;: &quot;&quot;,
&quot;is_amortize&quot;: &quot;2&quot;,
&quot;pay_type&quot;: &quot;1&quot;,
&quot;order_sign&quot;: &quot;0&quot;,
&quot;customer_department_id&quot;: &quot;1006&quot;,//客户部门ID
&quot;customer_department_name&quot;: &quot;部门1006&quot;,//客户部门
&quot;customer_area_id&quot;: &quot;491&quot;,//客户区域ID
&#039;customer_area_idTxt&#039;:&#039;区域&#039;,//客户区域
&quot;customer_area_user_id&quot;: &quot;560&quot;,
&quot;approval_no&quot;: &quot;&quot;,
&quot;rebate_amount&quot;: &quot;0.00&quot;,
&quot;inner_app&quot;: &quot;2&quot;,
&quot;inner_org&quot;: &quot;0&quot;,
&quot;purchase_order_sn&quot;: &quot;&quot;,
&quot;buy_remark&quot;: &quot;&quot;,
&quot;quotation_group_id&quot;: &quot;0&quot;,
&quot;is_main_order&quot;: &quot;2&quot;,
&quot;batch_set&quot;: 1,
&quot;logistics_sales_order_setting&quot;: 2,
&quot;overdue_status&quot;: &quot;1&quot;,
&quot;pay_statusTxt&quot;: &quot;未预收&quot;,
&quot;clearing_methodTxt&quot;: &quot;付款出库&quot;,
&quot;statusTxt&quot;: &quot;待提交&quot;,
&quot;order_sign_name&quot;: &quot;&quot;,
&quot;distribution_methodTxt&quot;: &quot;&quot;,
&quot;usable_total_amount&quot;: &quot;0.00&quot;,
&quot;usable_total_amount_original&quot;: &quot;0.00&quot;,
&quot;payment_order_id&quot;: &quot;&quot;,
&quot;payment_order_sn&quot;: &quot;&quot;,
&quot;salesOrderSnStr&quot;: &quot;SO24103000001615&quot;,
&quot;salesOrderSnArr&quot;: [
{
&quot;id&quot;: &quot;1615&quot;,
&quot;order_sn&quot;: &quot;SO24103000001615&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;pay_statusTxt&quot;: &quot;未支付&quot;
}
],
&quot;partsList&quot;: [],
&quot;total_page&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>