chenrui  2 éve
szülő
commit
7bb2881b9e

+ 3 - 0
src/views/BasicsData/airportInfo/index.vue

@@ -466,6 +466,9 @@ const getAirlines = async () => {
         "companyID"
       );
       data.value = arr;
+      companyID.value = data.value[0].companyID;
+      company.value = data.value[0].companyName;
+      getQuery();
       // if (!company.length) {
       //   company.value = arr[0].companyID;
       //   company.value = arr[0].companyName;

+ 16 - 3
src/views/systemSettings/datastructure/datastructureTerm.vue

@@ -40,7 +40,11 @@
               </el-col>
               <el-col :span="12">
                 <el-form-item label="数据项类型" size="default">
-                  <el-select
+                  <el-input
+                    v-model="tableForm.dataType"
+                    placeholder="请输入数据项类型"
+                  />
+                  <!-- <el-select
                     style="width: 100%"
                     v-model="tableForm.dataType"
                     class="input-shadow"
@@ -56,7 +60,7 @@
                       :value="item.v ? item.v : item.planDepartureApt"
                     >
                     </el-option>
-                  </el-select>
+                  </el-select> -->
                 </el-form-item>
               </el-col>
               <el-col :span="12">
@@ -216,7 +220,16 @@ const flag = ref<Boolean>(false); //弹窗开关
 const type = ref<String>(""); //判断是否删除
 const msgTitle = ref<String>("新增数据项"); //弹窗标题
 const tableColsCopys = reactive<Object>({}); //弹窗
-const tableOptionser = ref<Array>([]); //弹窗下拉
+const tableOptionser = ref<Array>([
+  {
+    k: "是",
+    v: "1",
+  },
+  {
+    k: "否",
+    v: "0",
+  },
+]); //弹窗下拉
 const tableForm = reactive({
   ItemID: "",
   dataStructureID: route.query.dataStructureID,