jinhui.wang

提示语增加,航班维护purple航班修改可修改航线

...@@ -790,6 +790,30 @@ export default { ...@@ -790,6 +790,30 @@ export default {
790 // this.form.isNeedRequired = this.form.isNeedRequired === 1 ? true : false; 790 // this.form.isNeedRequired = this.form.isNeedRequired === 1 ? true : false;
791 // 计算高低价可配 791 // 计算高低价可配
792 // this.LowHighAvailable(); 792 // this.LowHighAvailable();
793 +
794 + //航线
795 + this.selectOption.flightKindlist.forEach(item => {
796 + if (item.id == this.form.kindId) {
797 + if (item.chineseName.indexOf('White') >= 0) {
798 + this.formdisabled.route = true
799 + } else if (item.chineseName.indexOf('Purple') >= 0) {
800 + this.formdisabled.route = false
801 + this.routeMultiple = true
802 + //获取航线
803 + queryRouteByFltNo({ fltNo: this.form.fltNo }).then(res => {
804 + this.routeLoading = false
805 + if (res.code === 200) {
806 + this.routeList = res.data.list
807 + } else {
808 + this.msgWarning(res.msg)
809 + }
810 + }).catch(err => {
811 + this.routeLoading = false
812 + console.log(err)
813 + })
814 + }
815 + }
816 + })
793 this.ishighPriceWeightPercent = this.form.highLowPriceFlg === 1 ? false : true 817 this.ishighPriceWeightPercent = this.form.highLowPriceFlg === 1 ? false : true
794 } else { 818 } else {
795 this.msgError(response.msg); 819 this.msgError(response.msg);
......
...@@ -42,6 +42,9 @@ ...@@ -42,6 +42,9 @@
42 <Drag :routes="routeList" @drag="drag"></Drag> 42 <Drag :routes="routeList" @drag="drag"></Drag>
43 </el-form-item> 43 </el-form-item>
44 </div> 44 </div>
45 + <el-form-item>
46 + <div style="color:#ff4949;line-height: 30px;">注意:此处不能添加虚拟航班!</div>
47 + </el-form-item>
45 </div> 48 </div>
46 <!-- 新增数据字典 --> 49 <!-- 新增数据字典 -->
47 <div v-else> 50 <div v-else>
...@@ -377,4 +380,5 @@ export default { ...@@ -377,4 +380,5 @@ export default {
377 </script> 380 </script>
378 381
379 <style> 382 <style>
383 +
380 </style> 384 </style>
...\ No newline at end of file ...\ No newline at end of file
......