自测wenti
This commit is contained in:
parent
be21098f35
commit
5d64e103bf
|
|
@ -155,6 +155,7 @@
|
|||
<el-input
|
||||
v-model="queryshCode.shCode"
|
||||
placeholder="请输入手环编码"
|
||||
maxlength="20"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
|
@ -222,7 +223,7 @@
|
|||
</el-table-column>
|
||||
</el-table>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitFormBind">确 定</el-button>
|
||||
<el-button type="primary" @click="submitFormBind">绑 定</el-button>
|
||||
<el-button @click="cancelBind">取 消</el-button>
|
||||
</div>
|
||||
<pagination
|
||||
|
|
@ -242,6 +243,7 @@
|
|||
<el-input
|
||||
v-model="queryshEdit.shCode"
|
||||
placeholder="请输入手环编码"
|
||||
maxlength="20"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue