From 6d8cde914540d6e2ecbd0fafda94be48af89c4da Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 01 十二月 2025 16:14:32 +0800
Subject: [PATCH] Merge branch 'dev-1.3.0.3' into dev-1.3.0.4
---
packages/components/src/Card/TaskPrice.vue | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/packages/components/src/Card/TaskPrice.vue b/packages/components/src/Card/TaskPrice.vue
index 922f437..0f93364 100644
--- a/packages/components/src/Card/TaskPrice.vue
+++ b/packages/components/src/Card/TaskPrice.vue
@@ -1,18 +1,23 @@
<template>
<div class="task-price">
- <div class="task-price-decimal">{{ value }}</div>
+ <div class="task-price-decimal" v-if="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',
});
type Props = {
- value?: number;
+ value?: number | string;
unit?: string;
+ billingMethod?: EnumBillingMethod;
};
const props = withDefaults(defineProps<Props>(), {});
--
Gitblit v1.9.1