From d437553851a67ad51c3eed6daba509c16762d7a9 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期六, 18 五月 2024 08:09:57 +0800 Subject: [PATCH] 标准库修复 --- src/components/view/b2-standard.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/view/b2-standard.vue b/src/components/view/b2-standard.vue index a6e46cc..d80b25e 100644 --- a/src/components/view/b2-standard.vue +++ b/src/components/view/b2-standard.vue @@ -165,7 +165,7 @@ :class="`node_i ${data.children != undefined ? (data.code==='[1]'?'el-icon-folder-opened':'el-icon-folder') : 'el-icon-tickets'}`"></i> {{ data.code }} {{ data.label }}</span> </el-col> - <el-col :span="2" style="text-align: right;" v-if="delStandardTree"> + <el-col :span="2" style="text-align: right;" v-if="delStandardTree&&node.level==5"> <el-button type="text" size="mini" @click.stop="remove(node, data)"> <i class="el-icon-delete"></i> </el-button> @@ -1115,7 +1115,7 @@ this.productList.forEach(a => { if (a.state == 1) this.toggleSelection(a) }) - }, 200) + }, 300) this.tableLoad2 = false }) }, @@ -1154,13 +1154,13 @@ }, handleAll(e) { if (e.length > 0) { - this.productList = this.productList.map(m => { + this.productList.map(m => { m.state = 0 this.upProductSelect(null, m) return m }) } else { - this.productList = this.productList.map(m => { + this.productList.map(m => { m.state = 1 this.upProductSelect(null, m) return m @@ -1293,7 +1293,7 @@ }) }, async handleMore(){ - if(!this.standardId&&this.standardId!=0){ + if((!this.standardId&&this.standardId!=0)||this.standardList.length==0){ return this.$message.error('璇烽�夋嫨瀹為獙瀹ゃ�佹牱鍝�') } await this.getList() -- Gitblit v1.9.3