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
7f835652
Commit
7f835652
authored
Nov 18, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
路线选择器bug修复
parent
1996a8ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
34 deletions
+33
-34
index.vue
src/components/RoutersSelector/index.vue
+32
-33
batchEditAir.vue
src/views/ecw/productPrice/batchEditAir.vue
+1
-1
No files found.
src/components/RoutersSelector/index.vue
View file @
7f835652
...
...
@@ -143,9 +143,9 @@ export default {
countryList
:
[],
//目的国
AddressCity
:
[],
//目的地
AddressTown
:
[],
//目的仓
destCountryIds
:
null
,
destCityIds
:
null
,
destWarehouseIds
:
null
,
destCountryIds
:
[]
,
destCityIds
:
[]
,
destWarehouseIds
:
[]
,
}
},
...
...
@@ -295,14 +295,13 @@ export default {
this
.
destWarehouseIds
=
""
;
this
.
destCityIds
=
""
;
this
.
findByprovinceCode
();
if
(
this
.
destCountryIds
==
""
)
{
if
(
this
.
destCountryIds
&&
this
.
destCountryIds
.
length
>
0
)
{
//1 是所有区域,2 国家,3是市,
this
.
getAddressCity
()
this
.
getAddressTown
()
}
else
if
(
this
.
destCountryIds
!=
""
&&
this
.
destCityIds
==
""
&&
this
.
destWarehouseIds
==
""
this
.
destCountryIds
&&
this
.
destCountryIds
.
length
>
0
&&
this
.
destCityIds
&&
this
.
destCityIds
.
size
()
>
0
)
{
this
.
getAddressTown
()
}
...
...
@@ -316,29 +315,28 @@ export default {
this
.
destWarehouseIds
=
""
;
this
.
findBycityCode
();
if
(
this
.
destCityIds
!=
""
&&
this
.
destCountryIds
!=
""
&&
this
.
destWarehouseIds
==
""
this
.
destCountryIds
&&
this
.
destCountryIds
.
length
>
0
&&
this
.
destCityIds
&&
this
.
destCityIds
.
length
>
0
&&
this
.
destWarehouseIds
&&
this
.
destWarehouseIds
.
length
>
0
)
{
//获取当前城市值id,获取该城市下区域
}
else
if
(
this
.
destCountryIds
==
""
&&
this
.
destCityIds
==
""
&&
this
.
destWarehouseIds
==
""
this
.
destCountryIds
&&
this
.
destCountryIds
.
length
>
0
&&
this
.
destCityIds
&&
this
.
destCityIds
.
length
>
0
&&
this
.
destWarehouseIds
&&
this
.
destWarehouseIds
.
length
>
0
)
{
this
.
getAddressTown
()
}
else
if
(
this
.
destCountryIds
!=
""
&&
this
.
destCityIds
==
""
&&
this
.
destWarehouseIds
==
""
this
.
destCountryIds
&&
this
.
destCountryIds
.
length
>
0
&&
this
.
destCityIds
&&
this
.
destCityIds
.
length
>
0
)
{
this
.
findByprovinceCode
()
this
.
getAddressTown
()
}
else
if
(
this
.
destCountryIds
==
""
&&
this
.
destCityIds
!=
""
&&
this
.
destWarehouseIds
==
""
this
.
destCountryIds
&&
this
.
destCountryIds
.
length
>
0
&&
this
.
destCityIds
&&
this
.
destCityIds
.
length
>
0
&&
this
.
destWarehouseIds
&&
this
.
destWarehouseIds
.
length
>
0
)
{
//获取当前城市值id,获取该城市下区域
...
...
@@ -351,22 +349,22 @@ export default {
deep
:
true
,
//深度监听
handler
()
{
if
(
this
.
destCountryIds
!=
""
&&
this
.
destCityIds
!=
""
&&
this
.
destWarehouseIds
==
""
this
.
destCountryIds
&&
this
.
destCountryIds
.
length
>
0
&&
this
.
destCityIds
&&
this
.
destCityIds
.
length
>
0
&&
this
.
destWarehouseIds
&&
this
.
destWarehouseIds
.
length
>
0
)
{
//获取当前城市值id,获取该城市下区域
this
.
findBycityCode
()
}
else
if
(
this
.
destCountryIds
!=
""
&&
this
.
destCityIds
==
""
&&
this
.
destWarehouseIds
==
""
this
.
destCountryIds
&&
this
.
destCountryIds
.
length
>
0
&&
this
.
destCityIds
&&
this
.
destCityIds
.
length
>
0
&&
this
.
destWarehouseIds
&&
this
.
destWarehouseIds
.
length
>
0
)
{
this
.
getAddressTown
()
}
else
if
(
this
.
destCountryIds
==
""
&&
this
.
destCityIds
!=
""
&&
this
.
destWarehouseIds
==
""
this
.
destCountryIds
&&
this
.
destCountryIds
.
length
>
0
&&
this
.
destCityIds
&&
this
.
destCityIds
.
length
>
0
&&
this
.
destWarehouseIds
&&
this
.
destWarehouseIds
.
length
>
0
)
{
this
.
findBycityCode
()
}
...
...
@@ -416,9 +414,10 @@ export default {
},
changeOption
(){
if
(
!
this
.
option
)
return
this
.
destCountryIds
=
+
this
.
option
.
destCountryId
||
null
this
.
destCityIds
=
+
this
.
option
.
destCityId
||
null
this
.
destWarehouseIds
=
+
this
.
option
.
destWarehouseId
||
null
console
.
log
(
"
线路信息
"
,
this
.
option
)
this
.
destCountryId
=
+
this
.
option
.
destCountryId
||
null
this
.
destCityId
=
+
this
.
option
.
destCityId
||
null
this
.
destWarehouseId
=
+
this
.
option
.
destWarehouseId
||
null
// this.importCity = +this.option.importCity || null
this
.
exportCity
=
+
this
.
option
.
exportCity
||
null
this
.
transportType
=
this
.
option
.
transportId
||
null
...
...
@@ -520,7 +519,7 @@ export default {
})
},
findByprovinceCode
()
{
if
(
this
.
destCountryIds
!=
null
&&
this
.
destCountryIds
!=
''
)
{
if
(
this
.
destCountryIds
!=
null
&&
this
.
destCountryIds
.
length
>
0
)
{
//获取当前省份值id,获取该省份下城市 destCountryId provinceCode
getRegionList
(
2
,
this
.
destCountryIds
).
then
(({
data
})
=>
{
this
.
AddressCity
=
data
;
...
...
@@ -529,7 +528,7 @@ export default {
},
findBycityCode
()
{
if
(
this
.
destCityIds
!=
null
&&
this
.
destCityIds
!=
''
)
{
if
(
this
.
destCityIds
!=
null
&&
this
.
destCityIds
.
length
>
0
)
{
//获取当前城市值id,获取该城市下区域
getRegionList
(
3
,
this
.
destCityIds
).
then
(({
data
})
=>
{
this
.
AddressTown
=
data
;
...
...
src/views/ecw/productPrice/batchEditAir.vue
View file @
7f835652
...
...
@@ -232,7 +232,7 @@ export default {
isAllProduct
:
false
,
// 是否全部商品
isAllFilteredProduct
:
false
,
// 是否勾選全部搜索結果
specialProducts
:
[],
rules
()
{},
rules
:
{},
product
:
null
,
currencyList
:
[],
unitList
:
[],
...
...
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