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
60d54519
Commit
60d54519
authored
Oct 23, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/order_edit' into pre-release
parents
d0fba2db
22d21fad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
edit.vue
src/views/ecw/order/edit.vue
+13
-5
No files found.
src/views/ecw/order/edit.vue
View file @
60d54519
...
...
@@ -111,17 +111,17 @@
<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')"
/>
clearable
@
input=
"updateRoutes('transportId')"
:disabled=
"form.shipmentState"
/>
</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=
"f
als
e"
clearable
@
input=
"updateRoutes('departureId')"
>
<el-select
v-model=
"form.departureId"
:placeholder=
"$t('请选择始发地')"
:disabled=
"f
orm.shipmentStat
e"
clearable
@
input=
"updateRoutes('departureId')"
>
<el-option
v-for=
"item in exportCityList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('目的国家')"
prop=
"destCountryId"
>
<el-select
v-model=
"form.destCountryId"
:placeholder=
"$t('请选择目的国家')"
@
change=
"handleChangeDestCountry"
clearable
>
<el-select
v-model=
"form.destCountryId"
:placeholder=
"$t('请选择目的国家')"
@
change=
"handleChangeDestCountry"
clearable
:disabled=
"form.shipmentState"
>
<el-option
v-for=
"item in showDestCountryList"
:label=
"$l(item, 'guojiaName')"
:value=
"item.guojia"
:key=
"item.guojia"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -162,7 +162,7 @@
<el-form-item
:label=
"$t('增值服务')"
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"
>
{{$t('海外仓')}}
</el-checkbox>
<el-checkbox
label=
"2"
v-if=
"routeOtherServices.indexOf('4') > -1"
:disabled=
"form.shipmentState"
>
{{$t('海外仓')}}
</el-checkbox>
</el-checkbox-group>
</el-form-item>
</div>
...
...
@@ -370,7 +370,8 @@
<i
class=
"el-icon-question"
></i>
</el-tooltip>
</
template
>
<dict-selector
:type=
"DICT_TYPE.ECW_CUSTOMS_TYPE"
v-model=
"form.customsType"
form-type=
"radio"
defaultable
:disabled=
"false"
/>
<!--241023 已起运不让修改报关方式-->
<dict-selector
:type=
"DICT_TYPE.ECW_CUSTOMS_TYPE"
v-model=
"form.customsType"
form-type=
"radio"
defaultable
:disabled=
"isShipment"
/>
<!--自单代报显示提示-->
<div
v-if=
"+form.customsType === 2"
style=
"color:red;font-size:14px"
>
{{$t('报关退税,请备齐资料。')}}
</div>
</el-form-item>
...
...
@@ -964,6 +965,10 @@ export default {
showDestCityList
(){
if
(
!
this
.
form
.
destCountryId
)
return
this
.
destCityList
return
this
.
destCityList
.
filter
(
item
=>
item
.
guojia
===
this
.
form
.
destCountryId
)
||
[]
},
// 是否已起运(已起运不让修改报关方式)
isShipment
(){
return
[
326
,
328
,
329
,
330
,
332
,
391
,
392
,
426
,
428
,
432
].
indexOf
(
this
.
form
.
shipmentState
)
>
-
1
}
},
watch
:{
...
...
@@ -1662,6 +1667,9 @@ export default {
// 修改的提交
if
(
this
.
form
.
orderId
)
{
if
(
this
.
form
.
tidanNo
){
await
this
.
$confirm
(
this
.
$t
(
'
提单已制作,如需修改请联系客服
'
))
}
let
data
=
Object
.
assign
({},
this
.
form
,
{
status
:
submitType
,
customDraweeVOList
:
this
.
customDraweeList
,
...
...
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