From b1155f6aa628cf8a6a22af436064f68561ddef1b Mon Sep 17 00:00:00 2001 From: nizongfeng Date: Thu, 18 Nov 2021 17:23:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A4=E4=BA=92=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/view/payment_order/index.html | 3 ++- application/admin/view/receipt_order/index.html | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/application/admin/view/payment_order/index.html b/application/admin/view/payment_order/index.html index af64bee..1f3b791 100755 --- a/application/admin/view/payment_order/index.html +++ b/application/admin/view/payment_order/index.html @@ -512,10 +512,12 @@ }); } else { this.$message.error(data.msg); + this.getData(this.search.pageNum) } }).catch(function (error) { this.$message.error("保存失败"); console.log(error); + this.getData(this.search.pageNum) }); }).catch(() => { @@ -523,7 +525,6 @@ type: 'info', message: '已取消' }); - }).finally(()=>{ this.getData(this.search.pageNum) }) diff --git a/application/admin/view/receipt_order/index.html b/application/admin/view/receipt_order/index.html index 559abaa..6534f8d 100755 --- a/application/admin/view/receipt_order/index.html +++ b/application/admin/view/receipt_order/index.html @@ -446,10 +446,13 @@ }); } else { this.$message.error(data.msg); + this.getData(this.search.pageNum) } + }).catch(function (error) { this.$message.error("保存失败"); console.log(error); + this.getData(this.search.pageNum) }); }).catch(() => { @@ -457,7 +460,6 @@ type: 'info', message: '已取消' }); - }).finally(()=>{ this.getData(this.search.pageNum) })