chenrui  1 年之前
父节点
当前提交
41660a73a0
共有 2 个文件被更改,包括 7 次插入4 次删除
  1. 5 2
      src/views/systemSettings/warningEdit/index.vue
  2. 2 2
      src/views/systemSettings/warningSet/index.vue

+ 5 - 2
src/views/systemSettings/warningEdit/index.vue

@@ -32,6 +32,7 @@
                 v-model="tableForm.IATACode"
                 class="input-shadow"
                 filterable
+                allow-create
                 default-first-option
                 clearable
                 placeholder="请选择航司二字码"
@@ -53,6 +54,7 @@
                 v-model="tableForm.departmentAirport"
                 class="input-shadow"
                 filterable
+                allow-create
                 default-first-option
                 clearable
                 placeholder="请选择起飞机场"
@@ -60,7 +62,7 @@
                 <el-option
                   v-for="item in tableOption"
                   :key="item.airportID"
-                  :label="item.airportName"
+                  :label="item.IATACode"
                   :value="item.IATACode"
                 >
                 </el-option>
@@ -74,6 +76,7 @@
                 v-model="tableForm.landingAirport"
                 class="input-shadow"
                 filterable
+                allow-create
                 default-first-option
                 clearable
                 placeholder="请选择降落机场"
@@ -81,7 +84,7 @@
                 <el-option
                   v-for="item in tableOption"
                   :key="item.airportID"
-                  :label="item.airportName"
+                  :label="item.IATACode"
                   :value="item.IATACode"
                 >
                 </el-option>

+ 2 - 2
src/views/systemSettings/warningSet/index.vue

@@ -87,7 +87,7 @@
                     <el-option
                       v-for="item in tableOptionser"
                       :key="item.airportID"
-                      :label="item.airportName"
+                      :label="item.IATACode"
                       :value="item.IATACode"
                     >
                     </el-option>
@@ -109,7 +109,7 @@
                     <el-option
                       v-for="item in tableOptionser"
                       :key="item.airportID"
-                      :label="item.airportName"
+                      :label="item.IATACode"
                       :value="item.IATACode"
                     >
                     </el-option>