From 352ad5d8f7957bc7f84baf4ce4d8518619864b6e Mon Sep 17 00:00:00 2001
From: 李林 <z1292839451@163.com>
Date: 星期五, 18 八月 2023 11:55:50 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
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