Browse Source

Merge branch '03/18VipActive' into dev

lex 2 năm trước cách đây
mục cha
commit
36862c1cc4
1 tập tin đã thay đổi với 7 bổ sung9 xóa
  1. 7 9
      src/components/MRefund.vue

+ 7 - 9
src/components/MRefund.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="mRefund">
     <m-header :backUrl="backUrlProtocol" name="退费规则" />
-    <div class="importTip" v-if="idss.length > 0&&tenantId==1">
+    <div class="importTip" v-if="idss.length > 0 && tenantId == 1">
       <h3 class="title">重要须知</h3>
       <p
         v-for="(id, index) in idss"
@@ -79,9 +79,7 @@
       <a class="btn-submit" @click="onPopupSure" v-if="!btnName">{{
         orderNo ? "支付" : "购买"
       }}</a>
-       <a v-else class="btn-submit" @click="onPopupSure">{{
-        btnName
-      }}</a>
+      <a v-else class="btn-submit" @click="onPopupSure">{{ btnName }}</a>
     </div>
     <!-- <div class="course" v-if="disCountList.length > 0">
       <h3 class="title">优惠信息</h3>
@@ -175,7 +173,7 @@
 
 <script>
 import Mcoupon from "@/components/Mcoupon.vue";
-import MHeader from "@/components/MHeader";
+import MHeader from "@/components/header";
 import { browser } from "@/common/util";
 import numeral from "numeral";
 export default {
@@ -236,7 +234,7 @@ export default {
       payCountMoney: 0,
       valuePirce: 0,
       couponIdList: [],
-      tenantId:null
+      tenantId: null,
     };
   },
   mounted() {
@@ -246,7 +244,7 @@ export default {
     if (this.ids.indexOf(6) == -1) {
       this.ids.push(6);
     }
-    this.tenantId = sessionStorage.getItem('tenantId')
+    this.tenantId = sessionStorage.getItem("tenantId");
   },
   methods: {
     onPopupSure() {
@@ -342,7 +340,7 @@ export default {
         // 不使用余额
         amount = this.allPrice - this.valuePirce;
       }
-      return Number(amount)
+      return Number(amount);
     },
     showPrice() {
       // allPrice - 余额 -优惠券
@@ -504,4 +502,4 @@ export default {
   font-weight: bold;
   font-size: 0.14rem !important;
 }
-</style>
+</style>