From e09a106e6a0cad070f2c846b450b111e21bafb03 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期二, 28 五月 2024 14:07:21 +0800
Subject: [PATCH] 修改了光纤配置

---
 src/components/do/b1-ins-order/add.vue |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index 3157392..440208c 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -92,7 +92,7 @@
 
 <template>
   <div class="ins_order_add">
-    <div>
+    <div v-show="!configShow">
       <el-row class="title">
         <el-col :span="6" style="padding-left: 20px;">濮旀墭鍗曚俊鎭�</el-col>
         <el-col :span="18" style="text-align: right;">
@@ -120,7 +120,7 @@
         </el-col>
       </el-row>
     </div>
-    <div class="search">
+    <div class="search" v-show="!configShow">
       <el-row>
         <el-col class="search_thing" :span="6">
           <div class="search_label">濮旀墭缂栧彿锛�</div>
@@ -278,7 +278,7 @@
         </el-col>
       </el-row>
     </div>
-    <div>
+    <div v-show="!configShow">
       <el-table class="el-table sampleTable" ref="sampleTable" :data="sampleList" height="250px" tooltip-effect="dark"
         border @selection-change="selectSample" highlight-current-row @row-click="rowClick" style="margin-top: 10px;">
         <el-table-column type="selection" width="60" :selectable="selectable" v-if="active==1"></el-table-column>
@@ -540,14 +540,17 @@
         </el-row>
       </span>
     </el-dialog>
+    <fiberOpticConfig :currentId="currentId" v-if="configShow"/>
   </div>
 </template>
 
 <script>
   import ValueTable from '../../tool/value-table.vue'
+  import fiberOpticConfig from './fiberoptic-config.vue'
   export default {
     components: {
-      ValueTable
+      ValueTable,
+      fiberOpticConfig
     },
     props: {
       active: {
@@ -666,7 +669,8 @@
         noLoading: false,
         orderType: [],
         filters: [],
-        formType: []
+        formType: [],
+        configShow: false
       }
     },
     watch: {
@@ -1320,8 +1324,11 @@
         return row[property] === value;
       },
       openConfig(){
-        this.$parent.playOrder(4)
-        console.log(this.sampleIds);
+        if(this.sampleIds.length===0){
+          this.$message.error("鏈�夋嫨鏍峰搧")
+          return
+        }
+        this.configShow = true
       }
     }
   }

--
Gitblit v1.9.3