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
hao.wang
2023-11-10 07:09:49 +0000
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
77618ebb45125e6cf9c665fc572263722dfecd9b
77618ebb
2 parents
4d19aca0
641aa218
Merge branch 'et86-black' into 'uat'
Et86 black See merge request
!2
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
src/views/allocationConfig/flightAllocConfig/components/RouteInfo.vue
src/views/allocationConfig/flightAllocConfig/mixins/index.js
src/views/basicInformation/flightInformationMaintenance/index.vue
src/views/et86Config/et86RuleConfig/edit/index.vue
src/views/systemConfig/superAllocation/dialog.vue
src/views/allocationConfig/flightAllocConfig/components/RouteInfo.vue
View file @
77618eb
...
...
@@ -439,7 +439,7 @@
type="primary"
size="small"
:disabled="pageName"
@click="addRouteRule(i
tem, i
ndex)"
@click="addRouteRule(index)"
>新增规则</el-button
>
</el-empty>
...
...
@@ -607,8 +607,8 @@ export default {
this.$emit("subCategory", arr);
},
// 新增规则
addRouteRule(i
tem, i
ndex) {
this.$emit("addRlue", i
tem, i
ndex);
addRouteRule(index) {
this.$emit("addRlue", index);
},
// 保存
saveSubmit(item, index) {
...
...
src/views/allocationConfig/flightAllocConfig/mixins/index.js
View file @
77618eb
...
...
@@ -122,6 +122,8 @@ export default {
queryParmas
:
function
()
{
// White Tail
if
(
parmas
.
flightKindName
==
"White Tail"
)
{
this
.
dateParmas
.
flightType
=
"WT"
;
this
.
noDateParmas
.
flightType
=
"WT"
;
_this
.
dateLevelData
({
dateParmas
:
this
.
dateParmas
,
noDateParmas
:
this
.
noDateParmas
,
...
...
src/views/basicInformation/flightInformationMaintenance/index.vue
View file @
77618eb
...
...
@@ -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/et86Config/et86RuleConfig/edit/index.vue
View file @
77618eb
...
...
@@ -630,7 +630,7 @@ export default {
.catch(() => {});
},
// 航线查询
getQueryRouteByFltNo(item) {
getQueryRouteByFltNo(item
, curRow
) {
this.tableAttr.tableLoading = true;
this.tableData[this.currentIndex].flightRoute;
queryRouteByFltNo(item)
...
...
@@ -654,7 +654,9 @@ export default {
this.tableData[this.currentIndex].flightRoute = "";
}
}
if (!curRow) {
this.tableData[this.currentIndex].flightRoute = "";
}
})
.catch(() => {});
},
...
...
@@ -692,7 +694,7 @@ export default {
};
// 航班号输入框失焦时判断有没有航班号,并且航班号是不是发生了变化调用航线查询
if (params.fltNo && params.fltNo !== this.currentFlightNo) {
this.getQueryRouteByFltNo(params); // 航线查询
this.getQueryRouteByFltNo(params
, ""
); // 航线查询
}
// 航班号为空时
if (params.fltNo.length == 0) {
...
...
@@ -710,7 +712,7 @@ export default {
// 出现下拉框时触发
if (e) {
// 航线查询
this.getQueryRouteByFltNo(params);
this.getQueryRouteByFltNo(params
, row.flightRoute
);
}
},
// 添加ET86配舱航班顺位
...
...
src/views/systemConfig/superAllocation/dialog.vue
View file @
77618eb
...
...
@@ -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