Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
上
上药订单生命周期升级
Project overview
Project overview
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
sph
上药订单生命周期升级
Commits
9e1186d9
Commit
9e1186d9
authored
Apr 06, 2021
by
xiejb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.jiucaiyun.cn/sph/SH_OrderLifeCycleU
parents
a77087a0
109914f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
11 deletions
+26
-11
src/components/SearchInConsignor.vue
src/components/SearchInConsignor.vue
+1
-1
src/views/myOrder/detail/logisticsDetail.vue
src/views/myOrder/detail/logisticsDetail.vue
+25
-10
No files found.
src/components/SearchInConsignor.vue
View file @
9e1186d9
...
@@ -181,7 +181,7 @@ export default {
...
@@ -181,7 +181,7 @@ export default {
// message: '搜索内容为空!'
// message: '搜索内容为空!'
// }).then(() => {
// }).then(() => {
// })
// })
// return
// return
// }
// }
this
.
keywords
=
this
.
keywords
.
replace
(
/
\s
+/g
,
""
)
this
.
keywords
=
this
.
keywords
.
replace
(
/
\s
+/g
,
""
)
this
.
$refs
.
scrollRef
.
scrollTop
=
0
this
.
$refs
.
scrollRef
.
scrollTop
=
0
...
...
src/views/myOrder/detail/logisticsDetail.vue
View file @
9e1186d9
...
@@ -6,15 +6,11 @@
...
@@ -6,15 +6,11 @@
(stepList&&stepList.length > 0)||
(stepList&&stepList.length > 0)||
(orderInfo.isCold && coldInfo && coldInfo.length > 0)) && !shoppingLoading"
/>
(orderInfo.isCold && coldInfo && coldInfo.length > 0)) && !shoppingLoading"
/>
<!-- 高德地图 -->
<!-- 高德地图 -->
<a-map-view
:transport=
"sendType"
:point-list=
"mapPointList"
:drive-point=
"driveLine"
<div
style=
"position:relative;height:300px"
v-if=
"gpsLoading || (mapPointList&&mapPointList.length > 0)"
>
v-if=
"mapPointList&&mapPointList.length > 0"
/>
<a-map-view
:transport=
"sendType"
:point-list=
"mapPointList"
:drive-point=
"driveLine"
v-if=
"!gpsLoading && (mapPointList&&mapPointList.length > 0)"
/>
<div
style=
"height:300px;
<div
class=
"map-loading"
v-if=
"gpsLoading"
>
background-color:#fff;
{{
mapDataLoadingText
}}
line-height:300px;
</div>
text-align:center;
border-bottom: 1px solid #eeeeee"
v-else-if=
"(!shoppingLoading)"
>
{{
mapDataLoadingText
}}
</div>
</div>
<!-- 物流主信息 -->
<!-- 物流主信息 -->
<div
class=
"logistics-header"
>
<div
class=
"logistics-header"
>
...
@@ -89,6 +85,7 @@ export default {
...
@@ -89,6 +85,7 @@ export default {
orderInfo
:
this
.
$route
.
query
,
orderInfo
:
this
.
$route
.
query
,
temperatureActive
:
0
,
temperatureActive
:
0
,
shoppingLoading
:
true
,
shoppingLoading
:
true
,
gpsLoading
:
false
,
mapDataLoadingText
:
'
地图数据加载中...
'
,
mapDataLoadingText
:
'
地图数据加载中...
'
,
icons
:
{
icons
:
{
logo
:
require
(
'
@/assets/img/u48.png
'
),
logo
:
require
(
'
@/assets/img/u48.png
'
),
...
@@ -236,6 +233,7 @@ export default {
...
@@ -236,6 +233,7 @@ export default {
},
},
/* GPS 定位信息 */
/* GPS 定位信息 */
getGpsPoint
()
{
getGpsPoint
()
{
this
.
gpsLoading
=
true
let
data
=
{
let
data
=
{
'
orderType
'
:
this
.
orderInfo
.
orderType
,
// 'SALE',
'
orderType
'
:
this
.
orderInfo
.
orderType
,
// 'SALE',
'
shippingNo
'
:
this
.
shippingInfo
.
shippingNo
,
// '3S1255202103190010',
'
shippingNo
'
:
this
.
shippingInfo
.
shippingNo
,
// '3S1255202103190010',
...
@@ -252,12 +250,14 @@ export default {
...
@@ -252,12 +250,14 @@ export default {
this
.
$toast
(
res
.
msg
)
this
.
$toast
(
res
.
msg
)
this
.
mapDataLoadingText
=
res
.
msg
this
.
mapDataLoadingText
=
res
.
msg
}
}
this
.
mapDataLoadingText
=
'
定位数据请求失败
'
this
.
mapDataLoadingText
=
'
定位数据请求失败
或无数据
'
}
}
this
.
gpsLoading
=
false
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
'
GPS信息
'
,
err
)
console
.
log
(
'
GPS信息
'
,
err
)
this
.
mapDataLoadingText
=
'
定位数据请求失败
'
this
.
mapDataLoadingText
=
'
定位数据请求失败
'
this
.
$toast
(
'
定位数据请求失败
'
)
this
.
$toast
(
'
定位数据请求失败
'
)
this
.
gpsLoading
=
false
})
})
},
},
/* 获取温度变化趋势数据 */
/* 获取温度变化趋势数据 */
...
@@ -290,6 +290,21 @@ export default {
...
@@ -290,6 +290,21 @@ export default {
height
:
calc
(
100vh
-
46px
);
height
:
calc
(
100vh
-
46px
);
overflow
:
scroll
;
overflow
:
scroll
;
.map-loading
{
height
:
100px
;
width
:
100px
;
background-color
:
rgb
(
255
,
255
,
255
);
border-radius
:
10px
;
line-height
:
100px
;
text-align
:
center
;
position
:
absolute
;
top
:
0
;
bottom
:
0
;
left
:
0
;
right
:
0
;
margin
:
auto
;
}
.logistics-header
{
.logistics-header
{
background-color
:
#fff
;
background-color
:
#fff
;
border-bottom
:
1px
solid
$line
;
border-bottom
:
1px
solid
$line
;
...
...
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