Browse Source

优化核销美妆产品

yuhao 2 years ago
parent
commit
c399eabd1c
2 changed files with 7 additions and 3 deletions
  1. 2 1
      src/pages/home/detailList/index.vue
  2. 5 2
      src/pages/home/index.vue

+ 2 - 1
src/pages/home/detailList/index.vue

@@ -26,7 +26,7 @@
26 26
           <!-- 设置手动预约标识 -->
27 27
           <!-- 1是线上预约 2是线下预约 -->
28 28
           <div
29
-            v-if="projectItem.type == 2"
29
+          v-if="projectItem.type == 2"
30 30
             class="order-tip"
31 31
             :style="{ color: getStyleByOrderStatus(projectItem).orderTipColor }"
32 32
           >
@@ -370,6 +370,7 @@ export default {
370 370
       text-align: left;
371 371
       .userId{
372 372
         margin-top: 4px;
373
+        z-index: 99;
373 374
       }
374 375
       .project {
375 376
         padding: 3px;

+ 5 - 2
src/pages/home/index.vue

@@ -193,6 +193,7 @@ import api from "@/server/home";
193 193
 import vanList from "vant/lib/list";
194 194
 import minePupop from "../../components/minePupop/index.vue";
195 195
 import "vant/lib/list/style";
196
+import { log } from 'console';
196 197
 export default {
197 198
   data() {
198 199
     return {
@@ -247,8 +248,10 @@ export default {
247 248
     // 美妆产品核销
248 249
     goodsPickUp() {
249 250
       api.goodsPickUp({ code: this.goodsCode }).then((res) => {
250
-        this.goodsList = res.data;
251
-        this.isGoodsPanel = true;
251
+        if(res.code==200){
252
+          this.goodsList = res.data;
253
+          this.isGoodsPanel = true;
254
+        }
252 255
       });
253 256
     },
254 257
     // 美妆产品取货