更新审批表单

This commit is contained in:
yaooo 2023-11-02 10:59:55 +08:00
parent 5e05660ec5
commit 0d5e679a23
1 changed files with 74 additions and 1 deletions

View File

@ -1425,7 +1425,7 @@ class OaApprove extends ApiController
], ],
]; ];
break; break;
case 11: case 12:
//借款申请 //借款申请
$field = [ $field = [
'amount' => [ 'amount' => [
@ -1493,6 +1493,79 @@ class OaApprove extends ApiController
], ],
]; ];
break; break;
case 13:
//付款申请
$field = [
'amount' => [
'title' => '付款金额',
'type' => 'input',
'item' => (object)[]
],
'detail_type' => [
'title' => '付款方式',
'type' => 'select',
'item' => [
1 => '银行卡',
2 => '现金',
3 => '汇票',
4 => '电汇',
5 => '贷记',
6 => '支票',
7 => '其他',
]
],
'detail_time' => [
'title' => '付款日期',
'type' => 'input',
'item' => (object)[]
],
'name' => [
'title' => '收款人全称',
'type' => 'input',
'item' => (object)[]
],
'bank' => [
'title' => '银行账号',
'type' => 'input',
'item' => (object)[]
],
'address' => [
'title' => '开户行',
'type' => 'input',
'item' => (object)[]
],
'content' => [
'title' => '付款事由',
'type' => 'textarea',
'item' => (object)[]
],
'remark' => [
'title' => '备注',
'type' => 'textarea',
'item' => (object)[]
],
'file_ids' => [
'title' => '附件',
'type' => 'file',
'item' => (object)[]
],
'flow_id' => [
'title' => '审批流程',
'type' => 'select',
'item' => $flowMap
],
'check_admin_ids' => [
'title' => '审核人',
'type' => 'select',
'item' => (object)[]
],
'copy_uids' => [
'title' => '抄送人',
'type' => 'select',
'item' => (object)[]
],
];
break;
default: default:
$field = []; $field = [];
} }