Browse Source

Merge branch 'pre' of http://git.dgtis.com/sunlupeng/pointsMall

sunlupeng 1 year ago
parent
commit
cd305bfecc
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/HomeView/GoodsDetail.vue

+ 3 - 1
src/views/HomeView/GoodsDetail.vue

@@ -165,7 +165,7 @@
           </div>
         </div>
       </div>
-      <div v-if="data.deliveryType == 3">
+      <div v-if="data.deliveryType == 3 || data.deliveryType == 4">
         <div class="right" style="text-align: right;" v-if="data.orderType == 3">
           <div class="btn-line">
             <el-button @click="handleClickConfirm(0)" type="primary" round>确认收货</el-button>
@@ -176,6 +176,7 @@
   </div>
 </template>
 <script>
+import { setTab } from '@/utils/auth';
 import { orderInfo, orderConfirm } from "@/api/allApi";
 export default {
   data() {
@@ -214,6 +215,7 @@ export default {
           message: '提交成功!',
           type: 'success'
         });
+        setTab('exchange');
         this.$router.push({
           path: '/home/myCenter',
         });