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

@@ -240,18 +240,25 @@ export function useFormSchema(): VbenFormSchema[] {
}
/** 列表的搜索表单 */
// TODO @xingyu缺少 placeholder
export function useGridFormSchema(): VbenFormSchema[] {
return [
{
fieldName: 'no',
label: '合同编号',
component: 'Input',
componentProps: {
placeholder: '请输入合同编号',
allowClear: true,
},
},
{
fieldName: 'name',
label: '合同名称',
component: 'Input',
componentProps: {
placeholder: '请输入合同名称',
allowClear: true,
},
},
{
fieldName: 'customerId',
@@ -264,6 +271,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
value: 'id',
},
placeholder: '请选择客户',
allowClear: true,
},
},
];