Commit d414072b by YG8999

设备房间绑定后,不允许修改,删除绑定后可以修改

parent 0a8d109f
...@@ -447,7 +447,7 @@ export default { ...@@ -447,7 +447,7 @@ export default {
const id = row.id || this.ids const id = row.id || this.ids
getDevice(id).then(response => { getDevice(id).then(response => {
if (response.data.roomId) { if (response.data.roomId) {
this.$modal.alert('设备已绑定门店房间不能修改,请先到房间管理删除设备绑定!'); this.$modal.alert('设备已绑定门店房间不能修改,请先到【房间管理】删除房间设备绑定关系!');
} else { } else {
this.form = response.data; this.form = response.data;
this.open = true; this.open = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment