tangning 2 роки тому
батько
коміт
6118ae3185
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      src/views/mobile/index.vue
  2. 1 1
      src/views/pc/index.vue

+ 1 - 1
src/views/mobile/index.vue

@@ -187,7 +187,7 @@ async function handleOpenPay() {
             {{ orderDetal.goodsInfo[0].type==1?$t('payInfo.gjhy'):isEur?$t('payInfo.zyhys'):$t('payInfo.zyhy') }}
             <span>× {{orderDetal.goodsInfo[0].count}}</span>
             <!-- <span v-else>1</span> -->
-            <span v-if="orderDetal.orderType == 'incrementOrder'">,{{ orderDetal.goodsInfo[0].type==1?$t(`payInfo.expirationmon`,{num:1}):$t(`payInfo.expiration`,{num:1}) }}</span>
+            <span v-if="orderDetal.orderType == 'incrementOrder'">,{{ orderDetal.goodsInfo[0].type==1?$t(`payInfo.expirationmon`,{num:orderDetal.goodsInfo[0].monthQy || 1}):$t(`payInfo.expiration`,{num:1}) }}</span>
             </span>
         </div>
       </div>

+ 1 - 1
src/views/pc/index.vue

@@ -125,7 +125,7 @@ async function getCode() {
                    <span v-if="orderDetal.orderType != 'downOrder'">× {{item.count}}</span>
                 </span> 
                 <!-- <span v-else>1</span> -->
-                <span v-if="orderDetal.orderType == 'incrementOrder'">,{{ item.type==1?$t(`payInfo.expirationmon`,{num:1}):$t(`payInfo.expiration`,{num:1}) }}</span>
+                <span v-if="orderDetal.orderType == 'incrementOrder'">,{{ item.type==1?$t(`payInfo.expirationmon`,{num:item.monthQy || 1}):$t(`payInfo.expiration`,{num:1}) }}</span>
                 </span
               ></span
             >