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
c83d3ab8
Commit
c83d3ab8
authored
Dec 10, 2020
by
FE-安焕焕
👣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复样式问题
parent
0f1a01df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
index.jsx
src/pages/orderManage/pendingDeliveryOrder/index.jsx
+9
-9
No files found.
src/pages/orderManage/pendingDeliveryOrder/index.jsx
View file @
c83d3ab8
...
...
@@ -28,7 +28,7 @@ const TableList = props => {
<
td
className=
{
[
'
tableContent
'
,
index
<
record
.
mchOrderSkuVoList
.
length
-
1
?
'
border
'
:
null
,
index
<
record
?.
mchOrderSkuVoList
?
.
length
-
1
?
'
border
'
:
null
,
].
join
(
'
'
)
}
>
{
item
[
key
]
}
...
...
@@ -100,7 +100,7 @@ const TableList = props => {
title
:
'
商品规格
'
,
dataIndex
:
'
skuAttr
'
,
key
:
'
skuAttr
'
,
width
:
1
00
,
width
:
2
00
,
className
:
'
colStyle
'
,
hideInSearch
:
true
,
render
:
(
_
,
record
)
=>
renderContent
(
record
,
'
skuAttr
'
),
...
...
@@ -136,7 +136,7 @@ const TableList = props => {
title
:
'
订单状态
'
,
dataIndex
:
'
orderStatus
'
,
key
:
'
orderStatus
'
,
width
:
1
0
0
,
width
:
1
2
0
,
hideInSearch
:
true
,
valueEnum
:
{
12
:
'
待发货
'
,
...
...
@@ -167,21 +167,21 @@ const TableList = props => {
fixed
:
'
right
'
,
render
:
(
_
,
record
)
=>
(
<
React
.
Fragment
>
{
ShowUpdateBtn
.
includes
(
record
.
skuSource
.
value
)
?
null
:
(
{
ShowUpdateBtn
.
includes
(
record
?.
skuSource
?
.
value
)
?
null
:
(
<
Button
type=
"primary"
style=
{
{
marginBottom
:
'
10px
'
,
}
}
onClick=
{
async
()
=>
{
const
skuListData
=
await
getGoods
(
record
.
orderId
);
const
skuListData
=
await
getGoods
(
record
?
.
orderId
);
let
logisticsData
=
[{}];
setSkuList
(
skuListData
);
const
data
=
await
getLogistics
(
record
.
orderId
);
const
data
=
await
getLogistics
(
record
?
.
orderId
);
logisticsData
=
data
.
map
(
item
=>
({
selectedGoods
:
item
.
skus
.
map
(
sku
=>
sku
.
orderSkuId
),
selectedCompany
:
`${item
.expressCompanyCode}-${item
.expressCompanyName}`
,
orderNum
:
item
.
deliveryNo
,
selectedGoods
:
item
?.
skus
?.
map
(
sku
=>
sku
?
.
orderSkuId
),
selectedCompany
:
`${item
?.expressCompanyCode}-${item?
.expressCompanyName}`
,
orderNum
:
item
?
.
deliveryNo
,
}));
setLogisticsData
(
logisticsData
);
handleModalVisible
(
true
);
...
...
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