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
jinhui.wang
2022-12-09 17:18:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
679b1879d38a8dcbe81b967e157a66aa8a762842
679b1879
1 parent
2d876ed9
提示语增加,航班维护purple航班修改可修改航线
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
src/views/basicInformation/flightInformationMaintenance/index.vue
src/views/systemConfig/dictionaryConfig/dialog.vue
src/views/basicInformation/flightInformationMaintenance/index.vue
View file @
679b187
...
...
@@ -790,6 +790,30 @@ export default {
// this.form.isNeedRequired = this.form.isNeedRequired === 1 ? true : false;
// 计算高低价可配
// this.LowHighAvailable();
//航线
this.selectOption.flightKindlist.forEach(item => {
if (item.id == this.form.kindId) {
if (item.chineseName.indexOf('White') >= 0) {
this.formdisabled.route = true
} else if (item.chineseName.indexOf('Purple') >= 0) {
this.formdisabled.route = false
this.routeMultiple = true
//获取航线
queryRouteByFltNo({ fltNo: this.form.fltNo }).then(res => {
this.routeLoading = false
if (res.code === 200) {
this.routeList = res.data.list
} else {
this.msgWarning(res.msg)
}
}).catch(err => {
this.routeLoading = false
console.log(err)
})
}
}
})
this.ishighPriceWeightPercent = this.form.highLowPriceFlg === 1 ? false : true
} else {
this.msgError(response.msg);
...
...
src/views/systemConfig/dictionaryConfig/dialog.vue
View file @
679b187
...
...
@@ -42,6 +42,9 @@
<Drag :routes="routeList" @drag="drag"></Drag>
</el-form-item>
</div>
<el-form-item>
<div style="color:#ff4949;line-height: 30px;">注意:此处不能添加虚拟航班!</div>
</el-form-item>
</div>
<!-- 新增数据字典 -->
<div v-else>
...
...
@@ -377,4 +380,5 @@ export default {
</script>
<style>
</style>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment