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-10-26 15:22:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3b7fec339515c8b8d004632f6fe7cd3658879152
3b7fec33
1 parent
58e8d707
航班信息维护修改输入编辑航班号
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
src/views/basicInformation/flightInformationMaintenance/index.vue
src/views/systemConfig/superAllocation/dialog.vue
src/views/basicInformation/flightInformationMaintenance/index.vue
View file @
3b7fec3
...
...
@@ -1437,17 +1437,13 @@ export default {
/** 提交按钮 */
submitForm: function () {
this.$refs["form"].validate((valid) => {
if (this.form.route == undefined) {
if (this.form.route == undefined
|| this.form.route.length == 0
) {
this.routeError = true;
return;
}
if (this.form.route.length || this.form.route !== undefined) {
this.routeError = false;
}
if (this.form.route.length == 0) {
this.routeError = true;
return;
}
if (valid) {
let formdata = JSON.parse(JSON.stringify(this.form));
//高价百分比和低价百分比和不可以大于100
...
...
src/views/systemConfig/superAllocation/dialog.vue
View file @
3b7fec3
...
...
@@ -13,7 +13,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="航班号" prop="flightNo">
<el-input class="formItem" ref="flightNoFormItem" v-
focus v-
model="formData.flightNo"
<el-input class="formItem" ref="flightNoFormItem" v-model="formData.flightNo"
maxlength="20" placeholder="请输入航班号" @change="getRoute" :disabled="disabled">
</el-input>
</el-form-item>
...
...
@@ -31,7 +31,7 @@
<el-form-item label="航线" prop="flightRoute">
<el-select class="formItem" v-model="formData.flightRoute" placeholder="未设置"
:loading="routeLoading" :disabled="routeList.length == 0 || disabled" @change="routeChange">
<el-option v-for="
(item, index)
in routeList" :label="item.route" :value="item.route"
<el-option v-for="
item
in routeList" :label="item.route" :value="item.route"
:key="item.id">
<Tooltips :content="item.route" :refName="item.route"></Tooltips>
</el-option>
...
...
Please
register
or
login
to post a comment