Explorar el Código

修改变更资费权限

wxy hace 3 meses
padre
commit
332774d86d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/order/BuyCard/index.vue

+ 1 - 1
src/views/order/BuyCard/index.vue

@@ -51,7 +51,7 @@
             $t('order.UploadAmount') }}</a-button>
             $t('order.UploadAmount') }}</a-button>
           <!-- <a-button @click="openDetail(record)" type="text" v-if="userType !== 1">套餐</a-button>
           <!-- <a-button @click="openDetail(record)" type="text" v-if="userType !== 1">套餐</a-button>
           <a-button @click="openDetail(record)" type="text" v-if="userType !== 1">资费</a-button> -->
           <a-button @click="openDetail(record)" type="text" v-if="userType !== 1">资费</a-button> -->
-          <a-button @click="openEndDate(record)" type="text" v-if="userType == 2 && record.moderationStatus == 2">{{
+          <a-button @click="openEndDate(record)" type="text" v-if="userType == 1 && record.moderationStatus == 2">{{
             $t('order.ChangeValidity') }}</a-button>
             $t('order.ChangeValidity') }}</a-button>
           <a-button @click="openDetail(record)" type="text">{{ $t('order.view') }}</a-button>
           <a-button @click="openDetail(record)" type="text">{{ $t('order.view') }}</a-button>