付款单详情
<h5>简要描述</h5>
<ul>
<li>付款单详情</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/dms/payment/payment-view?id=134303</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;">整型</td>
<td>付款单ID</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"id": "134303",
"order_sn": "CP21102100134303",
"order_type": "3",
"relate_id": "93229",
"relate_sn": "SO21102100093229",
"sales_org_id": "1",
"sales_org_name": "测试优配车联", // 收款方
"sales_org_address": "",
"sales_type": "1",
"supplier_id": "0",
"supplier_name": "",
"purchase_org_id": "63070",
"purchase_org_name": "小陈", // 付款方
"purchase_org_address": "",
"purchase_type": "4",
"customer_id": "0",
"customer_name": "",
"receivables_id": "941",
"receivables_name": "陈鸿鑫",
"receivables_mobile": "15194113609",
"receivables_remark": "",
"payment_id": "0",
"payment_name": "",
"payment_mobile": "",
"payment_remark": "", // 付款备注
"warehouse_id": "0",
"warehouse_name": "",
"total_amount": "10.00",
"balance_amount": "0.00",
"rebate_way": "0",
"rebate_balance_amount": "0.0000",
"cash_receivables_way": "1002",
"cash_payment_way": "0",
"cash_amount": "10.00",
"bank_receivables_way": "0",
"bank_payment_way": "0",
"bank_amount": "0.00",
"actual_total_amount": "10.00", // 付款金额
"is_credit_note": "0", // 是否红冲
"is_check": "0",
"check_time": "0",
"pay_status": "0",
"online_receivables_way": "",
"online_amount": "0.00",
"pay_time": "2021-10-21 09:25:39", // 支付时间
"is_billed": "0",
"invoice_id": "0",
"cashout_order_id": "0",
"created_org_id": "1",
"updated_org_id": "1",
"created_at": "1634779539",
"created_id": "755",
"updated_at": "1634779539",
"updated_id": "755",
"deleted": "0",
"created_user": "陈鸿鑫",
"updated_user": "陈鸿鑫",
"created_time": "2021-10-21 09:25:39", // 制单时间
"updated_time": "2021-10-21 09:25:39",
"cash_payment_way_name": "",
"bank_payment_way_name": "",
"cash_receivables_way_name": "现金2", // 收款账户(现金)
"bank_receivables_way_name": "", // 收款账户(银行)
"payment_type": 1,
"receivables_type": 1,
"payment_way": "0",
"receivables_way": "1002",
"payment_type_name": "现金账户",
"receivables_type_name": "现金账户",
"payment_way_name": "",
"receivables_way_name": "现金2",
"sales_org_type_name": "公司总部",
"purchase_org_type_name": "客户",
"is_credit_note_name": "否",
"check_status_name": "已支付",
"order_amount": "10.00",
"check_amount": "10.00",
"uncheck_amount": "0.00",
"promotion_amount": 0,
"final_order_amount": "10.00",
"sales_order_sn": "SO21102100093229",
"order_type_name": "销售单收款",
"type_name": "现金账户",
"way_name": "现金2",
"credit_note_money": "0.00",
"order_total_amount": "10.00",
"submit_total_amount": "10.00",
"check_total_amount": "10.00",
"uncheck_total_amount": "0.00",
"order_list": [
{
"id": 0,
"account_payment_id": 0,
"order_sn": "SO21102100093229", // 单号
"account_payment_sn": "SO21102100093229",
"stock_order_sn": "", // 出入库单号
"credit_start_time": "2021-10-21", // 信用生效日
"credit_end_time": "2021-10-21", // 信用到期日
"pay_status_name": "已核销", // 支付状态
"created_time": "2021-10-21 09:24:11", // 制单日期
"order_amount": "10.00", // 订单金额
"submit_amount": "10.00", //
"current_amount": "10.00", // 结算金额
"check_amount": "10.00", // 已付款金额
"uncheck_amount": "0.00" // 未结余额
}
],
"log_list": []
}
}</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>