Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
0d89d2ce
Commit
0d89d2ce
authored
Jun 21, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改注册手机号判断及提示
parent
165a22b1
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
12 additions
and
12 deletions
+12
-12
customerAbility.ts
src/locales/en-US/customerAbility.ts
+1
-1
member.ts
src/locales/en-US/member.ts
+1
-1
supplier.ts
src/locales/en-US/supplier.ts
+1
-1
customerAbility.ts
src/locales/ko-KR/customerAbility.ts
+1
-1
member.ts
src/locales/ko-KR/member.ts
+1
-1
supplier.ts
src/locales/ko-KR/supplier.ts
+1
-1
customerAbility.ts
src/locales/zh-CN/customerAbility.ts
+1
-1
member.ts
src/locales/zh-CN/member.ts
+1
-1
supplier.ts
src/locales/zh-CN/supplier.ts
+1
-1
index.tsx
...tomerAbility/memberImport/components/MemberForm/index.tsx
+1
-1
index.tsx
...pages/member/memberImport/components/MemberForm/index.tsx
+1
-1
index.tsx
...ges/supplier/memberImport/components/MemberForm/index.tsx
+1
-1
No files found.
src/locales/en-US/customerAbility.ts
View file @
0d89d2ce
...
...
@@ -30,7 +30,7 @@ export default {
'customerAbility.management.import.query.form.basic.phone'
:
'Registered phone'
,
'customerAbility.management.import.query.form.basic.phone.placeholder'
:
'Please enter your mobile phone number'
,
'customerAbility.management.import.query.form.basic.phone.rules-fact'
:
'Please enter the phone number in the correct format'
,
'customerAbility.management.import.query.form.basic.phone.max'
:
'The registered mobile number
exceeds
{len} digits'
,
'customerAbility.management.import.query.form.basic.phone.max'
:
'The registered mobile number
is not equal to
{len} digits'
,
'customerAbility.management.import.query.form.basic.email'
:
'Mailbox'
,
'customerAbility.management.import.query.form.basic.email.rules-fact'
:
'Please enter the correct email format'
,
'customerAbility.management.import.query.form.channel'
:
'Channel Information'
,
...
...
src/locales/en-US/member.ts
View file @
0d89d2ce
...
...
@@ -32,7 +32,7 @@ export default {
'member.management.import.query.form.basic.phone'
:
'Registered phone'
,
'member.management.import.query.form.basic.phone.placeholder'
:
'Please enter your mobile phone number'
,
'member.management.import.query.form.basic.phone.rules-fact'
:
'Please enter the phone number in the correct format'
,
'member.management.import.query.form.basic.phone.max'
:
'The registered mobile number
exceeds
{len} digits'
,
'member.management.import.query.form.basic.phone.max'
:
'The registered mobile number
is not equal to
{len} digits'
,
'member.management.import.query.form.basic.email'
:
'Mailbox'
,
'member.management.import.query.form.basic.email.rules-fact'
:
'Please enter the correct email format'
,
'member.management.import.query.form.channel'
:
'Channel Information'
,
...
...
src/locales/en-US/supplier.ts
View file @
0d89d2ce
...
...
@@ -171,5 +171,5 @@ export default {
// 供应商管理 - 供应商导入
'supplier.management.import.query.form.basic.phone.placeholder'
:
'Please enter your mobile phone number'
,
'supplier.management.import.query.form.basic.phone.max'
:
'The registered mobile number
exceeds
{len} digits'
,
'supplier.management.import.query.form.basic.phone.max'
:
'The registered mobile number
is not equal to
{len} digits'
,
};
src/locales/ko-KR/customerAbility.ts
View file @
0d89d2ce
...
...
@@ -31,7 +31,7 @@ export default {
'customerAbility.management.import.query.form.basic.phone'
:
'휴대폰 등록'
,
'customerAbility.management.import.query.form.basic.phone.placeholder'
:
'핸드폰 번호를 입력하세요.'
,
'customerAbility.management.import.query.form.basic.phone.rules-fact'
:
'정확한 형식의 핸드폰 번호를 입력하세요'
,
'customerAbility.management.import.query.form.basic.phone.max'
:
'
{len}자리 이상의 등록된 휴대폰 번호
'
,
'customerAbility.management.import.query.form.basic.phone.max'
:
'
등록된 휴대전화 번호가 {len}자리가 아닙니다.
'
,
'customerAbility.management.import.query.form.basic.email'
:
'우편함'
,
'customerAbility.management.import.query.form.basic.email.rules-fact'
:
'올바른 형식의 메일박스를 입력하십시오'
,
'customerAbility.management.import.query.form.channel'
:
'채널 정보'
,
...
...
src/locales/ko-KR/member.ts
View file @
0d89d2ce
...
...
@@ -32,7 +32,7 @@ export default {
'member.management.import.query.form.basic.phone'
:
'휴대폰 등록'
,
'member.management.import.query.form.basic.phone.placeholder'
:
'핸드폰 번호를 입력하세요.'
,
'member.management.import.query.form.basic.phone.rules-fact'
:
'정확한 형식의 핸드폰 번호를 입력하세요'
,
'member.management.import.query.form.basic.phone.max'
:
'
{len}자리 이상의 등록된 휴대폰 번호
'
,
'member.management.import.query.form.basic.phone.max'
:
'
등록된 휴대전화 번호가 {len}자리가 아닙니다.
'
,
'member.management.import.query.form.basic.email'
:
'우편함'
,
'member.management.import.query.form.basic.email.rules-fact'
:
'올바른 형식의 메일박스를 입력하십시오'
,
'member.management.import.query.form.channel'
:
'채널 정보'
,
...
...
src/locales/ko-KR/supplier.ts
View file @
0d89d2ce
...
...
@@ -165,5 +165,5 @@ export default {
// 供应商管理 - 供应商导入
'supplier.management.import.query.form.basic.phone.placeholder'
:
'핸드폰 번호를 입력하세요.'
,
'supplier.management.import.query.form.basic.phone.max'
:
'
{len}자리 이상의 등록된 휴대폰 번호
'
,
'supplier.management.import.query.form.basic.phone.max'
:
'
등록된 휴대전화 번호가 {len}자리가 아닙니다.
'
,
};
src/locales/zh-CN/customerAbility.ts
View file @
0d89d2ce
...
...
@@ -32,7 +32,7 @@ export default {
'customerAbility.management.import.query.form.basic.phone'
:
'注册手机'
,
'customerAbility.management.import.query.form.basic.phone.placeholder'
:
'请输入你的手机号码'
,
'customerAbility.management.import.query.form.basic.phone.rules-fact'
:
'请输入正确格式的手机号'
,
'customerAbility.management.import.query.form.basic.phone.max'
:
'注册手机号
超出
{len}位数'
,
'customerAbility.management.import.query.form.basic.phone.max'
:
'注册手机号
不等于
{len}位数'
,
'customerAbility.management.import.query.form.basic.email'
:
'邮箱'
,
'customerAbility.management.import.query.form.basic.email.rules-fact'
:
'请输入正确格式的邮箱'
,
'customerAbility.management.import.query.form.channel'
:
'渠道信息'
,
...
...
src/locales/zh-CN/member.ts
View file @
0d89d2ce
...
...
@@ -32,7 +32,7 @@ export default {
'member.management.import.query.form.basic.phone'
:
'注册手机'
,
'member.management.import.query.form.basic.phone.placeholder'
:
'请输入你的手机号码'
,
'member.management.import.query.form.basic.phone.rules-fact'
:
'请输入正确格式的手机号'
,
'member.management.import.query.form.basic.phone.max'
:
'注册手机号
超出
{len}位数'
,
'member.management.import.query.form.basic.phone.max'
:
'注册手机号
不等于
{len}位数'
,
'member.management.import.query.form.basic.email'
:
'邮箱'
,
'member.management.import.query.form.basic.email.rules-fact'
:
'请输入正确格式的邮箱'
,
'member.management.import.query.form.channel'
:
'渠道信息'
,
...
...
src/locales/zh-CN/supplier.ts
View file @
0d89d2ce
...
...
@@ -256,5 +256,5 @@ export default {
// 供应商管理 - 供应商导入
'supplier.management.import.query.form.basic.phone.placeholder'
:
'请输入你的手机号码'
,
'supplier.management.import.query.form.basic.phone.max'
:
'注册手机号
超出
{len}位数'
,
'supplier.management.import.query.form.basic.phone.max'
:
'注册手机号
不等于
{len}位数'
,
};
src/pages/customerAbility/memberImport/components/MemberForm/index.tsx
View file @
0d89d2ce
...
...
@@ -600,7 +600,7 @@ const MemberForm: React.FC<MemberFormProps> = ({
},
{
validator
:
(
value
)
=>
{
return
value
?.
length
>
current
.
phoneLength
?
intl
.
formatMessage
({
id
:
'customerAbility.management.import.query.form.basic.phone.max'
},
{
len
:
current
.
phoneLength
})
:
''
;
return
value
?.
length
!==
current
.
phoneLength
?
intl
.
formatMessage
({
id
:
'customerAbility.management.import.query.form.basic.phone.max'
},
{
len
:
current
.
phoneLength
})
:
''
;
},
},
];
...
...
src/pages/member/memberImport/components/MemberForm/index.tsx
View file @
0d89d2ce
...
...
@@ -599,7 +599,7 @@ const MemberForm: React.FC<MemberFormProps> = ({
},
{
validator
:
(
value
)
=>
{
return
value
?.
length
>
current
.
phoneLength
?
intl
.
formatMessage
({
id
:
'member.management.import.query.form.basic.phone.max'
},
{
len
:
current
.
phoneLength
})
:
''
;
return
value
?.
length
!==
current
.
phoneLength
?
intl
.
formatMessage
({
id
:
'member.management.import.query.form.basic.phone.max'
},
{
len
:
current
.
phoneLength
})
:
''
;
},
},
];
...
...
src/pages/supplier/memberImport/components/MemberForm/index.tsx
View file @
0d89d2ce
...
...
@@ -599,7 +599,7 @@ const MemberForm: React.FC<MemberFormProps> = ({
},
{
validator
:
(
value
)
=>
{
return
value
?.
length
>
current
.
phoneLength
?
intl
.
formatMessage
({
id
:
'supplier.management.import.query.form.basic.phone.max'
},
{
len
:
current
.
phoneLength
})
:
''
;
return
value
?.
length
!==
current
.
phoneLength
?
intl
.
formatMessage
({
id
:
'supplier.management.import.query.form.basic.phone.max'
},
{
len
:
current
.
phoneLength
})
:
''
;
},
},
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment