Browse Source

申请售后

shish 2 năm trước cách đây
mục cha
commit
5811934218
1 tập tin đã thay đổi với 14 bổ sung14 xóa
  1. 14 14
      hdApp/src/pagesPurchase/purDetails.vue

+ 14 - 14
hdApp/src/pagesPurchase/purDetails.vue

@@ -397,21 +397,21 @@ export default {
       if(this.detailInfo.status == 4){
         that.pageTo({url: '/pagesPurchase/refund?id='+this.detailInfo.id})
       }else{
-          if(this.detailInfo.pfShopId && this.detailInfo.pfShopId>0){
-            that.$util.confirmModal({content:'请先确认收货'},() => {
-              that.affirmTake()
-            })            
-          }else{
-            that.$util.confirmModal({content:'确认已收货?'},() => {
-              uni.showLoading({mask:true})
-              confirmTake({id:that.detailInfo.id}).then(res=>{
-                uni.hideLoading()
-                if(res.code == 1){
-                  that.pageTo({url: '/pagesPurchase/refund?id='+this.detailInfo.id})
-                }
-              })
+        if(this.detailInfo.pfShopId && this.detailInfo.pfShopId>0){
+          that.$util.confirmModal({content:'请先确认收货'},() => {
+            that.affirmTake()
+          })            
+        }else{
+          that.$util.confirmModal({content:'确认已收货?'},() => {
+            uni.showLoading({mask:true})
+            confirmTake({id:that.detailInfo.id}).then(res=>{
+              uni.hideLoading()
+              if(res.code == 1){
+                that.pageTo({url: '/pagesPurchase/refund?id='+this.detailInfo.id})
+              }
             })
-          }
+          })
+        }
       }
     },
     clearOrder(){