From 9e4d0196ba9570110cd4a10bc9693bc6ffa005ba Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 29 十二月 2025 13:13:08 +0800
Subject: [PATCH] fix: 甲方小程序
---
packages/components/src/Card/TaskPrice.vue | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/packages/components/src/Card/TaskPrice.vue b/packages/components/src/Card/TaskPrice.vue
index 3e8d8a2..6a77f96 100644
--- a/packages/components/src/Card/TaskPrice.vue
+++ b/packages/components/src/Card/TaskPrice.vue
@@ -1,11 +1,18 @@
<template>
<div class="task-price">
- <div class="task-price-decimal">{{ value }}</div>
+ <div
+ class="task-price-decimal"
+ v-if="!!billingMethod || billingMethod !== EnumBillingMethod.Face"
+ >
+ {{ value }}
+ </div>
<div class="task-price-unit">{{ unit }}</div>
</div>
</template>
<script setup lang="ts">
+import { EnumBillingMethod } from '@12333/constants';
+
defineOptions({
name: 'TaskPrice',
});
@@ -13,6 +20,7 @@
type Props = {
value?: number | string;
unit?: string;
+ billingMethod?: EnumBillingMethod;
};
const props = withDefaults(defineProps<Props>(), {});
--
Gitblit v1.10.0