@@ -111,7 +111,7 @@
</div>
<div class="operText">{{ $t("device.showGoods") }}</div>
- <div v-if="device.machineType === '1'" class="operItem" @click="changePasswordClk()">
+ <div v-if="user.type < 3" class="operItem" @click="changePasswordClk()">
<div class="operIcon">
<img class="operImg" src="../../assets/device/operIcon/password.png" />
@@ -108,7 +108,7 @@
</van-field>
<!-- 优惠券 -->
- <van-field colon readonly :label="`${$t('device.coupon')}`" placeholder="" v-if="user.type < 2">
+ <van-field colon readonly :label="`${$t('device.coupon')}`" placeholder="" v-if="user.type < 2 && user.ifForeign === '0' ">
<template #input>
<div class="l-flex-RC">
<span>{{ couponStatusNameComp }}</span>
@@ -505,6 +505,7 @@ export default {
toEditAdRule,
adRuleList,
machineType,
+ user,
};
},