From 77658c765cf7efda6ab68bb92323eea6d87e19ff Mon Sep 17 00:00:00 2001 From: gaoluyang <gaoluyang@rengu.cc> Date: 星期日, 04 八月 2024 17:01:33 +0800 Subject: [PATCH] 1.下单里面所有特殊项目的弹框都加一个确认按钮再关闭页面,不然很容易还没选好页面就关闭了不容易再次更改 --- src/components/tool/value-table.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/tool/value-table.vue b/src/components/tool/value-table.vue index 3335bf3..4535d50 100644 --- a/src/components/tool/value-table.vue +++ b/src/components/tool/value-table.vue @@ -650,7 +650,7 @@ if (item.value.length === 4) { item.width = 120 } else if (item.value.length === 3){ - item.width = this.data.sort === false && item.label.includes('Hours') ? 50 : 100 + item.width = item.label.includes('Hours') ? 50 : 100 } else if (item.value.length === 5){ item.width = 130 } else if (item.value.length === 7){ @@ -658,12 +658,13 @@ } else if (item.value.length === 6){ item.width = 150 } else if (item.value.length === 2){ - item.width = this.data.sort === false && item.label.includes('Hours') ? 52 : 86 + item.width = item.label.includes('Hours') ? 52 : 86 } else { - item.width = this.data.sort === false && item.label.includes('Hours') ? 46 : 86 + item.width = item.label.includes('Hours') ? 46 : 86 } }) } + // console.log(JSON.stringify(this.tableHead)+"---------"+JSON.stringify(this.tableData)) for (var a in this.data.selectField) { if (this.data.selectField[a].choose == true) { -- Gitblit v1.9.3