Explorar el Código

pc支付回调

tangning hace 2 años
padre
commit
c6e540430e
Se han modificado 2 ficheros con 4 adiciones y 2 borrados
  1. 2 1
      src/views/mobile/index.vue
  2. 2 1
      src/views/pc/index.vue

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

@@ -159,7 +159,8 @@ async function handleOpenPay() {
           <span>{{$t('payInfo.zyhy')}}
             <span v-if="orderDetal.goodsInfo && orderDetal.goodsInfo[0]">{{orderDetal.goodsInfo[0].count}}</span>
             <span v-else>1</span>
-             ,{{ $t(`payInfo.expiration`,{num:1}) }}</span>
+            <span v-if="orderDetal.orderType == 'incrementOrder'">,{{ $t(`payInfo.expiration`,{num:1}) }}</span>
+            </span>
         </div>
       </div>
       <div class="payType">

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

@@ -119,7 +119,8 @@ async function getCode() {
                   orderDetal.goodsInfo[0].count
                 }}</span>
                 <span v-else>1</span>
-                ,{{ $t(`payInfo.expiration`,{num:1}) }}</span
+                <span v-if="orderDetal.orderType == 'incrementOrder'">,{{ $t(`payInfo.expiration`,{num:1}) }}</span>
+                </span
               ></span
             >
           </div>