| | |
| | | v-bind="dialogMaterialFileProps" |
| | | :show-upload-btn="false" |
| | | :show-delete-btn="false" |
| | | :show-check-btn="false" |
| | | downloadBtnText="查看" |
| | | title="查看凭证" |
| | | :BusinessTypeEnumText="TransferFileEnumInRewardGrandText" |
| | | /> |
| | |
| | | SettleStatusEnum, |
| | | TransferFileEnumInRewardGrandText, |
| | | } from '@/constants'; |
| | | import { useDeclareEnterpriseTable, rewardGrantRegisterColumns } from '@/hooks'; |
| | | import { useDeclareEnterpriseTable, useRewardGrantRegisterColumns } from '@/hooks'; |
| | | import { TransferFileEnumInRewardGrandTableItem } from '@/components/commonView/types'; |
| | | import RegisterGrantDialog from './components/RegisterGrantDialog.vue'; |
| | | import BatchRegisterDialog from './components/BatchRegisterDialog.vue'; |
| | |
| | | settleSumAmount: 0, |
| | | parkCollectFileList: [] as CustomerApplyFileTypeListItem[], |
| | | calculationFileList: [] as CustomerApplyFileTypeListItem[], |
| | | extraListFiles: [] as CustomerApplyFileTypeListItem[], |
| | | |
| | | suportPlatRecharge: false, |
| | | suportFinance: false, |
| | | }); |
| | | |
| | | const { rewardGrantRegisterColumns } = useRewardGrantRegisterColumns(); |
| | | |
| | | const { extraParamState, paginationState, getList, reset, proTableProps } = |
| | | useDeclareEnterpriseTable({ |
| | |
| | | form.calculationFileList = EnterpriseApplyFileUtils.convertApiFileToParkCollectFileList( |
| | | data.collectCountListFiles |
| | | ); |
| | | form.extraListFiles = EnterpriseApplyFileUtils.convertApiFileToExtraListFiles( |
| | | data.extraListFiles |
| | | ); |
| | | form.suportPlatRecharge = data.suportPlatRecharge; |
| | | form.suportFinance = data.suportFinance; |
| | | |
| | | getList(); |
| | | }, |
| | |
| | | }, |
| | | }); |
| | | |
| | | function openMaterialFileDialog(row: API.GetParkBountyApplyListOutput) { |
| | | function openMaterialFileDialog(row: API.ParkBountyApplyTransferDetailInfo) { |
| | | handleMaterialFileAdd({ |
| | | list: FourStreamsMaterialUtils.initApplyRewardGrandFileList(row), |
| | | }); |
| | |
| | | amount: 0, |
| | | showSuportPlatRecharge: false, |
| | | showSuportFiscalRecharge: false, |
| | | // showSuportFinance: false, |
| | | }, |
| | | }); |
| | | |
| | |
| | | incomeType: '' as any as IncomeTypeEnum, |
| | | fileUrl: [] as UploadUserFile[], |
| | | showSuportPlatRecharge: row.settleStatus === SettleStatusEnum.WaitForSettle, |
| | | showSuportFiscalRecharge: row.financeStatus === FinanceStatusEnum.WaitForIncome, |
| | | showSuportFiscalRecharge: |
| | | form.suportFinance && row.financeStatus === FinanceStatusEnum.WaitForIncome, |
| | | parkBountyApplyId: row.parkBountyApplyId, |
| | | parkBountyApplyDetailId: row.parkBountyApplyDetailId, |
| | | amount: 0, |
| | |
| | | async function parkBountyApplyTransferReg() { |
| | | try { |
| | | let params: API.ParkBountyApplyTransferInput = { |
| | | parkBountyApplyDetailId: id, |
| | | parkBountyApplyDetailId: editRegisterForm.parkBountyApplyDetailId, |
| | | transferToAmount: editRegisterForm.amount, |
| | | parkBountyApplyId: editRegisterForm.parkBountyApplyId, |
| | | transferToFileUrl: convertFormUrl2ApiBySeparator(editRegisterForm.fileUrl), |
| | |
| | | }, |
| | | }); |
| | | |
| | | async function handleImportParkBountyData(response: UploadUserFile) { |
| | | async function handleImportParkBountyData() { |
| | | try { |
| | | let params: API.ImportBountyApplyDataInput = { |
| | | parkBountyApplyId: uploadFileForm.parkBountyApplyId, |
| | | url: response.url, |
| | | url: uploadFileForm.url?.[0]?.path ?? '', |
| | | financeToFileUrl: convertFormUrl2ApiBySeparator(uploadFileForm.financeToFileUrl), |
| | | transferToFileUrl: convertFormUrl2ApiBySeparator(uploadFileForm.transferToFileUrl), |
| | | }; |
| | |
| | | handleBatchRegisterAdd({ |
| | | parkBountyApplyId: id, |
| | | showSuportPlatRecharge: form.suportPlatRecharge, |
| | | showSuportFiscalRecharge: form.suportFinance, |
| | | }); |
| | | } catch (error) {} |
| | | } |
| | |
| | | parkBountyApplyDetailIds: [] as string[], |
| | | amount: 0, |
| | | companyList: [] as API.GetNotTransferCompanyNameListOutput[], |
| | | incomeType: IncomeTypeEnum.Fiscal, |
| | | incomeType: '' as any as IncomeTypeEnum, |
| | | parkBountyApplyId: '', |
| | | showSuportPlatRecharge: false, |
| | | showSuportFiscalRecharge: false, |
| | | |
| | | fileUrl: [] as UploadUserFile[], |
| | | }, |