小程序用户改用门店登录

This commit is contained in:
liu
2026-08-20 13:46:04 +08:00
parent 6d9f02d831
commit c1d490134e
251 changed files with 689 additions and 2727 deletions
+23 -1
View File
@@ -43,6 +43,28 @@ const StorePage: React.FC = () => {
valueType: 'text',
hideInForm: true
},
{
title: '登录账号',
dataIndex: 'username',
valueType: 'text',
required: true,
rules: [
{ required: true, message: '请输入登录账号' },
{ min: 4, max: 20, message: '账号长度为 4~20 个字符' },
],
fieldProps: { placeholder: '小程序端登录账号' },
},
{
title: '登录密码',
dataIndex: 'password',
valueType: 'password',
hideInTable: true,
hideInSearch: true,
rules: [
{ min: 6, max: 20, message: '密码长度为 6~20 位' },
],
fieldProps: { placeholder: '创建必填;编辑留空则不修改' },
},
{
title: '客户等级',
dataIndex: 'level_id',
@@ -141,7 +163,7 @@ const StorePage: React.FC = () => {
<>
<div className="mb-5">
<Title level={3}></Title>
<Text type="secondary"></Text>
<Text type="secondary">/</Text>
</div>
<XinTable<IStore> {...tableProps} />
</>