Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-09-04 15:58:56 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3ecaff9abc653e6c4fb7321fd412c20aea6a2312
3ecaff9a
1 parent
b1bd5c4e
modify
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
20 deletions
src/views/basicInformation/flightInformationMaintenance/index.vue
src/views/basicInformation/flightInformationMaintenance/index.vue
View file @
3ecaff9
...
...
@@ -134,28 +134,18 @@
</el-row>
<el-row style="margin-bottom:5px">
<el-col :span="12">
<el-form-item prop="route">
<template slot="label">
<div style="display:inline-block">航班路线
<el-tooltip class="item" effect="dark" content="输入航班号后获取航线信息。航班种类为Purple Tail时可以进行多选,切换航班种类后需重新选择航线"
placement="top-start">
<span class="el-icon-warning" style="color:#1890ff;font-size:16px"></span>
</el-tooltip>
</div>
</template>
<el-select ref="routeSelect" class="wid80" v-model="form.route" :disabled="formdisabled.route"
placeholder="请选择航线" no-data-text="未查询到航线" @change="routeChange" :loading="routeLoading"
:multiple='routeMultiple' :key="routeMultiple">
<el-option v-for="item in routeList" :key="item.id" :label="item.route" :value="item.route">
<el-form-item label="航班路线" prop="route">
<el-select class="wid80" v-model="form.route" placeholder="请选择航线">
<el-option v-for="item in routeList" :key="item.id" :label="item.route"
:value="item.id">
</el-option>
</el-select>
</el-form-item>
<div class="formTips" v-if="title == '修改航班信息'">注意!:移除航线,相对应日期级别航线维度会同时删除</div>
</el-col>
<el-col :span="12">
<el-form-item label="航班类型" prop="typeId">
<el-select class="wid80" v-model="form.typeId" placeholder="请选择航班类型">
<el-option v-for="item in
selectOption.flightTypelist" :key="item.id" :label="item.chineseName"
<el-option v-for="item in selectOption.flightTypelist" :key="item.id" :label="item.chineseName"
:value="item.id">
</el-option>
</el-select>
...
...
@@ -166,7 +156,7 @@
<el-col :span="12">
<el-form-item label="航班状态" prop="statusId">
<el-select class="wid80" :disabled="true" v-model="form.statusId" placeholder="请选择航班状态">
<el-option v-for="item in
selectOption.flightStatuslist" :key="item.id" :label="item.chineseName"
<el-option v-for="item in selectOption.flightStatuslist" :key="item.id" :label="item.chineseName"
:value="item.id">
</el-option>
</el-select>
...
...
@@ -317,7 +307,6 @@ export default {
},
//表单参数
form: {
route: "",
isNeedRequired: 2
},
routeList: [],
...
...
@@ -355,7 +344,7 @@ export default {
{
required: true,
message: "航班路线不能为空",
trigger: "
blur
",
trigger: "
change
",
},
// {
// pattern: /^(([\~A-Z]{3,4})(\-[A-Z]{3,4})+)(;{1,1}(([\~A-Z]{3,4})(\-[A-Z]{3,4})+)){0,}$/,
...
...
@@ -518,7 +507,7 @@ export default {
//输入航班号后
blurfltNo() {
this.routeList = []
//
this.routeList = []
this.form.accountTotalWeight = 0
this.form.accountAllocatedWeight = 0
if (
...
...
@@ -618,7 +607,7 @@ export default {
}
}
})
this.$refs.routeSelect.$forceUpdate()
//
this.$refs.routeSelect.$forceUpdate()
},
//查询条件数据源
findFltConditionData() {
...
...
@@ -1102,6 +1091,10 @@ export default {
//航线修改
routeChange(val) {
this.$forceUpdate()
if(val.length){
// this.rules.route.required = false
}
console.log(this.form.route)
},
//多选框选中数据
tableSelect(val) {
...
...
Please
register
or
login
to post a comment