feat:【antd】【erp 系统】purchase/in 重构 4/4

This commit is contained in:
YunaiV
2025-10-04 20:37:30 +08:00
parent f7c0b41199
commit ff2f176917
5 changed files with 86 additions and 70 deletions

View File

@@ -189,7 +189,6 @@ export function useFormSchema(formType: string): VbenFormSchema[] {
component: 'ApiSelect',
componentProps: {
placeholder: '请选择结算账户',
disabled: true,
allowClear: true,
showSearch: true,
api: getAccountSimpleList,
@@ -414,6 +413,21 @@ export function useGridFormSchema(): VbenFormSchema[] {
allowClear: true,
},
},
{
fieldName: 'accountId',
label: '结算账户',
component: 'ApiSelect',
componentProps: {
placeholder: '请选择结算账户',
allowClear: true,
showSearch: true,
api: getAccountSimpleList,
fieldNames: {
label: 'name',
value: 'id',
},
},
},
{
fieldName: 'paymentStatus',
label: '付款状态',