|
@@ -374,7 +374,9 @@ type: "全额券" -->
|
374
|
374
|
</div>
|
375
|
375
|
</div>
|
376
|
376
|
</div>
|
377
|
|
- <div v-if='cardInfo.card_type == 1' class="confirm" @click="confirm">确定</div>
|
|
377
|
+ <div v-if="cardInfo.card_type == 1" class="confirm" @click="confirm">
|
|
378
|
+ 确定
|
|
379
|
+ </div>
|
378
|
380
|
</div>
|
379
|
381
|
</mine-pupop>
|
380
|
382
|
<!-- 修改次卡时间 -->
|
|
@@ -510,17 +512,21 @@ export default {
|
510
|
512
|
methods: {
|
511
|
513
|
// 刷新页面数据
|
512
|
514
|
refreshList() {
|
513
|
|
- this.currentPage1 = 1;
|
514
|
515
|
this.refresh = true;
|
515
|
|
- if (this.activeName == "first") {
|
516
|
|
- this.getUserProject();
|
517
|
|
- } else if (this.activeName == "second") {
|
518
|
|
- this.getCardList();
|
519
|
|
- } else if (this.activeName == "third") {
|
520
|
|
- this.getUserGoods();
|
521
|
|
- } else if (this.activeName == "fourth") {
|
522
|
|
- this.getUserCoupon();
|
523
|
|
- }
|
|
516
|
+ api.syncErpOrder({}).then((res) => {
|
|
517
|
+ if (res.code == 200) {
|
|
518
|
+ this.currentPage1 = 1;
|
|
519
|
+ if (this.activeName == "first") {
|
|
520
|
+ this.getUserProject();
|
|
521
|
+ } else if (this.activeName == "second") {
|
|
522
|
+ this.getCardList();
|
|
523
|
+ } else if (this.activeName == "third") {
|
|
524
|
+ this.getUserGoods();
|
|
525
|
+ } else if (this.activeName == "fourth") {
|
|
526
|
+ this.getUserCoupon();
|
|
527
|
+ }
|
|
528
|
+ }
|
|
529
|
+ });
|
524
|
530
|
},
|
525
|
531
|
// 打开核销优惠券界面
|
526
|
532
|
cancleCoupon(e) {
|