Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
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
lanbaoming
jiedao-app-operator-master
Commits
61fa029c
Commit
61fa029c
authored
Aug 29, 2024
by
yujinyao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线路价格筛选加目的国和目的仓
parent
2770d74e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
12 deletions
+21
-12
index.vue
src/components/RoutersSelector/index.vue
+21
-12
No files found.
src/components/RoutersSelector/index.vue
View file @
61fa029c
...
...
@@ -312,7 +312,7 @@ export default {
this
.
destWarehouseId
==
""
)
{
//获取当前城市值id,获取该城市下区域
this
.
getChannelList
()
}
else
if
(
this
.
destCountryId
==
""
&&
this
.
destCityId
==
""
&&
...
...
@@ -332,9 +332,10 @@ export default {
this
.
destWarehouseId
==
""
)
{
//获取当前城市值id,获取该城市下区域
this
.
getChannelList
()
}
this
.
getOpenedRouterList
()
this
.
getChannelList
()
},
},
destWarehouseId
:
{
...
...
@@ -360,7 +361,7 @@ export default {
)
{
this
.
findBycityCode
()
}
//
this.getOpenedRouterList()
this
.
getOpenedRouterList
()
},
},
},
...
...
@@ -433,6 +434,9 @@ export default {
if
(
this
.
destCityId
){
params
.
destCityId
=
this
.
destCityId
}
if
(
this
.
destWarehouseId
){
params
.
destWarehouseId
=
this
.
destWarehouseId
}
const
res
=
await
openedRouterList
(
params
)
this
.
openedRouterList
=
res
.
data
.
filter
(
item
=>
{
return
this
.
exportCityIds
.
indexOf
(
item
.
startCityId
)
>
-
1
&&
this
.
importCityIds
.
indexOf
(
item
.
destCityId
)
>
-
1
...
...
@@ -494,7 +498,7 @@ export default {
getCountryList
()
{
getListTree
({
treeType
:
1
}).
then
((
response
)
=>
{
this
.
countryList
=
response
.
data
;
})
;
})
},
getAddressCity
()
{
getRegionList
(
4
,
4
).
then
(({
data
})
=>
{
...
...
@@ -507,16 +511,21 @@ export default {
})
},
findByprovinceCode
()
{
//获取当前省份值id,获取该省份下城市 destCountryId provinceCode
getRegionList
(
2
,
this
.
destCountryId
).
then
(({
data
})
=>
{
this
.
AddressCity
=
data
;
})
if
(
this
.
destCountryId
!=
null
&&
this
.
destCountryId
!=
''
)
{
//获取当前省份值id,获取该省份下城市 destCountryId provinceCode
getRegionList
(
2
,
this
.
destCountryId
).
then
(({
data
})
=>
{
this
.
AddressCity
=
data
;
})
}
},
findBycityCode
()
{
//获取当前城市值id,获取该城市下区域
getRegionList
(
3
,
this
.
destCityId
).
then
(({
data
})
=>
{
this
.
AddressTown
=
data
;
})
if
(
this
.
destCityId
!=
null
&&
this
.
destCityId
!=
''
)
{
//获取当前城市值id,获取该城市下区域
getRegionList
(
3
,
this
.
destCityId
).
then
(({
data
})
=>
{
this
.
AddressTown
=
data
;
})
}
},
}
}
...
...
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