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
2bf4ba5d
Commit
2bf4ba5d
authored
Nov 14, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出货阶段订单编辑逻辑bug修复
parent
8495b147
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
edit.vue
src/views/ecw/order/edit.vue
+6
-5
No files found.
src/views/ecw/order/edit.vue
View file @
2bf4ba5d
...
...
@@ -119,12 +119,12 @@
<div
class=
"form-section"
>
<el-form-item
:label=
"$t('运输方式')"
prop=
"transportId"
>
<dict-selector
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
v-model=
"form.transportId"
formatter=
"number"
clearable
@
input=
"updateRoutes('transportId')"
:disabled=
"form.shipmentState"
/>
clearable
@
input=
"updateRoutes('transportId')"
:disabled=
"form.shipmentState
> 0
"
/>
</el-form-item>
</div>
<div
class=
"form-section"
>
<el-form-item
:label=
"$t('始发城市')"
prop=
"departureId"
:disabled=
"false"
>
<el-select
v-model=
"form.departureId"
:placeholder=
"$t('请选择始发地')"
:disabled=
"form.shipmentState"
<el-select
v-model=
"form.departureId"
:placeholder=
"$t('请选择始发地')"
:disabled=
"form.shipmentState
> 0
"
clearable
@
input=
"updateRoutes('departureId')"
>
<el-option
v-for=
"item in exportCityList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
...
...
@@ -132,7 +132,7 @@
</el-form-item>
<el-form-item
:label=
"$t('目的国家')"
prop=
"destCountryId"
>
<el-select
v-model=
"form.destCountryId"
:placeholder=
"$t('请选择目的国家')"
@
change=
"handleChangeDestCountry"
clearable
:disabled=
"form.shipmentState"
>
@
change=
"handleChangeDestCountry"
clearable
:disabled=
"form.shipmentState
> 0
"
>
<el-option
v-for=
"item in showDestCountryList"
:label=
"$l(item, 'guojiaName')"
:value=
"item.guojia"
:key=
"item.guojia"
></el-option>
</el-select>
...
...
@@ -183,7 +183,7 @@
v-if=
"routeOtherServices.indexOf('1') > -1 || routeOtherServices.indexOf('4') > -1"
>
<el-checkbox-group
v-model=
"form.type"
>
<el-checkbox
label=
"1"
v-if=
"routeOtherServices.indexOf('1') > -1"
>
{{ $t('集运') }}
</el-checkbox>
<el-checkbox
label=
"2"
v-if=
"routeOtherServices.indexOf('4') > -1"
:disabled=
"form.shipmentState"
>
<el-checkbox
label=
"2"
v-if=
"routeOtherServices.indexOf('4') > -1"
:disabled=
"form.shipmentState
> 0
"
>
{{ $t('海外仓') }}
</el-checkbox>
</el-checkbox-group>
...
...
@@ -1237,6 +1237,7 @@ export default {
}
[
'
1
'
,
'
4
'
].
forEach
(
service
=>
{
if
(
this
.
routeOtherServices
.
indexOf
(
service
)
<
0
&&
this
.
form
.
type
.
indexOf
(
service
==
4
?
2
:
service
)
>
-
1
)
{
console
.
log
(
"
当前集运服务选择
"
,
this
.
form
.
type
)
this
.
form
.
type
.
splice
(
this
.
form
.
type
.
findIndex
(
item
=>
item
==
(
service
==
4
?
2
:
service
)),
1
)
}
})
...
...
@@ -1380,7 +1381,7 @@ export default {
isUnpack: this.form.isUnpack,
isSingleTicketTransport: this.form.isSingleTicketTransport,
}) */
console
.
log
(
"
集运服务类型
"
,
this
.
form
.
type
)
this
.
form
.
type
=
this
.
form
.
type
?
this
.
form
.
type
.
split
(
'
,
'
).
filter
(
item
=>
item
!=
''
)
:
[]
this
.
form
.
packageTypeArr
=
this
.
form
.
packageType
?
this
.
form
.
packageType
.
split
(
'
,
'
).
filter
(
item
=>
item
!=
''
)
:
[]
// 每次编辑订单详情需要实时获取发货人当前信息
...
...
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