物料新增+用户修改

This commit is contained in:
2026-03-03 11:37:26 +08:00
parent cbd73d4312
commit 7785356347
5 changed files with 470 additions and 152 deletions

View File

@@ -53,16 +53,6 @@ const columns: ColumnItem[] = reactive([
maxLength: 64,
},
},
{
label: '昵称',
field: 'nickname',
type: 'input',
span: 24,
required: true,
props: {
maxLength: 30,
},
},
{
label: '密码',
field: 'password',
@@ -85,13 +75,10 @@ const columns: ColumnItem[] = reactive([
},
},
{
label: '邮箱',
field: 'email',
label: '卡号',
field: 'cardNo',
type: 'input',
span: 24,
props: {
maxLength: 255,
},
},
{
label: '性别',
@@ -102,25 +89,6 @@ const columns: ColumnItem[] = reactive([
options: GenderList,
},
},
{
label: '所属部门',
field: 'deptId',
type: 'tree-select',
span: 24,
required: true,
props: {
data: deptList,
allowClear: true,
allowSearch: true,
fallbackOption: false,
filterTreeNode(searchKey: string, nodeData: TreeNodeData) {
if (nodeData.title) {
return nodeData.title.toLowerCase().includes(searchKey.toLowerCase())
}
return false
},
},
},
{
label: '角色',
field: 'roleIds',