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
84801e00
Commit
84801e00
authored
Nov 03, 2022
by
李腾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复售后订单搜索重置数据问题
parent
eb30636e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
8 deletions
+16
-8
index.jsx
src/components/MessageReminder/Complex/index.jsx
+1
-1
data.js
src/pages/AfterSaleManage/data.js
+1
-1
index.jsx
src/pages/AfterSaleManage/index.jsx
+11
-3
FormPackage.jsx
src/pages/ServiceGoods/components/FormPackage.jsx
+3
-3
No files found.
src/components/MessageReminder/Complex/index.jsx
View file @
84801e00
...
...
@@ -249,7 +249,7 @@ const Complex = props => {
backgroundColor
:
'
#f7f8f9
'
,
},
wrapClassName
:
'
complex-modal
'
,
width
:
'
8
34
px
'
,
width
:
'
8
80
px
'
,
height
:
'
650px
'
,
visible
,
title
:
<
span
className=
"title-icon"
>
消息提醒
</
span
>,
...
...
src/pages/AfterSaleManage/data.js
View file @
84801e00
...
...
@@ -173,7 +173,7 @@ export const getFormConfig = (props = {}) => {
type
:
''
,
clickType
:
'
reset
'
,
onClick
:
({
params
})
=>
{
//
setTableParams({});
setTableParams
({});
actionRef
.
current
.
reload
();
setCurrentTab
(
''
);
},
...
...
src/pages/AfterSaleManage/index.jsx
View file @
84801e00
...
...
@@ -266,9 +266,17 @@ const AfterSale = props => {
if
(
tab
)
{
tabChange
(
tab
);
}
form
.
setFieldsValue
({
// setPageQueryOrderNo(orderNumber);
const
params
=
{
orderNo
:
orderNumber
,
});
dealStatus
:
null
,
serviceNo
:
null
,
type
:
null
,
receiverPhone
:
null
,
receiverName
:
null
,
};
form
.
setFieldsValue
(
params
);
setTableParams
(
params
);
if
(
actionRef
.
current
)
{
actionRef
.
current
.
reload
();
...
...
@@ -318,7 +326,7 @@ const AfterSale = props => {
const
requestParams
=
{
page
,
size
,
orderNo
:
pageQueryOrderNo
,
// 首次请求需要直接使用 此方式,因为params中首次请求不存在orderNo
//
orderNo: pageQueryOrderNo, // 首次请求需要直接使用 此方式,因为params中首次请求不存在orderNo
...
params
,
startDate
,
endDate
,
...
...
src/pages/ServiceGoods/components/FormPackage.jsx
View file @
84801e00
...
...
@@ -59,7 +59,7 @@ const FormCai = forwardRef((props, ref) => {
name=
{
[
name
,
'
dishName
'
]
}
rules=
{
[{
required
:
true
,
message
:
'
请输入菜名.
'
}]
}
>
<
Input
maxLength=
{
1
0
}
placeholder=
"最多10
个字符"
/>
<
Input
maxLength=
{
1
3
}
placeholder=
"最多13
个字符"
/>
</
Form
.
Item
>
</
Col
>
<
Col
span=
{
2
}
>
...
...
@@ -312,8 +312,8 @@ const FormPackage = forwardRef((props, ref) => {
onCancel=
{
()
=>
setVisibleGroup
(
false
)
}
>
<
Input
placeholder=
"请输入分组名称,最多1
0
个字"
maxLength=
{
1
0
}
placeholder=
"请输入分组名称,最多1
3
个字"
maxLength=
{
1
3
}
onChange=
{
e
=>
setGroupName
(
e
.
target
.
value
)
}
/>
</
Modal
>
...
...
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