From ffd461f541b355d2d5124a0735d9c6fd557d21a5 Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期四, 10 八月 2023 13:13:06 +0800
Subject: [PATCH] Crunchy-08/10中午

---
 src/components/view/standard.vue |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/src/components/view/standard.vue b/src/components/view/standard.vue
index 883e3f1..3a9c15a 100644
--- a/src/components/view/standard.vue
+++ b/src/components/view/standard.vue
@@ -12,7 +12,7 @@
     margin-bottom: 10px;
     padding: 0 20px;
   }
-  
+
   .standard .title *{
     font-size: 16px;
   }
@@ -89,7 +89,7 @@
   .standard .title .el-button * {
     font-size: 14px;
   }
-  
+
   .standard .title .el-button--default{
     color: #004EA2;
   }
@@ -153,10 +153,9 @@
       <el-dialog
         title="BOM鏂板"
         :visible.sync="bomAddModelVisible"
-        width="30%"
-        :before-close="handleClose">
+        width="30%">
         <el-form>
-          
+
         </el-form>
         <span slot="footer" class="dialog-footer">
           <el-button @click="bomAddModelVisible = false">鍙� 娑�</el-button>
@@ -207,7 +206,6 @@
         this.$refs.tree.filter(val);
       },
       tableType(val){
-        console.log(val)
         this.selectProductTableData()
       }
     },
@@ -216,7 +214,6 @@
     },
     methods: {
       handleNodeClick(data) {
-        // console.log(data);
         this.checkTreeNode = data
         // this.selectMaterialTree()
         this.selectProductTableData()
@@ -251,16 +248,15 @@
           this.$nextTick().then(() => {
           const firstNode = document.querySelector('.el-tree-node .el-tree-node__children .el-tree-node .el-tree-node__children .el-tree-node .el-tree-node__children .el-tree-node')
           firstNode.click()
-          // console.log(firstNode)
           })
         })
-        
+
       },
       async selectProductTableData() {
         switch (this.tableType) {
           case 0:
         const {data:technologyList} = await this.$axios.get(this.$api.url.selectTechnologyByMaterial,{params:{specificationId:this.checkTreeNode.id,technologyName:this.searchName}})
-        this.tableData = technologyList    
+        this.tableData = technologyList
             break;
           case 1:
         const {data:productList} = await this.$axios.get(this.$api.url.selectProductByMaterial,{params:{specifications:this.checkTreeNode.id,project:this.searchName}})
@@ -275,7 +271,6 @@
         this.tableData = productList
             break;
         }
-        console.log(this.tableData)
       }
     }
   }

--
Gitblit v1.9.3