From 0ecf7d2b669534403c090b0a7a0e107133f4aba1 Mon Sep 17 00:00:00 2001 From: nizongfeng Date: Wed, 15 Feb 2023 11:23:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/view/order_main/index.html | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) 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) {