xuqiang 5 anos atrás
pai
commit
198b039fd2

+ 1 - 1
src/components/AllorderInfo.vue

@@ -353,7 +353,7 @@ export default {
     },
     created() {
         this.rufundApply();
-        this.userIds();
+        // this.userIds();
     }
 };
 </script>

+ 8 - 8
src/components/AllselloutInfo.vue

@@ -51,7 +51,7 @@
                 <div v-if="status == 'CANCELED'" @click="deletes" class="box-but">删除订单</div>
                 <div v-if="status == 'CANCELED'" @click="Buyers" class="box-but3">联系买家</div>
                 <div v-if="status == 'REFUND'" @click="Buyers" class="box-but">联系买家</div>
-                <div v-if="status == 'REFUND'" class="box-but2">同意退款</div>
+                <div v-if="status == 'REFUND'" @click="deliver" class="box-but2">同意退款</div>
                 <div v-if="status == 'REFUNDED'" @click="deletes" class="box-but">删除订单</div>
             </div>
         </div>
@@ -239,14 +239,14 @@ export default {
             this.navigateTo('/pages/Applydetails?id=' + this.id);
         },
         deliver() {
-            // console.log(this.all);
-            // wx.showToast({
-            //     title: '敬请开放',
-            //     icon: 'none'
-            // });
-            this.$http.post('orderInfo/send', { logisticNo: 'SF1102671764014', type: '', remark: '' }).then(res => {
-                console.log(res);
+            console.log(this.all);
+            wx.showToast({
+                title: '敬请开放',
+                icon: 'none'
             });
+            // this.$http.post('orderInfo/send', { logisticNo: 'SF1102671764014', type: '', remark: '' }).then(res => {
+            //     console.log(res);
+            // });
         }
     }
 };