From fc6bbae5805da6c95fd675210999a03802cd62ad Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 23 十月 2025 15:39:12 +0800
Subject: [PATCH] fix: 数据看板
---
src/views/Reward/components/BatchRegisterDialog.vue | 20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/src/views/Reward/components/BatchRegisterDialog.vue b/src/views/Reward/components/BatchRegisterDialog.vue
index a3f1014..872ed88 100644
--- a/src/views/Reward/components/BatchRegisterDialog.vue
+++ b/src/views/Reward/components/BatchRegisterDialog.vue
@@ -22,7 +22,12 @@
/>
</div>
</ProFormItemV2>
- <ProFormItemV2 label="鐧昏绫诲瀷:" prop="incomeType" required>
+ <ProFormItemV2
+ label="鐧昏绫诲瀷:"
+ prop="incomeType"
+ required
+ :check-rules="[{ message: '璇烽�夋嫨鐧昏绫诲瀷' }]"
+ >
<ProFormRadio
v-model="form.incomeType"
:value-enum="incomeTypeEnum"
@@ -45,11 +50,11 @@
</ProFormItemV2>
<ProFormItemV2
label="涓婁紶鐧昏鍑瘉:"
- prop="certificateUrl"
+ prop="fileUrl"
:check-rules="[{ message: '璇蜂笂浼犵櫥璁板嚟璇�', type: 'upload' }]"
>
<ProFormUpload
- v-model:file-url="form.certificateUrl"
+ v-model:file-url="form.fileUrl"
:limitFileSize="50"
accept="doc,docx,pdf,xls,xlsx,jpg/jpeg,png"
></ProFormUpload>
@@ -102,15 +107,16 @@
incomeType: IncomeTypeEnum;
parkBountyApplyId: string;
showSuportPlatRecharge: boolean;
+ showSuportFiscalRecharge: boolean;
- certificateUrl: UploadUserFile[];
+ fileUrl: UploadUserFile[];
};
const form = defineModel<Form>('form');
const incomeTypeEnum = computed(() => {
return [
- {
+ form.value.showSuportFiscalRecharge && {
label: IncomeTypeEnumText[IncomeTypeEnum.Fiscal],
value: IncomeTypeEnum.Fiscal,
},
@@ -131,7 +137,7 @@
async function getParkBountyApplyBatchTransferEnterprise() {
try {
- let res = await parkBountyApplyServices.getParkBountyApplyBatchTransferEnterprise({
+ let res = await parkBountyApplyServices.getParkBountyApplyBatchTransferRegEnterprise({
parkBountyApplyId: form.value.parkBountyApplyId,
});
if (res) {
@@ -144,7 +150,7 @@
async function getParkBountyApplyBatchFinanceEnterprise() {
try {
- let res = await parkBountyApplyServices.getParkBountyApplyBatchFinanceEnterprise({
+ let res = await parkBountyApplyServices.getParkBountyApplyBatchFinanceRegEnterprise({
parkBountyApplyId: form.value.parkBountyApplyId,
});
if (res) {
--
Gitblit v1.9.1