From 5d64e103bf1316d12b4ff53a8ec0308dd3cb0ae3 Mon Sep 17 00:00:00 2001 From: jjLv <1981429112@qq.com> Date: Thu, 22 Aug 2024 10:36:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E6=B5=8Bwenti?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/base/bracelet/index.vue | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/views/base/bracelet/index.vue b/src/views/base/bracelet/index.vue index a1e430c..0f0d294 100644 --- a/src/views/base/bracelet/index.vue +++ b/src/views/base/bracelet/index.vue @@ -155,6 +155,7 @@ @@ -222,7 +223,7 @@ @@ -1607,11 +1609,15 @@ getShboxName(e,row){ this.queryshCode.shboxId = row.shboxId; this.queryshCode.shboxName = row.shboxName; + this.queryshCode.shboxCapacity = row.shboxCapacity; + this.queryshCode.shboxBindNum = row.shboxBindNum; if(this.shboxIdOne == row.shboxId){ this.shboxIdOne = null e.target.checked = false; this.queryshCode.shboxId = null; this.queryshCode.shboxName =null; + this.queryshCode.shboxCapacity = null + this.queryshCode.shboxBindNum = null; }else{ this.shboxIdOne = row.shboxId; } @@ -1620,11 +1626,15 @@ getShboxNameEdit(e,row){ this.queryshEdit.shboxId = row.shboxId; this.queryshEdit.shboxName = row.shboxName; + this.queryshEdit.shboxCapacity = row.shboxCapacity; + this.queryshEdit.shboxBindNum = row.shboxBindNum; if(this.shboxId == row.shboxId){ this.shboxId = 0 e.target.checked = false; this.queryshEdit.shboxId = null; this.queryshEdit.shboxName =null; + this.queryshEdit.shboxCapacity = null; + this.queryshEdit.shboxBindNum = null; }else{ this.shboxId = row.shboxId; } @@ -1651,8 +1661,6 @@ /** 提交按钮 */ submitForm() { - console.log(this.shboxIdOne); - console.log(this.radioOne); this.queryshCode.shCode = this.queryshCode.shCode; this.queryshCode.shboxId = this.shboxIdOne; this.$refs["queryshCode"].validate(valid => {