销售预订单预收款请求接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>销售预订单预收款请求接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/dms/sales-quotation-order/pay-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;quotation_order_id&quot;: 1014,//销售预订单id
&quot;quotation_order_sn&quot;: &quot;SQ24110500001014&quot;,//销售预订单单号
&quot;buy_customer_id&quot;: 239947,//客户id
&quot;buy_customer_name&quot;: &quot;积分测试客户8877&quot;,//客户名称
&quot;supply_org_id&quot;: 1,//门店id
&quot;supplier_name&quot;: &quot;供应链集团&quot;,//门店名称
&quot;pay_time&quot;: &quot;2024-11-06 10:08:59&quot;,//收款时间
&quot;receivables_id&quot;: &quot;3627&quot;,//经办人id
&quot;total_amount&quot;: &quot;20.00&quot;,//订单金额
&quot;freeze_money&quot;: &quot;0.00&quot;,
&quot;pay_money&quot;: &quot;0.00&quot;,
&quot;conform_total_amount&quot;: &quot;0.00&quot;,
&quot;final_total_amount&quot;: &quot;0.00&quot;,
&quot;usable_total_amount&quot;: &quot;0.00&quot;,
&quot;usable_total_amount_original&quot;: &quot;0.00&quot;,
&quot;remark&quot;: &quot;&quot;,//收款备注
&quot;cash_receivables_way&quot;: 0,//现金账户id
&quot;cash_receivables_way_name&quot;: &quot;&quot;,
&quot;cash_amount&quot;: 0,//现金金额
&quot;bank_receivables_way&quot;: 0,//银行账户id
&quot;bank_receivables_way_name&quot;: &quot;&quot;,
&quot;bank_amount&quot;: 0,//银行金额
&quot;receivables_total_amount&quot;: 0,//收款金额合计
&quot;payment_order_id&quot;: &quot;&quot;,
&quot;payment_order_sn&quot;: &quot;&quot;,
&quot;payment_order_details_order_sn&quot;: &quot;&quot;,//预收款单号
&quot;payment_order_details_id&quot;: 0,//预收款单id
&quot;balance_amount&quot;: &quot;0&quot;,//余额
&quot;credit_amount&quot;: &quot;0&quot;,//信用额度
&quot;receivables_name&quot;: &quot;何丽兰&quot;,,//经办人
&quot;receivables_mobile&quot;: &quot;15801000000&quot;,,//经办人电话
&quot;payArr&quot;: {
&quot;wx_way&quot;: &quot;1&quot;,//微信支付是否开启 1开启 2关闭
&quot;alipay_way&quot;: &quot;2&quot;,//支付宝支付是否开启 1开启 2关闭
&quot;balance_way&quot;: &quot;1&quot;,//余额支付是否开启 1开启 2关闭
&quot;bank_transfer&quot;: &quot;2&quot;,//银行转账是否开启 1开启 2关闭
&quot;balance&quot;: {//余额
&quot;pay_type&quot;: &quot;1&quot;,
&quot;pay_method&quot;: 0,
&quot;pay_methodArr&quot;: [
{
&quot;id&quot;: 0,
&quot;name&quot;: &quot;余额&quot;
}
],
&quot;available_money&quot;: &quot;410.00&quot;,
&quot;pay_money&quot;: &quot;0.00&quot;
},
&quot;bank_way&quot;: {//银行账户
&quot;pay_type&quot;: &quot;2&quot;,
&quot;bank_type&quot;: &quot;1&quot;,//银行账户类型 1银行账号 2通联线上支付账号 3乐刷线上支付账号
&quot;pay_method&quot;: &quot;1634&quot;,
&quot;pay_methodArr&quot;: [
{
&quot;id&quot;: &quot;1634&quot;,
&quot;name&quot;: &quot;押金充值/提现&quot;,
&quot;payment_method&quot;: &quot;&quot;,
&quot;bank_type&quot;: &quot;1&quot;,//银行账户类型 1银行账号 2通联线上支付账号 3乐刷线上支付账号
},
{
&quot;id&quot;: &quot;3397&quot;,
&quot;name&quot;: &quot;账户3397&quot;,
&quot;payment_method&quot;: &quot;cib1_100&quot;,
&quot;bank_type&quot;: &quot;3&quot;,
},
{
&quot;id&quot;: &quot;3404&quot;,
&quot;name&quot;: &quot;银联 支付(测试)&quot;,
&quot;payment_method&quot;: &quot;&quot;,
&quot;bank_type&quot;: &quot;1&quot;,
},
{
&quot;id&quot;: &quot;1647&quot;,
&quot;name&quot;: &quot;押金转余额&quot;,
&quot;payment_method&quot;: &quot;&quot;,
&quot;bank_type&quot;: &quot;1&quot;
},
{
&quot;id&quot;: &quot;965&quot;,
&quot;name&quot;: &quot;银行OR乐刷充值/提现2&quot;,
&quot;payment_method&quot;: &quot;&quot;,
&quot;bank_type&quot;: &quot;1&quot;
},
{
&quot;id&quot;: &quot;1508&quot;,
&quot;name&quot;: &quot;应收账款核销&quot;,
&quot;payment_method&quot;: &quot;&quot;,
&quot;bank_type&quot;: &quot;1&quot;
}
],
&quot;pay_money&quot;: &quot;0.00&quot;
},
&quot;cash_way&quot;: {//现金账户
&quot;pay_type&quot;: &quot;3&quot;,
&quot;pay_method&quot;: &quot;3405&quot;,
&quot;pay_methodArr&quot;: [
{
&quot;id&quot;: &quot;3405&quot;,
&quot;name&quot;: &quot;测试账户(收付款)&quot;,
&quot;payment_method&quot;: &quot;&quot;
}
],
&quot;pay_money&quot;: &quot;0.00&quot;
},
&quot;credit&quot;: {//信用额度
&quot;pay_type&quot;: &quot;4&quot;,
&quot;pay_method&quot;: 0,
&quot;pay_methodArr&quot;: [
{
&quot;id&quot;: 0,
&quot;name&quot;: &quot;挂账&quot;
}
],
&quot;available_money&quot;: &quot;0.00&quot;,
&quot;pay_money&quot;: &quot;0.00&quot;
}
}
}
}
//支付中
{
&quot;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;quotation_order_id&quot;: 1014,
&quot;quotation_order_sn&quot;: &quot;SQ24110500001014&quot;,
&quot;buy_customer_id&quot;: 239947,
&quot;buy_customer_name&quot;: &quot;积分测试客户8877&quot;,
&quot;supply_org_id&quot;: 1,
&quot;supplier_name&quot;: &quot;供应链集团&quot;,
&quot;pay_time&quot;: &quot;2024-11-06 10:27:16&quot;,
&quot;receivables_id&quot;: &quot;3627&quot;,
&quot;total_amount&quot;: &quot;20.00&quot;,
&quot;freeze_money&quot;: &quot;15.00&quot;,
&quot;pay_money&quot;: &quot;0.00&quot;,
&quot;conform_total_amount&quot;: &quot;0.00&quot;,
&quot;final_total_amount&quot;: &quot;0.00&quot;,
&quot;usable_total_amount&quot;: &quot;0.00&quot;,
&quot;usable_total_amount_original&quot;: &quot;-15.00&quot;,
&quot;remark&quot;: &quot;&quot;,
&quot;cash_receivables_way&quot;: &quot;0&quot;,
&quot;cash_receivables_way_name&quot;: &quot;&quot;,
&quot;cash_amount&quot;: &quot;0.00&quot;,
&quot;bank_receivables_way&quot;: &quot;3397&quot;,//线上银行账户
&quot;bank_receivables_way_name&quot;: &quot;账户3397&quot;,
&quot;bank_amount&quot;: &quot;5.00&quot;,/银行金额
&quot;receivables_total_amount&quot;: &quot;20.00&quot;,
&quot;payment_order_id&quot;: &quot;187&quot;,
&quot;payment_order_sn&quot;: &quot;QCP24110600000187&quot;,
&quot;payment_order_details_order_sn&quot;: &quot;QCP24110600000187-1&quot;,
&quot;payment_order_details_id&quot;: &quot;262&quot;,
&quot;balance_amount&quot;: &quot;15.00&quot;,//余额
&quot;credit_amount&quot;: &quot;0.00&quot;,//信用额度
&quot;receivables_name&quot;: &quot;何丽兰&quot;,
&quot;receivables_mobile&quot;: &quot;15801000000&quot;,
&quot;payArr&quot;: {
&quot;balance&quot;: {
&quot;pay_type&quot;: &quot;1&quot;,
&quot;pay_method&quot;: 0,
&quot;pay_methodArr&quot;: [
{
&quot;id&quot;: 0,
&quot;name&quot;: &quot;余额&quot;
}
],
&quot;pay_money&quot;: &quot;0.00&quot;
},
&quot;bank_way&quot;: {
&quot;pay_type&quot;: &quot;2&quot;,
&quot;pay_method&quot;: &quot;1634&quot;,
&quot;pay_methodArr&quot;: [
{
&quot;id&quot;: &quot;1634&quot;,
&quot;name&quot;: &quot;押金充值/提现&quot;,
&quot;payment_method&quot;: &quot;&quot;
},
{
&quot;id&quot;: &quot;3397&quot;,
&quot;name&quot;: &quot;账户3397&quot;,
&quot;payment_method&quot;: &quot;cib1_100&quot;
},
{
&quot;id&quot;: &quot;3404&quot;,
&quot;name&quot;: &quot;银联 支付(测试)&quot;,
&quot;payment_method&quot;: &quot;&quot;
},
{
&quot;id&quot;: &quot;1647&quot;,
&quot;name&quot;: &quot;押金转余额&quot;,
&quot;payment_method&quot;: &quot;&quot;
},
{
&quot;id&quot;: &quot;965&quot;,
&quot;name&quot;: &quot;银行OR乐刷充值/提现2&quot;,
&quot;payment_method&quot;: &quot;&quot;
},
{
&quot;id&quot;: &quot;1508&quot;,
&quot;name&quot;: &quot;应收账款核销&quot;,
&quot;payment_method&quot;: &quot;&quot;
}
],
&quot;pay_money&quot;: &quot;0.00&quot;
},
&quot;cash_way&quot;: {
&quot;pay_type&quot;: &quot;3&quot;,
&quot;pay_method&quot;: &quot;3405&quot;,
&quot;pay_methodArr&quot;: [
{
&quot;id&quot;: &quot;3405&quot;,
&quot;name&quot;: &quot;测试账户(收付款)&quot;,
&quot;payment_method&quot;: &quot;&quot;
}
],
&quot;pay_money&quot;: &quot;0.00&quot;
},
&quot;credit&quot;: {
&quot;pay_type&quot;: &quot;4&quot;,
&quot;pay_method&quot;: 0,
&quot;pay_methodArr&quot;: [
{
&quot;id&quot;: 0,
&quot;name&quot;: &quot;挂账&quot;
}
],
&quot;pay_money&quot;: &quot;0.00&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>