小程序用户改用门店登录
This commit is contained in:
@@ -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} />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user