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
a8579832
Commit
a8579832
authored
Apr 12, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订舱供应商信息取值错误
parent
8f49c782
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
booking.vue
src/views/ecw/box/shippingSea/nodePage/booking.vue
+3
-3
dockSelect.vue
src/views/ecw/box/shippingSea/nodePage/common/dockSelect.vue
+3
-1
No files found.
src/views/ecw/box/shippingSea/nodePage/booking.vue
View file @
a8579832
...
@@ -8,13 +8,13 @@
...
@@ -8,13 +8,13 @@
<supplierSelect
v-model=
"bookingObj.shipCompanyType"
:companyType=
"'9'"
:placeholder=
"$t('请选择船公司类型')"
:allSupplier=
"this.$attrs.allSupplier"
/>
<supplierSelect
v-model=
"bookingObj.shipCompanyType"
:companyType=
"'9'"
:placeholder=
"$t('请选择船公司类型')"
:allSupplier=
"this.$attrs.allSupplier"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('驳船港')"
>
<el-form-item
:label=
"$t('驳船港')"
>
<dockSelect
v-model=
"bookingObj.bargePortId"
:placeholder=
"$t('请选择驳船港')"
:allDocks=
"this.$attrs.allDocks"
/>
<dockSelect
v-model=
"bookingObj.bargePortId"
:placeholder=
"$t('请选择驳船港')"
portType=
"2"
:allDocks=
"this.$attrs.allDocks"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('起运港')"
>
<el-form-item
:label=
"$t('起运港')"
>
<dockSelect
v-model=
"bookingObj.bigPortId"
:placeholder=
"$t('请选择起运港')"
:allDocks=
"this.$attrs.allDocks"
/>
<dockSelect
v-model=
"bookingObj.bigPortId"
:placeholder=
"$t('请选择起运港')"
portType=
"2"
:allDocks=
"this.$attrs.allDocks"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('目的港')"
>
<el-form-item
:label=
"$t('目的港')"
>
<dockSelect
v-model=
"bookingObj.destPortId"
:placeholder=
"$t('请选择目的港')"
:allDocks=
"this.$attrs.allDocks"
/>
<dockSelect
v-model=
"bookingObj.destPortId"
:placeholder=
"$t('请选择目的港')"
portType=
"2"
:allDocks=
"this.$attrs.allDocks"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('订舱公司')"
>
<el-form-item
:label=
"$t('订舱公司')"
>
<supplierSelect
v-model=
"bookingObj.spaceCompanyId"
:companyType=
"'1'"
:placeholder=
"$t('请选择订舱公司')"
:allSupplier=
"this.$attrs.allSupplier"
/>
<supplierSelect
v-model=
"bookingObj.spaceCompanyId"
:companyType=
"'1'"
:placeholder=
"$t('请选择订舱公司')"
:allSupplier=
"this.$attrs.allSupplier"
/>
...
...
src/views/ecw/box/shippingSea/nodePage/common/dockSelect.vue
View file @
a8579832
...
@@ -14,6 +14,7 @@ export default {
...
@@ -14,6 +14,7 @@ export default {
props
:
{
props
:
{
value
:
Number
,
value
:
Number
,
allDocks
:
Array
,
allDocks
:
Array
,
portType
:
String
},
},
model
:
{
model
:
{
prop
:
"
value
"
,
prop
:
"
value
"
,
...
@@ -24,7 +25,8 @@ export default {
...
@@ -24,7 +25,8 @@ export default {
},
},
computed
:
{
computed
:
{
getDock
()
{
getDock
()
{
return
this
.
allDocks
;
if
(
!
this
.
portType
)
return
this
.
allDocks
;
return
this
.
allDocks
.
filter
(
item
=>
item
.
portType
==
this
.
portType
)
},
},
},
},
methods
:
{
methods
:
{
...
...
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