Browse Source

修改订单删除后状态无法更新的bug

yuwenjun 3 years ago
parent
commit
4dab1fb2fc
1 changed files with 3 additions and 3 deletions
  1. 3 3
      pages/user/order/order-details.vue

+ 3 - 3
pages/user/order/order-details.vue

@@ -313,7 +313,7 @@
 				this.OrderService.ConfirmReceipt({orderId:id}).then(response =>{
 					this.$util.msg(response.msg,2000,true,'success');
 					setTimeout(() => {
-						this.GetOrderDatainit(this.currentTab)
+						this.GetOrderDetaileData(this.currentTab)
 					},2000)
 				}).catch(error =>{
 					this.$util.msg(error.msg,2000)
@@ -323,7 +323,7 @@
 				this.OrderService.DeleteOrder({orderId:id}).then(response =>{
 					this.$util.msg(response.msg,2000,true,'success');
 					setTimeout(() => {
-						this.GetOrderDatainit(this.currentTab)
+						this.GetOrderDetaileData(this.currentTab)
 					},2000)
 				}).catch(error =>{
 					this.$util.msg(error.msg,2000)
@@ -333,7 +333,7 @@
 				this.OrderService.CancelOrder({orderId:id}).then(response =>{
 					this.$util.msg(response.msg,2000,true,'success');
 					setTimeout(() => {
-						this.GetOrderDatainit(this.currentTab)
+						this.GetOrderDetaileData(this.currentTab)
 					},2000)
 				}).catch(error =>{
 					this.$util.msg(error.msg,2000)