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
749db2f4
Commit
749db2f4
authored
Mar 02, 2022
by
beisir
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into fix/prologue
parents
d88f8cc6
16a04d58
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
12 deletions
+28
-12
index.jsx
src/pages/AfterSaleManage/Pending/index.jsx
+6
-6
auditModal.jsx
src/pages/AfterSaleManage/components/auditModal.jsx
+13
-3
audit.jsx
src/pages/afterSale/components/audit.jsx
+9
-3
No files found.
src/pages/AfterSaleManage/Pending/index.jsx
View file @
749db2f4
...
...
@@ -54,6 +54,12 @@ export default () => {
setSelectedRow
(
detailData
);
};
const
columns
=
[
{
title
:
'
售后状态
'
,
dataIndex
:
'
serviceStatus
'
,
hideInSearch
:
true
,
width
:
100
,
},
...
columnSticData
,
{
title
:
'
售后凭证
'
,
...
...
@@ -75,12 +81,6 @@ export default () => {
return
<
div
>
未申诉
</
div
>;
},
},
{
title
:
'
售后状态
'
,
dataIndex
:
'
serviceStatus
'
,
hideInSearch
:
true
,
width
:
100
,
},
{
title
:
'
操作
'
,
hideInSearch
:
true
,
...
...
src/pages/AfterSaleManage/components/auditModal.jsx
View file @
749db2f4
import
React
from
'
react
'
;
import
{
Modal
,
Form
,
Input
,
Cascader
,
notification
}
from
'
antd
'
;
import
{
Modal
,
Form
,
Input
,
Cascader
,
notification
,
InputNumber
}
from
'
antd
'
;
import
{
shopAudit
}
from
'
../services
'
;
const
FormItem
=
Form
.
Item
;
...
...
@@ -110,7 +110,10 @@ const AuditModal = props => {
{
required
:
true
,
message
:
'
请填写退货地址!
'
,
pattern
:
/^
([\u
4E00-
\u
FA29
]
|
[\u
E7C7-
\u
E7F3
]
|
[
a-zA-Z0-9_!@#¥%……&*()——+【】《》、;‘,。!@#$%^&*()_+{}|:“”<>?’~·
])
+$/gi
,
},
{
message
:
'
格式有误,请填写正确的退货地址!
'
,
pattern
:
/
[
a-zA-Z0-9_
\u
4e00-
\u
9fa5
]
/g
,
},
],
})(<
Input
placeholder=
"最多输入50个字符"
maxLength=
"50"
allowClear
/>)
}
...
...
@@ -122,6 +125,9 @@ const AuditModal = props => {
{
required
:
true
,
message
:
'
请填写收件人!
'
,
},
{
message
:
'
格式有误,请输入中英文、数字!
'
,
pattern
:
/^
[
A-Za-z0-9
\u
4e00-
\u
9fa5
]
+$/
,
},
],
...
...
@@ -131,8 +137,12 @@ const AuditModal = props => {
{
getFieldDecorator
(
'
receiverPhone
'
,
{
initialValue
:
formData
.
phone
,
rules
:
[
//
{
// pattern: new RegExp(/^1[3456789]\d
{
9
}
$
/
,
'
g
'
),
// message: '手机号码格式不正确!',
//
},
{
pattern
:
new
RegExp
(
/^
1
[
3456789
]\d
{9}$/
,
'
g
'
),
pattern
:
new
RegExp
(
/^
[
0-9
]
*$/
),
message
:
'
手机号码格式不正确!
'
,
},
{
...
...
src/pages/afterSale/components/audit.jsx
View file @
749db2f4
...
...
@@ -136,8 +136,11 @@ const AuditModal = props => {
rules
:
[
{
required
:
true
,
message
:
'
请填写正确退货地址!
'
,
pattern
:
/^
([\u
4E00-
\u
FA29
]
|
[\u
E7C7-
\u
E7F3
]
|
[
a-zA-Z0-9_!@#¥%……&*()——+【】《》、;‘,。!@#$%^&*()_+{}|:“”<>?’~·
])
+$/gi
,
message
:
'
请填写退货地址!
'
,
},
{
message
:
'
格式有误,请填写正确的退货地址!
'
,
pattern
:
/
[
a-zA-Z0-9_
\u
4e00-
\u
9fa5
]
/g
,
},
],
})(<
Input
placeholder=
"最多输入50个字符"
maxLength=
"50"
allowClear
/>)
}
...
...
@@ -147,7 +150,10 @@ const AuditModal = props => {
rules
:
[
{
required
:
true
,
message
:
'
请填写正确收件人!
'
,
message
:
'
请填写收件人!
'
,
},
{
message
:
'
格式有误,请输入中英文、数字!
'
,
pattern
:
/^
[
A-Za-z0-9
\u
4e00-
\u
9fa5
]
+$/
,
},
],
...
...
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