From e9352432fd356691e8322af7a79781983f9932f9 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期二, 19 三月 2024 13:07:28 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master

---
 src/components/view/b2-standard.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/components/view/b2-standard.vue b/src/components/view/b2-standard.vue
index 4b39e82..333deea 100644
--- a/src/components/view/b2-standard.vue
+++ b/src/components/view/b2-standard.vue
@@ -99,7 +99,7 @@
 			</el-row>
 			<el-tree :data="list" ref="tree" :props="{ children: 'children', label: 'label' }"
 				node-key="label" :filter-node-method="filterNode" @node-click="handleNodeClick" highlight-current
-				@node-expand="nodeOpen" @node-collapse="nodeClose" v-loading="treeLoad" :expand-on-click-node="false" :default-expanded-keys="expandedKeys">
+				@node-expand="nodeOpen" @node-collapse="nodeClose" v-loading="treeLoad" :expand-on-click-node="true" :default-expanded-keys="expandedKeys">
 				<div class="custom-tree-node" slot-scope="{ node, data }">
 					<el-row>
 						<el-col :span="21">
@@ -161,7 +161,7 @@
 					<el-table-column prop="manHourGroup" label="宸ユ椂鍒嗙粍" width="100" show-overflow-tooltip></el-table-column>
 					<el-table-column prop="deviceGroup" label="璁惧缁�" width="120" show-overflow-tooltip></el-table-column>
 					<el-table-column prop="section" label="鍖洪棿" width="120" show-overflow-tooltip></el-table-column>
-					<el-table-column prop="ask" label="瑕佹眰鍊�" width="220px">
+					<el-table-column prop="ask" label="瑕佹眰鍊�" min-width="220px">
 						<template slot-scope="scope">
 							<el-input size="small" placeholder="瑕佹眰鍊�" v-model="scope.row.ask" clearable
 								@change="(value)=>upStandardProductList(value,scope.row.id)" v-if="upStandardProduct" type="textarea" :autosize="{ minRows: 1, maxRows: 3}"></el-input>
@@ -465,9 +465,10 @@
 					this.list = res.data
 					this.list.forEach(a=>{
 						a.children.forEach(b=>{
-							b.children.forEach(c=>{
+							/* b.children.forEach(c=>{
 								this.expandedKeys.push(c.label)
-							})
+							}) */
+							this.expandedKeys.push(b.label)
 						})
 					})
 					this.treeLoad = false

--
Gitblit v1.9.3