From 55cbafd4971ea4ea8adcf60b199608cc49945b87 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 27 十月 2025 15:52:41 +0800
Subject: [PATCH] fix: s
---
src/views/Reward/components/BatchRegisterDialog.vue | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/src/views/Reward/components/BatchRegisterDialog.vue b/src/views/Reward/components/BatchRegisterDialog.vue
index 9d1e70a..8ed6086 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"
@@ -102,6 +107,7 @@
incomeType: IncomeTypeEnum;
parkBountyApplyId: string;
showSuportPlatRecharge: boolean;
+ showSuportFiscalRecharge: boolean;
fileUrl: UploadUserFile[];
};
@@ -110,7 +116,7 @@
const incomeTypeEnum = computed(() => {
return [
- {
+ form.value.showSuportFiscalRecharge && {
label: IncomeTypeEnumText[IncomeTypeEnum.Fiscal],
value: IncomeTypeEnum.Fiscal,
},
@@ -124,14 +130,18 @@
const deleteList = ref<string[]>([]);
watch(visible, (value, oldValue) => {
- if (value && !oldValue) {
+ if (value && !oldValue && !form.value.incomeType) {
getParkBountyApplyBatchFinanceEnterprise();
+ } else {
+ form.value.companyList = [];
+ form.value.parkBountyApplyDetailIds = [];
+ deleteList.value = [];
}
});
async function getParkBountyApplyBatchTransferEnterprise() {
try {
- let res = await parkBountyApplyServices.getParkBountyApplyBatchTransferEnterprise({
+ let res = await parkBountyApplyServices.getParkBountyApplyBatchTransferRegEnterprise({
parkBountyApplyId: form.value.parkBountyApplyId,
});
if (res) {
@@ -144,7 +154,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