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
b4544817
Commit
b4544817
authored
Sep 18, 2022
by
wanglianghe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
海空联运显示运输方式
parent
086d65e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
indexSeaAir.vue
src/views/ecw/box/indexSeaAir.vue
+11
-2
No files found.
src/views/ecw/box/indexSeaAir.vue
View file @
b4544817
...
@@ -135,6 +135,12 @@
...
@@ -135,6 +135,12 @@
<el-dialog
:title=
"title"
:visible.sync=
"open"
width=
"800px"
append-to-body
>
<el-dialog
:title=
"title"
:visible.sync=
"open"
width=
"800px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
label=
"运输方式"
prop=
"transportType"
>
<el-radio-group
v-model=
"form.transportType"
>
<el-radio
v-for=
"dict in transportTypes"
:key=
"dict.value"
:label=
"dict.value"
>
{{dict.label}}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
label=
"出货渠道"
prop=
"shippingChannelId"
>
<el-form-item
label=
"出货渠道"
prop=
"shippingChannelId"
>
<el-select
v-model=
"form.shippingChannelId"
placeholder=
"请选择出货渠道"
>
<el-select
v-model=
"form.shippingChannelId"
placeholder=
"请选择出货渠道"
>
<el-option
v-for=
"item in channelList"
:label=
"item.nameZh"
:value=
"item.channelId"
:key=
"item.channelId"
></el-option>
<el-option
v-for=
"item in channelList"
:label=
"item.nameZh"
:value=
"item.channelId"
:key=
"item.channelId"
></el-option>
...
@@ -221,7 +227,7 @@
...
@@ -221,7 +227,7 @@
channelList
:[],
channelList
:[],
warehouseList
:
[],
warehouseList
:
[],
// 表单参数
// 表单参数
form
:
{},
form
:
{
transportType
:
"
4
"
},
// 表单校验
// 表单校验
rules
:
{
rules
:
{
shippingChannelId
:
[{
required
:
true
,
message
:
"
出货渠道不能为空
"
,
trigger
:
"
blur
"
}],
shippingChannelId
:
[{
required
:
true
,
message
:
"
出货渠道不能为空
"
,
trigger
:
"
blur
"
}],
...
@@ -266,6 +272,9 @@
...
@@ -266,6 +272,9 @@
},
},
created
()
{
created
()
{
this
.
transportTypes
=
this
.
getDictDatas
(
this
.
DICT_TYPE
.
ECW_TRANSPORT_TYPE
).
filter
((
item
)
=>
item
.
value
==
"
4
"
);
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
);
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
);
getCabinetPage
(
null
).
then
(
response
=>
{
getCabinetPage
(
null
).
then
(
response
=>
{
this
.
cabinetList
=
response
.
data
.
list
;
this
.
cabinetList
=
response
.
data
.
list
;
...
@@ -305,7 +314,7 @@
...
@@ -305,7 +314,7 @@
cabinetId
:
undefined
,
cabinetId
:
undefined
,
startWarehouseId
:
undefined
,
startWarehouseId
:
undefined
,
destWarehouseId
:
undefined
,
destWarehouseId
:
undefined
,
transportType
:
undefined
,
transportType
:
"
4
"
,
};
};
this
.
resetForm
(
"
form
"
);
this
.
resetForm
(
"
form
"
);
},
},
...
...
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