Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
4ad4f85b
Commit
4ad4f85b
authored
Jun 29, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删掉测试数据
parent
8d842531
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
58 deletions
+2
-58
appliedPartsCell.vue
src/components/parts/appliedPartsCell.vue
+2
-4
express.vue
src/pages/mine/warehouse/express.vue
+0
-54
No files found.
src/components/parts/appliedPartsCell.vue
View file @
4ad4f85b
...
...
@@ -16,7 +16,7 @@
<view
class=
"image-list"
>
<image
class=
"image-view"
v-for=
"(item, index) in images"
:key=
"index"
:src=
"item"
></image>
<view
class=
"info-view"
v-if=
"info.items.length == 1"
>
<view
class=
"name-text"
>
{{
info
.
items
[
0
]
.
name
}}
</view>
<view
class=
"name-text"
>
{{
info
.
items
[
0
]
?
info
.
items
[
0
].
name
:
''
}}
</view>
<view>
{{
noteText
}}
</view>
</view>
</view>
...
...
@@ -92,7 +92,7 @@
return
this
.
texts
[
this
.
info
.
status
]
},
noteText
()
{
if
(
this
.
info
.
items
[
0
]
.
categoryName
||
this
.
info
.
items
[
0
].
brandName
)
{
if
(
this
.
info
.
items
[
0
]
&&
(
this
.
info
.
items
[
0
].
categoryName
||
this
.
info
.
items
[
0
].
brandName
)
)
{
return
(
this
.
info
.
items
[
0
].
categoryName
||
'通用'
)
+
'-'
+
(
this
.
info
.
items
[
0
].
brandName
||
'通用'
)
}
else
{
return
'通用'
...
...
@@ -174,14 +174,12 @@
},
methods
:
{
handleClick
()
{
console
.
log
(
'--handleClick----'
)
this
.
$emit
(
'action'
,
this
.
info
)
},
handleOperate
()
{
this
.
$emit
(
'operate'
,
this
.
info
.
id
,
this
.
buttonOperateType
,
this
.
willStatus
)
},
handleClickExpress
()
{
console
.
log
(
'--handleClickExpress----'
)
this
.
$emit
(
'express'
,
this
.
info
)
}
}
...
...
src/pages/mine/warehouse/express.vue
View file @
4ad4f85b
...
...
@@ -117,60 +117,6 @@
methods
:
{
getLogistics
()
{
this
.
$u
.
api
.
getLogistics
(
this
.
info
.
id
).
then
((
res
)
=>
{
res
=
{
"code"
:
200
,
"message"
:
""
,
"data"
:
{
"orderId"
:
1883
,
"status"
:
15
,
"com"
:
"sf"
,
"number"
:
"SF1314164238675"
,
"name"
:
"周明杨"
,
"phoneNumber"
:
"17630408443"
,
"areaCode"
:
0
,
"province"
:
"44"
,
"city"
:
"4401"
,
"district"
:
"440106"
,
"street"
:
"440106001"
,
"address"
:
"广东省 广州市 天河区 长兴街道 芩村北街四巷16号菜鸟驿站"
,
"fullAddress"
:
null
,
"remark"
:
""
,
"createTime"
:
1624104976000
,
"deliveryTime"
:
1624256100000
,
"receiveTime"
:
null
,
"updateTime"
:
1624256100000
,
"expressInfo"
:
{
"state"
:
"1"
,
"state_name"
:
"transporting"
,
"state_orig"
:
"0"
,
"records"
:
[{
"datetime"
:
"2021-06-22 04:09:08"
,
"context"
:
"[杭州市]快件在【杭州萧山铁路站点】完成分拣,准备发往 【广州棠溪铁路站点】"
},
{
"datetime"
:
"2021-06-22 04:09:08"
,
"context"
:
"[杭州市]快件到达 【杭州萧山铁路站点】"
},
{
"datetime"
:
"2021-06-21 23:46:32"
,
"context"
:
"[金华市]快件已发车"
},
{
"datetime"
:
"2021-06-21 23:46:26"
,
"context"
:
"[金华市]快件在【金华金东中转场】完成分拣,准备发往 【杭州萧山铁路站点】"
},
{
"datetime"
:
"2021-06-21 19:33:17"
,
"context"
:
"[金华市]快件到达 【金华金东中转场】"
},
{
"datetime"
:
"2021-06-21 18:41:02"
,
"context"
:
"[金华市]快件已发车"
},
{
"datetime"
:
"2021-06-21 18:40:53"
,
"context"
:
"[金华市]快件在【金华永康滨江速运营业点】完成分拣,准备发往 【金华金东中转场】"
},
{
"datetime"
:
"2021-06-21 17:17:54"
,
"context"
:
"[金华市]顺丰速运 已收取快件"
}]
}
}
}
if
(
res
.
code
==
200
)
{
if
(
res
.
data
&&
res
.
data
.
expressInfo
&&
res
.
data
.
expressInfo
.
records
)
{
this
.
logisticsRecords
=
res
.
data
.
expressInfo
.
records
...
...
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