Commit 0f665298 by 吕明尚

房间状态为占用时,不能修改

parent d62ffae6
......@@ -505,6 +505,10 @@ export default {
handleUpdate(row) {
this.reset();
const id = row.id || this.ids
if (row.status === 1) {
this.$modal.msgError("该房间已被占用,不能修改");
return;
}
getRoom(id).then(response => {
this.form = response.data;
this.form.status = response.data.status.toString();
......
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