diff --git a/application/admin/view/order_main/index.html b/application/admin/view/order_main/index.html index 3b4795e..0d86ad4 100755 --- a/application/admin/view/order_main/index.html +++ b/application/admin/view/order_main/index.html @@ -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) {