zaijin 2 роки тому
батько
коміт
7945aba51c
1 змінених файлів з 5 додано та 2 видалено
  1. 5 2
      pages/parkingLists/parkingLists.vue

+ 5 - 2
pages/parkingLists/parkingLists.vue

@@ -39,9 +39,12 @@
 								<template v-if="tabObj.current === 1">
 									<view class="abli-header-surplus-right" @click.stop="createMonth(item)">办理包月</view>
 								</template>
+								<template v-else-if="item.monthAmount">
+									<view class="abli-header-surplus-right" @click.stop="createMonth(item)">办理包月</view>
+								</template>
 								<template v-else>
-									<view class="abli-header-surplus-right" :class="{ disabled: !item.monthAmount }"
-										@click.stop="createMonth(item)">办理包月</view>
+									<view class="abli-header-surplus-right" :class="{ disabled: !item.monthAmount }">
+										办理包月</view>
 								</template>
 							</view>
 						</view>