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
a45516b0
Commit
a45516b0
authored
Aug 26, 2022
by
武广
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改延迟发货按钮样式
parent
cbc028a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
7 deletions
+19
-7
DelayDeliverGoods.jsx
...age/pendingDeliveryOrder/components/DelayDeliverGoods.jsx
+1
-1
index.jsx
src/pages/orderManage/pendingDeliveryOrder/index.jsx
+9
-6
styles.less
src/pages/orderManage/pendingDeliveryOrder/styles.less
+9
-0
No files found.
src/pages/orderManage/pendingDeliveryOrder/components/DelayDeliverGoods.jsx
View file @
a45516b0
...
...
@@ -56,7 +56,7 @@ const UpdateStock = props => {
{
getFieldDecorator
(
'
remark
'
,
{
rules
:
[{
required
:
true
,
message
:
'
请输入延迟原因!
'
}],
initialValue
:
valueInfo
.
remark
,
})(<
Input
.
TextArea
/>)
}
})(<
Input
.
TextArea
maxLength=
{
10
}
showCount
/>)
}
</
Form
.
Item
>
</
Form
>
</
Modal
>
...
...
src/pages/orderManage/pendingDeliveryOrder/index.jsx
View file @
a45516b0
...
...
@@ -324,12 +324,15 @@ const TableList = props => {
{
props
.
type
===
2
?
'
更新物流信息
'
:
'
填写物流信息
'
}
</
Button
>
)
}
<
Button
type=
"primary"
onClick=
{
()
=>
onDelay
(
record
.
orderId
,
+
record
.
delayStatus
,
record
.
delayRemark
)
}
>
{
+
record
.
delayStatus
===
1
?
'
已延迟发货
'
:
'
延迟发货
'
}
</
Button
>
{
props
.
type
!==
2
&&
(
<
Button
type=
"primary"
className=
{
+
record
.
delayStatus
===
1
?
style
.
btnWarning
:
''
}
onClick=
{
()
=>
onDelay
(
record
.
orderId
,
+
record
.
delayStatus
,
record
.
delayRemark
)
}
>
{
+
record
.
delayStatus
===
1
?
'
已延迟发货
'
:
'
延迟发货
'
}
</
Button
>
)
}
</
React
.
Fragment
>
),
},
...
...
src/pages/orderManage/pendingDeliveryOrder/styles.less
View file @
a45516b0
...
...
@@ -27,3 +27,12 @@
}
}
}
.btnWarning {
background-color: rgb(247, 143, 74);
border-color: rgb(247, 143, 74);
}
.btnWarning:hover,
.btnWarning:focus {
background-color: rgb(253, 168, 111);
border-color: rgb(253, 168, 111);
}
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