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
e129a085
Commit
e129a085
authored
Jan 09, 2025
by
honghy
Committed by
wux
Jan 14, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug170 订单编辑或者复制订单,目的国、线路、目的城市联动问题
parent
44223c43
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
edit.vue
src/views/ecw/order/edit.vue
+9
-5
No files found.
src/views/ecw/order/edit.vue
View file @
e129a085
...
@@ -894,7 +894,8 @@ export default {
...
@@ -894,7 +894,8 @@ export default {
destCityList
:
[],
destCityList
:
[],
selectedRouter
:
null
,
selectedRouter
:
null
,
// 发货人默认付款
// 发货人默认付款
defaultPay
:
false
defaultPay
:
false
,
showDestCityList
:
[]
};
};
},
},
computed
:
{
computed
:
{
...
@@ -1069,10 +1070,6 @@ export default {
...
@@ -1069,10 +1070,6 @@ export default {
showDestCountryList
()
{
showDestCountryList
()
{
return
this
.
destCountryList
return
this
.
destCountryList
},
},
showDestCityList
()
{
if
(
!
this
.
form
.
destCountryId
)
return
this
.
destCityList
return
this
.
destCityList
.
filter
(
item
=>
item
.
guojia
===
this
.
form
.
destCountryId
)
||
[]
},
// 是否已起运(已起运不让修改报关方式)
// 是否已起运(已起运不让修改报关方式)
isShipment
()
{
isShipment
()
{
return
[
326
,
328
,
329
,
330
,
332
,
391
,
392
,
426
,
428
,
432
].
indexOf
(
this
.
form
.
shipmentState
)
>
-
1
return
[
326
,
328
,
329
,
330
,
332
,
391
,
392
,
426
,
428
,
432
].
indexOf
(
this
.
form
.
shipmentState
)
>
-
1
...
@@ -1314,6 +1311,7 @@ export default {
...
@@ -1314,6 +1311,7 @@ export default {
await
getGuojiaAndShiAndWarehouseList
({
tradeType
:
1
}).
then
(({
data
})
=>
{
await
getGuojiaAndShiAndWarehouseList
({
tradeType
:
1
}).
then
(({
data
})
=>
{
this
.
destCountryList
=
data
.
guojiaList
this
.
destCountryList
=
data
.
guojiaList
this
.
destCityList
=
data
.
shiList
this
.
destCityList
=
data
.
shiList
this
.
showDestCityList
=
data
.
shiList
})
})
this
.
productAttrList
=
(
await
getProductAttrList
()).
data
this
.
productAttrList
=
(
await
getProductAttrList
()).
data
await
this
.
getChannelList
()
await
this
.
getChannelList
()
...
@@ -2099,7 +2097,13 @@ export default {
...
@@ -2099,7 +2097,13 @@ export default {
// 切换目的国
// 切换目的国
handleChangeDestCountry
(
val
)
{
handleChangeDestCountry
(
val
)
{
console
.
log
(
"
handleChangeDestCountry
"
,
val
)
console
.
log
(
"
handleChangeDestCountry
"
,
val
)
// 目的城市赋值
this
.
form
.
destCountryId
=
val
this
.
form
.
destCountryId
=
val
if
(
!
val
)
{
this
.
showDestCityList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
destCityList
))
}
else
{
this
.
showDestCityList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
destCityList
.
filter
(
item
=>
item
.
guojia
===
val
)))
}
if
(
this
.
form
.
destCountryId
)
{
if
(
this
.
form
.
destCountryId
)
{
this
.
form
.
objectiveId
=
null
this
.
form
.
objectiveId
=
null
this
.
form
.
lineId
=
null
this
.
form
.
lineId
=
null
...
...
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