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 => {