fix: crm todo

This commit is contained in:
xingyu4j
2025-09-05 13:16:29 +08:00
parent 2daebde092
commit 2369f06654
5 changed files with 76 additions and 6 deletions

View File

@@ -46,6 +46,7 @@ export function useFormSchema(): VbenFormSchema[] {
value: 'id',
},
placeholder: '请选择负责人',
allowClear: true,
},
defaultValue: userStore.userInfo?.id,
},
@@ -164,13 +165,16 @@ export function useFormSchema(): VbenFormSchema[] {
}
/** 列表的搜索表单 */
// TODO @xingyu缺少 placeholder
export function useGridFormSchema(): VbenFormSchema[] {
return [
{
fieldName: 'no',
label: '回款编号',
component: 'Input',
componentProps: {
placeholder: '请输入回款编号',
allowClear: true,
},
},
{
fieldName: 'customerId',
@@ -183,6 +187,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
value: 'id',
},
placeholder: '请选择客户',
allowClear: true,
},
},
];