Home - 其他付款单的付款申请单
最后修改者: huangyingliang 2026-08-05 15:57:09
编辑已完成其他付款单付款申请单
编号 : 037
POST - https://fl.tp6.hyj111.cn/admin/journalOtherPaymentRequest/editCompletedPayment
headers下token必传
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 其他付款单付款申请单ID | |
| voucher_image | array | Y | [] | 付款凭证图片数组,使用上传接口返回的图片地址数组 |
| image | array | N | [] | 前端兼容字段;voucher_image为空时读取image |
| remark | string | Y | 财务打款摘要,并同步到其他付款单摘要 |
返回值
{
"status": 200,
"msg": "编辑已完成其他付款单付款申请单成功",
"data": {
"id": 1,
"status": "completed",
"status_name": "已完成"
}
}
备注
仅 admin_name=13817813691 且申请单状态为 completed 时允许操作;申请单状态保持 completed,更新申请单凭证和摘要;如果 journal_transaction_id 对应的统一其他付款流水仍存在,则同步更新流水的凭证和摘要。
最后修改者: huangyingliang 2026-08-05 15:57:09
财务确认其他付款单打款
编号 : 036
POST - https://fl.tp6.hyj111.cn/admin/journalOtherPaymentRequest/financeComplete
headers下token必传
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 其他付款单付款申请单ID | |
| voucher_image | array | Y | [] | 付款凭证图片数组,使用上传接口返回的图片地址数组 |
| image | array | N | [] | 前端兼容字段;voucher_image为空时读取image |
| remark | string | Y | 财务打款摘要,并同步到其他付款单摘要 | |
| payment_date | string | N | 默认申请单付款日期 | 实际付款日期,格式Y-m-d;不传使用申请单付款日期 |
返回值
{
"status": 200,
"msg": "其他付款单付款申请单打款完成",
"data": {
"id": 1,
"journal_transaction_id": 100,
"status": "completed",
"status_name": "已完成"
}
}
备注
仅 pending_payment 可以确认打款;确认后复用统一其他付款单新增逻辑生成 bbc_journal_transaction,状态写 completed。
最后修改者: huangyingliang 2026-08-05 15:57:09
作废其他付款单付款申请单
编号 : 035
POST - https://fl.tp6.hyj111.cn/admin/journalOtherPaymentRequest/cancel
headers下token必传
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | N | 其他付款单付款申请单ID,单个作废时传 | |
| ids | array|string | N | [] | 其他付款单付款申请单ID数组或逗号分隔字符串,批量作废时传 |
返回值
{
"status": 200,
"msg": "作废其他付款单付款申请单成功",
"data": []
}
备注
pending_review 或 pending_payment 可以作废;作废后数据库状态仍写 rejected,驳回原因为空。
最后修改者: huangyingliang 2026-08-05 15:57:09
老板审核其他付款单付款申请单
编号 : 034
POST - https://fl.tp6.hyj111.cn/admin/journalOtherPaymentRequest/bossReview
headers下token必传
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | N | 其他付款单付款申请单ID,单个审核时传 | |
| ids | array|string | N | [] | 其他付款单付款申请单ID数组或逗号分隔字符串,批量审核时传 |
| action | string | Y | approve | 审核动作:approve=通过,reject=驳回 |
| reject_reason | string | N | 驳回原因,action=reject时必填 |
返回值
{
"status": 200,
"msg": "其他付款单付款申请单审核成功",
"data": {
"next_review_journal_other_payment_request_id": 0
}
}
备注
仅 pending_review 可以审核;通过后进入 pending_payment;驳回后进入 rejected。单个审核时返回 next_review_journal_other_payment_request_id。下一个待审核其他付款单付款申请单ID会按当前申请单platform_type继续过滤,平台单只返回平台待审核单,第三方单只返回第三方待审核单。
最后修改者: huangyingliang 2026-08-05 15:57:09
编辑其他付款单付款申请单
编号 : 033
POST - https://fl.tp6.hyj111.cn/admin/journalOtherPaymentRequest/edit
headers下token必传
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 其他付款单付款申请单ID | |
| platform_type | string | Y | 平台类型:platform=平台,third_party=第三方 | |
| company_info_bank_id | int | N | 付款账号ID,对应bbc_company_info_bank.id;和付款账号银行卡号二选一 | |
| card_info_bank_account | string | N | 付款账号银行卡号;和付款账号ID二选一 | |
| payment_price | decimal | Y | 付款金额,最多两位小数 | |
| payment_date | string | N | 付款日期,格式Y-m-d;不传默认当天 | |
| payment_category_id | int | N | 付款类目ID,对应bbc_journal_payment_category.id;优先使用本次传入值 | |
| external_contact_id | int | Y | 外部联络人ID,对应bbc_external_contact.id | |
| purpose | string | Y | 用途,手动输入 |
返回值
{
"status": 200,
"msg": "编辑其他付款单付款申请单成功",
"data": {
"id": 1,
"request_no": "JOPR202607250930001234",
"status": "pending_review",
"status_name": "待审核"
}
}
备注
仅 pending_review 的其他付款单付款申请单可以编辑;platform_type 为必传平台类型字段;external_contact_id 仅用于更新收款信息快照,外部联络人不再绑定付款类目;payment_category_id 优先使用本次传入值,未传时保留申请单原付款类目。
最后修改者: huangyingliang 2026-08-05 15:57:09
添加其他付款单付款申请单
编号 : 032
POST - https://fl.tp6.hyj111.cn/admin/journalOtherPaymentRequest/add
headers下token必传
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| platform_type | string | Y | 平台类型:platform=平台,third_party=第三方 | |
| company_info_bank_id | int | N | 付款账号ID,对应bbc_company_info_bank.id;和付款账号银行卡号二选一 | |
| card_info_bank_account | string | N | 付款账号银行卡号;和付款账号ID二选一 | |
| payment_price | decimal | Y | 付款金额,最多两位小数 | |
| payment_date | string | N | 默认当天 | 付款日期,格式Y-m-d;不传默认当天 |
| payment_category_id | int | N | 付款类目ID,对应bbc_journal_payment_category.id;优先使用本次传入值 | |
| external_contact_id | int | Y | 外部联络人ID,对应bbc_external_contact.id | |
| purpose | string | Y | 用途,手动输入 |
返回值
{
"status": 200,
"msg": "添加其他付款单付款申请单成功",
"data": {
"id": 1,
"request_no": "JOPR202607250930001234",
"status": "pending_review",
"status_name": "待审核"
}
}
备注
新增后状态为 pending_review;用途 purpose 为手动输入字段;platform_type 为必传平台类型字段;external_contact_id 仅用于保存收款信息快照,外部联络人不再绑定付款类目;payment_category_id 优先使用本次传入值,未传时仅兼容回退旧联系人历史付款类目ID。
最后修改者: huangyingliang 2026-08-05 15:57:09
其他付款单付款申请单列表
编号 : 031
GET - https://fl.tp6.hyj111.cn/admin/journalOtherPaymentRequest/lists
headers下token必传
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| page | int | N | 1 | 页码 |
| pageSize | int | N | 10 | 每页显示数 |
| id | int | N | 其他付款单付款申请单ID | |
| status | string | N | 状态:pending_review=待审核,pending_payment=待打款,completed=已完成,rejected=驳回 | |
| platform_type | string | N | 平台类型:platform=平台,third_party=第三方 | |
| company_info_id | int | N | 付款主体ID,对应bbc_company_info.id | |
| company_info_bank_id | int | N | 付款账号ID,对应bbc_company_info_bank.id | |
| external_contact_id | int | N | 外部联络人ID,对应bbc_external_contact.id | |
| payment_category_id | int | N | 付款类目ID,对应bbc_journal_payment_category.id | |
| journal_transaction_id | int | N | 生成的其他付款单ID,对应bbc_journal_transaction.id | |
| account_info | string | N | 账户关键词:付款主体、付款账号、外部联络人收款信息、卡号、开户行 | |
| external_contact_info | string | N | 外部联络人关键词:收款人、卡号、开户行 | |
| purpose | string | N | 用途,模糊查询 | |
| payment_date_start | string | N | 付款开始日期,格式Y-m-d | |
| payment_date_end | string | N | 付款结束日期,格式Y-m-d | |
| created_at_start | string | N | 申请开始时间,格式Y-m-d H:i:s | |
| created_at_end | string | N | 申请结束时间,格式Y-m-d H:i:s |
返回值
{
"status": 200,
"msg": "获取其他付款单付款申请单列表成功",
"data": {
"total": 1,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"data": [
{
"status_name": "待审核",
"id": 1,
"request_no": "JOPR202607250930001234",
"status": "pending_review",
"platform_type": "platform",
"company_info_id": 1,
"company_name": "南通飞驴网络科技有限公司",
"company_short_name": "飞驴",
"company_info_bank_id": 1,
"payment_account_name": "南通飞驴网络科技有限公司",
"payment_account": "8888 8883 7102 6715",
"payment_bank_name": "浙江网商银行",
"payment_date": "2026-07-25",
"payment_price": "100.00",
"payment_category_id": 149,
"payment_category_name": "办公费",
"external_contact_id": 1,
"external_contact_payee_name": "张三",
"external_contact_bank_account": "6222 0000 0000 0000",
"external_contact_bank_name": "中国银行南通支行",
"purpose": "快递费",
"remark": "",
"voucher_image": [],
"journal_transaction_id": 0,
"can_edit_completed_payment": false,
"created_at": "2026-07-25 09:30:00",
"updated_at": "2026-07-25 09:30:00"
}
],
"status_options": {
"pending_review": "待审核",
"pending_payment": "待打款",
"completed": "已完成",
"rejected": "驳回"
}
}
}
备注
返回 data 为分页对象;status_options 为状态枚举;每条数据的 can_edit_completed_payment 表示当前账号是否可以编辑该已完成申请单的付款凭证和摘要。