自测wenti
This commit is contained in:
parent
be21098f35
commit
5d64e103bf
|
|
@ -155,6 +155,7 @@
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryshCode.shCode"
|
v-model="queryshCode.shCode"
|
||||||
placeholder="请输入手环编码"
|
placeholder="请输入手环编码"
|
||||||
|
maxlength="20"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
@ -222,7 +223,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<div slot="footer" class="dialog-footer">
|
<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>
|
<el-button @click="cancelBind">取 消</el-button>
|
||||||
</div>
|
</div>
|
||||||
<pagination
|
<pagination
|
||||||
|
|
@ -242,6 +243,7 @@
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryshEdit.shCode"
|
v-model="queryshEdit.shCode"
|
||||||
placeholder="请输入手环编码"
|
placeholder="请输入手环编码"
|
||||||
|
maxlength="20"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
@ -1607,11 +1609,15 @@
|
||||||
getShboxName(e,row){
|
getShboxName(e,row){
|
||||||
this.queryshCode.shboxId = row.shboxId;
|
this.queryshCode.shboxId = row.shboxId;
|
||||||
this.queryshCode.shboxName = row.shboxName;
|
this.queryshCode.shboxName = row.shboxName;
|
||||||
|
this.queryshCode.shboxCapacity = row.shboxCapacity;
|
||||||
|
this.queryshCode.shboxBindNum = row.shboxBindNum;
|
||||||
if(this.shboxIdOne == row.shboxId){
|
if(this.shboxIdOne == row.shboxId){
|
||||||
this.shboxIdOne = null
|
this.shboxIdOne = null
|
||||||
e.target.checked = false;
|
e.target.checked = false;
|
||||||
this.queryshCode.shboxId = null;
|
this.queryshCode.shboxId = null;
|
||||||
this.queryshCode.shboxName =null;
|
this.queryshCode.shboxName =null;
|
||||||
|
this.queryshCode.shboxCapacity = null
|
||||||
|
this.queryshCode.shboxBindNum = null;
|
||||||
}else{
|
}else{
|
||||||
this.shboxIdOne = row.shboxId;
|
this.shboxIdOne = row.shboxId;
|
||||||
}
|
}
|
||||||
|
|
@ -1620,11 +1626,15 @@
|
||||||
getShboxNameEdit(e,row){
|
getShboxNameEdit(e,row){
|
||||||
this.queryshEdit.shboxId = row.shboxId;
|
this.queryshEdit.shboxId = row.shboxId;
|
||||||
this.queryshEdit.shboxName = row.shboxName;
|
this.queryshEdit.shboxName = row.shboxName;
|
||||||
|
this.queryshEdit.shboxCapacity = row.shboxCapacity;
|
||||||
|
this.queryshEdit.shboxBindNum = row.shboxBindNum;
|
||||||
if(this.shboxId == row.shboxId){
|
if(this.shboxId == row.shboxId){
|
||||||
this.shboxId = 0
|
this.shboxId = 0
|
||||||
e.target.checked = false;
|
e.target.checked = false;
|
||||||
this.queryshEdit.shboxId = null;
|
this.queryshEdit.shboxId = null;
|
||||||
this.queryshEdit.shboxName =null;
|
this.queryshEdit.shboxName =null;
|
||||||
|
this.queryshEdit.shboxCapacity = null;
|
||||||
|
this.queryshEdit.shboxBindNum = null;
|
||||||
}else{
|
}else{
|
||||||
this.shboxId = row.shboxId;
|
this.shboxId = row.shboxId;
|
||||||
}
|
}
|
||||||
|
|
@ -1651,8 +1661,6 @@
|
||||||
|
|
||||||
/** 提交按钮 */
|
/** 提交按钮 */
|
||||||
submitForm() {
|
submitForm() {
|
||||||
console.log(this.shboxIdOne);
|
|
||||||
console.log(this.radioOne);
|
|
||||||
this.queryshCode.shCode = this.queryshCode.shCode;
|
this.queryshCode.shCode = this.queryshCode.shCode;
|
||||||
this.queryshCode.shboxId = this.shboxIdOne;
|
this.queryshCode.shboxId = this.shboxIdOne;
|
||||||
this.$refs["queryshCode"].validate(valid => {
|
this.$refs["queryshCode"].validate(valid => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue