Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kd_app_vue
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
zhanglw
kd_app_vue
Commits
75885e68
Commit
75885e68
authored
Apr 28, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单到达校验
parent
559a8f2d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
index.vue
...ews/MLargeScreen/components/startOrderReceiving/index.vue
+1
-1
index.vue
src/views/MLargeScreen/index.vue
+6
-2
No files found.
src/views/MLargeScreen/components/startOrderReceiving/index.vue
View file @
75885e68
...
@@ -180,7 +180,7 @@ export default {
...
@@ -180,7 +180,7 @@ export default {
},
},
//校验目的地
//校验目的地
checkDestination
()
{
checkDestination
()
{
if
(
this
.
$parent
.
currArea
==
this
.
orderObj
.
xcArea
){
if
(
this
.
$parent
.
localName
==
this
.
orderObj
.
xcArea
){
this
.
navStu
=
0
;
this
.
navStu
=
0
;
this
.
$notify
({
this
.
$notify
({
title
:
'
您已到达
'
+
this
.
orderObj
.
xcArea
+
'
,请卸车
'
,
title
:
'
您已到达
'
+
this
.
orderObj
.
xcArea
+
'
,请卸车
'
,
...
...
src/views/MLargeScreen/index.vue
View file @
75885e68
...
@@ -240,6 +240,7 @@ export default {
...
@@ -240,6 +240,7 @@ export default {
areaNum
:
0
,
areaNum
:
0
,
areaTimer
:
null
,
areaTimer
:
null
,
kcListView
:
false
,
kcListView
:
false
,
localName
:
null
,
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -498,8 +499,11 @@ export default {
...
@@ -498,8 +499,11 @@ export default {
let
area
=
null
;
let
area
=
null
;
const
point
=
new
maptalks
.
Coordinate
(
item
.
lon
,
item
.
lat
);
const
point
=
new
maptalks
.
Coordinate
(
item
.
lon
,
item
.
lat
);
this
.
mapDom
.
getLayer
(
'
regionLayer
'
).
getGeometries
().
forEach
((
polygon
)
=>
{
this
.
mapDom
.
getLayer
(
'
regionLayer
'
).
getGeometries
().
forEach
((
polygon
)
=>
{
if
(
polygon
.
properties
.
areaLimitClass
&&
polygon
.
containsPoint
(
point
))
{
if
(
polygon
.
containsPoint
(
point
))
{
area
=
polygon
.
properties
.
name
;
this
.
localName
=
polygon
.
properties
.
name
;
if
(
polygon
.
properties
.
areaLimitClass
){
area
=
polygon
.
properties
.
name
;
}
}
}
})
})
if
(
this
.
currArea
!==
area
)
{
if
(
this
.
currArea
!==
area
)
{
...
...
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