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
7d155129
Commit
7d155129
authored
May 01, 2024
by
liuzeheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
目的城市清空
parent
53dc43b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
18 deletions
+24
-18
index.vue
src/views/ecw/order/index.vue
+24
-18
No files found.
src/views/ecw/order/index.vue
View file @
7d155129
...
@@ -739,7 +739,7 @@ export default {
...
@@ -739,7 +739,7 @@ export default {
this
.
objectiveId
=
""
;
this
.
objectiveId
=
""
;
this
.
destWarehouseId
=
""
;
this
.
destWarehouseId
=
""
;
this
.
findByprovinceCode
();
this
.
findByprovinceCode
();
if
(
this
.
destCountryId
==
""
&&
this
.
objectiveId
==
""
){
if
(
this
.
destCountryId
==
""
){
getRegionList
(
4
,
4
).
then
(({
data
})
=>
{
getRegionList
(
4
,
4
).
then
(({
data
})
=>
{
this
.
AddressCity
=
data
;
this
.
AddressCity
=
data
;
})
})
...
@@ -756,21 +756,13 @@ export default {
...
@@ -756,21 +756,13 @@ export default {
}
else
if
(
this
.
destCountryId
!=
""
&&
this
.
objectiveId
==
""
&&
this
.
destWarehouseId
==
""
){
}
else
if
(
this
.
destCountryId
!=
""
&&
this
.
objectiveId
==
""
&&
this
.
destWarehouseId
==
""
){
getRegionList
(
5
,
5
).
then
(({
data
})
=>
{
getRegionList
(
2
,
this
.
destCountryId
).
then
(({
data
})
=>
{
this
.
AddressTown
=
data
;
})
.
catch
(
error
=>
{
console
.
log
(
error
);
});
}
else
if
(
this
.
destCountryId
==
""
&&
this
.
objectiveId
==
""
&&
this
.
destWarehouseId
==
""
){
getRegionList
(
4
,
4
).
then
(({
data
})
=>
{
this
.
AddressCity
=
data
;
this
.
AddressCity
=
data
;
})
})
.
catch
(
error
=>
{
.
catch
(
error
=>
{
console
.
log
(
error
);
console
.
log
(
error
);
});
});
getRegionList
(
5
,
5
).
then
(({
data
})
=>
{
getRegionList
(
5
,
5
).
then
(({
data
})
=>
{
this
.
AddressTown
=
data
;
this
.
AddressTown
=
data
;
})
})
.
catch
(
error
=>
{
.
catch
(
error
=>
{
...
@@ -827,6 +819,19 @@ export default {
...
@@ -827,6 +819,19 @@ export default {
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
console
.
log
(
error
);
console
.
log
(
error
);
});
});
}
else
if
(
this
.
destCountryId
!=
""
&&
this
.
objectiveId
==
""
&&
this
.
destWarehouseId
==
""
){
getRegionList
(
2
,
this
.
destCountryId
).
then
(({
data
})
=>
{
this
.
AddressCity
=
data
;
})
.
catch
(
error
=>
{
console
.
log
(
error
);
});
getRegionList
(
5
,
5
).
then
(({
data
})
=>
{
this
.
AddressTown
=
data
;
})
.
catch
(
error
=>
{
console
.
log
(
error
);
});
}
}
// else if(this.objectiveId!="" && this.objectiveId=="" ){
// else if(this.objectiveId!="" && this.objectiveId=="" ){
// getRegionList(5, 5).then(({data}) => {
// getRegionList(5, 5).then(({data}) => {
...
@@ -866,14 +871,15 @@ export default {
...
@@ -866,14 +871,15 @@ export default {
console
.
log
(
error
);
console
.
log
(
error
);
});
});
}
else
if
(
this
.
objectiveId
==
""
&&
this
.
destWarehouseId
==
""
){
getRegionList
(
5
,
5
).
then
(({
data
})
=>
{
this
.
AddressTown
=
data
;
})
.
catch
(
error
=>
{
console
.
log
(
error
);
});
}
}
// else if(this.objectiveId=="" && this.destWarehouseId==""){
// getRegionList(5, 5).then(({data}) => {
// this.AddressTown = data;
// })
// .catch(error => {
// console.log(error);
// });
// }
}
}
},
},
},
},
...
...
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