Browse Source

退款调整

kk.shi 3 years ago
parent
commit
bddc550113
1 changed files with 10 additions and 1 deletions
  1. 10 1
      pages/welfareMall/order/orderCompletion.js

+ 10 - 1
pages/welfareMall/order/orderCompletion.js

@@ -210,7 +210,16 @@ Page({
     });
     await that.cancel();
     // await that.onLoad(that.options);
-    await that.selectOrder(that.data.orderSn);
+    wx.showToast({
+      title: '申请退款已提交',
+      icon: 'none',
+      duration: 2000,
+      success: function(){
+        setTimeout(() => {
+          that.selectOrder(that.data.orderSn);
+        }, 2000);
+      }
+    });
     // await wx.navigateTo({
     //   url:  "../refund/refund?orderSn=" + that.data.orderSn
     // })