|
@@ -46,12 +46,14 @@ const formConfig: FormConfigType[] = [
|
|
|
const data = await getCorporationPageApi({ searchAll: true })
|
|
|
return data.records
|
|
|
},
|
|
|
+ placeholder: props.disabled ? '' : undefined,
|
|
|
rule: [{ required: true, message: '归属公司id不能为空', trigger: 'blur' }]
|
|
|
},
|
|
|
{
|
|
|
type: 'slot',
|
|
|
prop: 'deptId',
|
|
|
label: '归属部门',
|
|
|
+ placeholder: props.disabled ? '' : undefined,
|
|
|
rule: [{ required: true, message: '部门id不能为空', trigger: 'blur' }]
|
|
|
},
|
|
|
{
|
|
@@ -59,6 +61,7 @@ const formConfig: FormConfigType[] = [
|
|
|
prop: 'type',
|
|
|
label: '请款类型',
|
|
|
dict: 'payment_requests_type',
|
|
|
+ placeholder: props.disabled ? '' : undefined,
|
|
|
rule: [{ required: true, message: '请款类型不能为空', trigger: 'blur' }]
|
|
|
},
|
|
|
{
|
|
@@ -67,7 +70,8 @@ const formConfig: FormConfigType[] = [
|
|
|
label: '用款时间',
|
|
|
datePickerType: 'datetime',
|
|
|
format: 'YYYY-MM-DD 00:00:00',
|
|
|
- valueFormat: 'YYYY-MM-DD 00:00:00'
|
|
|
+ valueFormat: 'YYYY-MM-DD 00:00:00',
|
|
|
+ placeholder: props.disabled ? '' : undefined
|
|
|
},
|
|
|
{
|
|
|
type: 'input',
|
|
@@ -83,13 +87,15 @@ const formConfig: FormConfigType[] = [
|
|
|
type: 'slot',
|
|
|
prop: 'atts',
|
|
|
label: '上传附件',
|
|
|
- span: 24
|
|
|
+ span: 24,
|
|
|
+ placeholder: props.disabled ? '' : undefined
|
|
|
},
|
|
|
{
|
|
|
type: 'slot',
|
|
|
prop: 'detailTable',
|
|
|
label: '请款明细',
|
|
|
- span: 24
|
|
|
+ span: 24,
|
|
|
+ placeholder: props.disabled ? '' : undefined
|
|
|
},
|
|
|
{
|
|
|
type: 'input',
|
|
@@ -104,6 +110,7 @@ const formConfig: FormConfigType[] = [
|
|
|
label: '单据数量',
|
|
|
min: 0,
|
|
|
precision: 0,
|
|
|
+ placeholder: props.disabled ? '' : undefined,
|
|
|
rule: [{ required: true, message: '单据数量不能为空', trigger: 'blur' }]
|
|
|
},
|
|
|
{
|
|
@@ -111,6 +118,7 @@ const formConfig: FormConfigType[] = [
|
|
|
prop: 'payType',
|
|
|
label: '付款方式',
|
|
|
dict: 'pay_type',
|
|
|
+ placeholder: props.disabled ? '' : undefined,
|
|
|
rule: [{ required: true, message: '付款方式不能为空', trigger: 'blur' }]
|
|
|
},
|
|
|
{
|
|
@@ -122,27 +130,32 @@ const formConfig: FormConfigType[] = [
|
|
|
async option() {
|
|
|
const data = await getCapitalAccountPageApi({ searchAll: true })
|
|
|
return data.records
|
|
|
- }
|
|
|
+ },
|
|
|
+ placeholder: props.disabled ? '' : undefined
|
|
|
},
|
|
|
{
|
|
|
type: 'input',
|
|
|
prop: 'accountName',
|
|
|
- label: '户名'
|
|
|
+ label: '户名',
|
|
|
+ placeholder: props.disabled ? '' : undefined
|
|
|
},
|
|
|
{
|
|
|
type: 'input',
|
|
|
prop: 'account',
|
|
|
- label: '银行账号'
|
|
|
+ label: '银行账号',
|
|
|
+ placeholder: props.disabled ? '' : undefined
|
|
|
},
|
|
|
{
|
|
|
type: 'input',
|
|
|
prop: 'depositBank',
|
|
|
- label: '开户银行'
|
|
|
+ label: '开户银行',
|
|
|
+ placeholder: props.disabled ? '' : undefined
|
|
|
},
|
|
|
{
|
|
|
type: 'input',
|
|
|
prop: 'correspondentNumber',
|
|
|
- label: '联行号/SWIFT Code'
|
|
|
+ label: '联行号/SWIFT Code',
|
|
|
+ placeholder: props.disabled ? '' : undefined
|
|
|
}
|
|
|
]
|
|
|
|