手环管理bug修复
This commit is contained in:
parent
15b0236520
commit
6f40855301
|
|
@ -158,7 +158,7 @@
|
|||
<el-input
|
||||
v-model="queryshCode.shCode"
|
||||
placeholder="请输入手环编码"
|
||||
maxlength="20"
|
||||
maxlength="50"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
|
@ -247,7 +247,7 @@
|
|||
<el-input
|
||||
v-model="queryshEdit.shCode"
|
||||
placeholder="请输入手环编码"
|
||||
maxlength="20"
|
||||
maxlength="50"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
|
@ -590,7 +590,7 @@
|
|||
placeholder="请输入手环编码"
|
||||
clearable
|
||||
@keyup.enter.native="handleQueryShBind"
|
||||
maxlength="20"
|
||||
maxlength="50"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item prop="shPersonName">
|
||||
|
|
@ -1382,6 +1382,13 @@
|
|||
const param = {
|
||||
shId:row.shId,
|
||||
}
|
||||
if(row.shPersonName!=null && row.shPersonName!=''){
|
||||
this.$alert('手环已绑定使用人,不可解绑', '提示', {
|
||||
type: 'warning',
|
||||
confirmButtonText: '确定',
|
||||
});
|
||||
return;
|
||||
}
|
||||
this.$modal.confirm('确定把该手环与手环箱解除绑定吗?解绑后重新绑定才能继续使用!').then(function() {
|
||||
return delSh(param);
|
||||
}).then(() => {
|
||||
|
|
@ -1806,6 +1813,13 @@
|
|||
});
|
||||
return;
|
||||
}
|
||||
if (row.teamId!=null && row.teamId!='' && row.teamId!=0) {
|
||||
this.$alert('手环箱未归还,无法删除', '提示', {
|
||||
type: 'warning',
|
||||
confirmButtonText: '确定',
|
||||
});
|
||||
return;
|
||||
}
|
||||
const param = {
|
||||
shboxId:row.shboxId
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue