From 0267310eeb936aa37db78b329f9c8c6c31cc126c Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 29 十二月 2025 17:23:12 +0800
Subject: [PATCH] fix: 甲方小程序
---
packages/components/src/Card/TaskPrice.vue | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/packages/components/src/Card/TaskPrice.vue b/packages/components/src/Card/TaskPrice.vue
index 922f437..6a77f96 100644
--- a/packages/components/src/Card/TaskPrice.vue
+++ b/packages/components/src/Card/TaskPrice.vue
@@ -1,18 +1,26 @@
<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',
});
type Props = {
- value?: number;
+ value?: number | string;
unit?: string;
+ billingMethod?: EnumBillingMethod;
};
const props = withDefaults(defineProps<Props>(), {});
--
Gitblit v1.10.0