Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
5439bfe0
Commit
5439bfe0
authored
Feb 28, 2022
by
殷怀瑞
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/address' into 'master'
Feature/address See merge request
!22
parents
493dc5a5
c1352c72
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
auditModal.jsx
src/pages/AfterSaleManage/components/auditModal.jsx
+5
-3
audit.jsx
src/pages/afterSale/components/audit.jsx
+7
-5
No files found.
src/pages/AfterSaleManage/components/auditModal.jsx
View file @
5439bfe0
...
@@ -110,9 +110,10 @@ const AuditModal = props => {
...
@@ -110,9 +110,10 @@ const AuditModal = props => {
{
{
required
:
true
,
required
:
true
,
message
:
'
请填写退货地址!
'
,
message
:
'
请填写退货地址!
'
,
pattern
:
/^
([\u
4E00-
\u
FA29
]
|
[\u
E7C7-
\u
E7F3
]
|
[
a-zA-Z0-9_!@#¥%……&*()——+【】《》、;‘,。!@#$%^&*()_+{}|:“”<>?’~·
])
+$/gi
,
},
},
],
],
})(<
Input
placeholder=
"
请填写退货地址
"
allowClear
/>)
}
})(<
Input
placeholder=
"
最多输入50个字符"
maxLength=
"50
"
allowClear
/>)
}
</
FormItem
>
</
FormItem
>
<
FormItem
label=
"收件人"
>
<
FormItem
label=
"收件人"
>
{
getFieldDecorator
(
'
receiverName
'
,
{
{
getFieldDecorator
(
'
receiverName
'
,
{
...
@@ -121,9 +122,10 @@ const AuditModal = props => {
...
@@ -121,9 +122,10 @@ const AuditModal = props => {
{
{
required
:
true
,
required
:
true
,
message
:
'
请填写收件人!
'
,
message
:
'
请填写收件人!
'
,
pattern
:
/^
[
A-Za-z0-9
\u
4e00-
\u
9fa5
]
+$/
,
},
},
],
],
})(<
Input
placeholder=
"
请填写收件人
"
allowClear
/>)
}
})(<
Input
placeholder=
"
最多输入25个字符"
maxLength=
"25
"
allowClear
/>)
}
</
FormItem
>
</
FormItem
>
<
FormItem
label=
"手机号码"
>
<
FormItem
label=
"手机号码"
>
{
getFieldDecorator
(
'
receiverPhone
'
,
{
{
getFieldDecorator
(
'
receiverPhone
'
,
{
...
@@ -138,7 +140,7 @@ const AuditModal = props => {
...
@@ -138,7 +140,7 @@ const AuditModal = props => {
message
:
'
请填写手机号码!
'
,
message
:
'
请填写手机号码!
'
,
},
},
],
],
})(<
Input
placeholder=
"请填写手机号码"
allowClear
/>)
}
})(<
Input
placeholder=
"请填写手机号码"
maxLength=
"11"
allowClear
/>)
}
</
FormItem
>
</
FormItem
>
</
div
>
</
div
>
)
}
)
}
...
...
src/pages/afterSale/components/audit.jsx
View file @
5439bfe0
...
@@ -136,20 +136,22 @@ const AuditModal = props => {
...
@@ -136,20 +136,22 @@ const AuditModal = props => {
rules
:
[
rules
:
[
{
{
required
:
true
,
required
:
true
,
message
:
'
请填写退货地址!
'
,
message
:
'
请填写正确退货地址!
'
,
pattern
:
/^
([\u
4E00-
\u
FA29
]
|
[\u
E7C7-
\u
E7F3
]
|
[
a-zA-Z0-9_!@#¥%……&*()——+【】《》、;‘,。!@#$%^&*()_+{}|:“”<>?’~·
])
+$/gi
,
},
},
],
],
})(<
Input
placeholder=
"
请填写退货地址
"
allowClear
/>)
}
})(<
Input
placeholder=
"
最多输入50个字符"
maxLength=
"50
"
allowClear
/>)
}
</
FormItem
>
</
FormItem
>
<
FormItem
label=
"收件人"
>
<
FormItem
label=
"收件人"
>
{
getFieldDecorator
(
'
receiverName
'
,
{
{
getFieldDecorator
(
'
receiverName
'
,
{
rules
:
[
rules
:
[
{
{
required
:
true
,
required
:
true
,
message
:
'
请填写收件人!
'
,
message
:
'
请填写正确收件人!
'
,
pattern
:
/^
[
A-Za-z0-9
\u
4e00-
\u
9fa5
]
+$/
,
},
},
],
],
})(<
Input
placeholder=
"
请填写收件人
"
allowClear
/>)
}
})(<
Input
placeholder=
"
最多输入25个字符"
maxLength=
"25
"
allowClear
/>)
}
</
FormItem
>
</
FormItem
>
<
FormItem
label=
"手机号码"
>
<
FormItem
label=
"手机号码"
>
{
getFieldDecorator
(
'
receiverPhone
'
,
{
{
getFieldDecorator
(
'
receiverPhone
'
,
{
...
@@ -163,7 +165,7 @@ const AuditModal = props => {
...
@@ -163,7 +165,7 @@ const AuditModal = props => {
message
:
'
请填写手机号码!
'
,
message
:
'
请填写手机号码!
'
,
},
},
],
],
})(<
Input
placeholder=
"
请填写手机号码
"
allowClear
/>)
}
})(<
Input
placeholder=
"
11位数字"
maxLength=
"11
"
allowClear
/>)
}
</
FormItem
>
</
FormItem
>
</
div
>
</
div
>
)
}
)
}
...
...
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