feat:【mall 商城】分销用户的 create 迁移(antd 40%)
This commit is contained in:
@@ -150,3 +150,21 @@ export function useGridColumns<T = MallBrokerageUserApi.BrokerageUser>(
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
/** 创建分销员表单配置 */
|
||||
export function useCreateFormSchema(): VbenFormSchema[] {
|
||||
return [
|
||||
{
|
||||
fieldName: 'userId',
|
||||
label: '分销员编号',
|
||||
component: 'InputSearch',
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
fieldName: 'bindUserId',
|
||||
label: '上级推广员编号',
|
||||
component: 'InputSearch',
|
||||
rules: 'required',
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user