Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
linshenxs-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈超
linshenxs-shop
Commits
e2110869
Commit
e2110869
authored
Aug 08, 2022
by
10_noah@other.ren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
总后台&商家合同-订单管理:商家需要发货的商品订单,待收货状态,“查看物流”功能有误
parent
6d7054a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
25 deletions
+18
-25
src/views/businessOrder/index.vue
+18
-25
No files found.
src/views/businessOrder/index.vue
View file @
e2110869
...
...
@@ -266,32 +266,25 @@
// 查看物流-对话框
viewLogistics
(
row
){
// 1.打开对话框
this
.
dialogVisible
=
true
this
.
form
.
waybillNo
=
row
.
waybillNo
if
(
row
.
waybillNo
==
undefined
){
this
.
$message
.
error
(
'订单数据异常,没有物流相关信息。'
)
this
.
dialogVisible
=
false
}
else
{
viewLogisticsApi
(
{
waybillNo
:
row
.
waybillNo
,
expressCompany
:
row
.
expressCompany
}
).
then
(
r
=>
{
if
(
r
.
data
.
data
.
result
==
undefined
){
this
.
activities
.
push
({
"content"
:
'用户已签收'
,
"timestamp"
:
undefined
,
color
:
'#0bbd87'
})
}
else
{
for
(
let
i
=
0
;
i
<
r
.
data
.
data
.
result
.
list
.
length
;
i
++
)
{
if
(
i
===
0
){
this
.
activities
.
push
({
"content"
:
r
.
data
.
data
.
result
.
list
[
i
].
status
,
"timestamp"
:
r
.
data
.
data
.
result
.
list
[
i
].
time
,
color
:
'#0bbd87'
})
}
else
{
this
.
activities
.
push
({
"content"
:
r
.
data
.
data
.
result
.
list
[
i
].
status
,
"timestamp"
:
r
.
data
.
data
.
result
.
list
[
i
].
time
})
}
}
this
.
dialogVisible
=
true
;
this
.
activities
=
[];
viewLogisticsApi
(
{
waybillNo
:
row
.
waybillNo
,
expressCompany
:
row
.
expressCompany
}
).
then
(
r
=>
{
let
jsonData
=
JSON
.
parse
(
r
.
data
.
data
);
let
jsonList
=
jsonData
.
result
.
list
;
for
(
let
i
=
0
;
i
<
jsonList
.
length
;
i
++
)
{
if
(
i
===
0
){
this
.
activities
.
push
({
"content"
:
jsonList
[
i
].
status
,
"timestamp"
:
jsonList
[
i
].
time
,
color
:
'#0bbd87'
})
}
else
{
this
.
activities
.
push
({
"content"
:
jsonList
[
i
].
status
,
"timestamp"
:
jsonList
[
i
].
time
})
}
})
}
},
}
})
},
// 查看详情
checkTheDetails
(
row
){
this
.
$router
.
push
(
'/businessOrder/details?id='
+
row
.
id
)
...
...
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