@@ -385,6 +385,8 @@ import { h } from 'vue'
const route = useRoute()
const router = useRouter()
+const userStore = useUserStore()
+const isSubordinate = computed(() => userStore.accountKind === 'subordinate')
// 移动端检测
const { isMobile } = useMobileTable()
@@ -1322,7 +1324,7 @@ const showWechatPaymentQRCode = (codeUrl, orderId) => {
}, '点击打开微信支付')
]),
h('div', { style: 'font-size: 14px; color: #666;' }, [
- h('p', `支付金额:¥${formatPrice(currentUIComponentPrice)}`),
+ isSubordinate.value ? null : h('p', `支付金额:¥${formatPrice(currentUIComponentPrice)}`),
h('p', '支付完成后,请点击"我已支付"按钮')
])
])
@@ -1330,7 +1332,7 @@ const showWechatPaymentQRCode = (codeUrl, orderId) => {
})
]),
h('div', { style: 'font-size: 14px; color: #666;' }, [
- h('p', `支付金额:¥${formatPrice(currentUIComponentPrice.value || 0)}`),
+ isSubordinate.value ? null : h('p', `支付金额:¥${formatPrice(currentUIComponentPrice.value || 0)}`),
h('p', '支付完成后,系统将自动检测支付状态')
])
]),