Browse Source

优化提示

master
nizongfeng 1 year ago
parent
commit
0ecf7d2b66
1 changed files with 11 additions and 5 deletions
  1. +11
    -5
      application/admin/view/order_main/index.html

+ 11
- 5
application/admin/view/order_main/index.html View File

@@ -645,7 +645,7 @@
offset:0,
showClose:true,duration:500,
type: 'error',
message: response.msg
message: data.msg
});
}
}).catch(function (error) {
@@ -655,7 +655,13 @@
//獲取列表
saveMemo() {
if (this.addMemo.memo == "") {
this.$message.error("请输入备注内容");return false;
this.$message({
offset:0,
showClose:true,duration:500,
type: 'error',
message: "请输入备注内容"
});
return false;
}
axios.post("/hotel.php/order_main/addMemo", this.addMemo).then((response) => {
let data = response.data;
@@ -671,7 +677,7 @@
offset:0,
showClose:true,duration:500,
type: 'error',
message: "response.msg"
message: data.msg
});
}
}).catch(function (error) {
@@ -695,7 +701,7 @@
offset:0,
showClose:true,duration:500,
type: 'error',
message: "response.msg"
message: data.msg
});
}
}).catch(function (error) {
@@ -729,7 +735,7 @@
offset:0,
showClose:true,duration:500,
type: 'error',
message: "response.msg"
message: data.msg
});
}
}).catch(function (error) {


Loading…
Cancel
Save