From d975fc4756806f5b51f006c19c33571b9b8c0b3b Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期五, 20 十二月 2024 09:30:19 +0800 Subject: [PATCH] 修改下单时要求值输入限制 --- src/components/view/a6-device-management.vue | 42 ++++++++++++++++++++++-------------------- 1 files changed, 22 insertions(+), 20 deletions(-) diff --git a/src/components/view/a6-device-management.vue b/src/components/view/a6-device-management.vue index 0cc801f..478341e 100644 --- a/src/components/view/a6-device-management.vue +++ b/src/components/view/a6-device-management.vue @@ -486,15 +486,17 @@ font: '妗f淇', type: 'text', method: 'isUpdate' - }, { - id: 'handleConfig', - font: '鏁伴噰閰嶇疆', - type: 'text', - method: 'handleConfig', - disabFun: (row, index) => { - return row.insProductItem === '' - } - }], + } + // , { + // id: 'handleConfig', + // font: '鏁伴噰閰嶇疆', + // type: 'text', + // method: 'handleConfig', + // disabFun: (row, index) => { + // return row.insProductItem === '' + // } + // } + ], headNoShow:['enDeviceName'], tagField: { deviceStatus: { @@ -613,17 +615,17 @@ config = true } } - if (!config) { - this.componentData.do.splice(2, 1) - } - if (!up) { - this.componentData.do.splice(1, 1) - } - if (!del) { - this.componentData.do.splice(0, 1) - } - this.addPower = add - }, + // if (!config) { + // this.componentData.do.splice(2, 1) + // } + if (!up) { + this.componentData.do.splice(1, 1) + } + if (!del) { + this.componentData.do.splice(0, 1) + } + this.addPower = add + }, // 鑾峰彇瀛楀吀 selectEnumByCategory() { this.$axios.post(this.$api.enums.selectEnumByCategory, { -- Gitblit v1.9.3