zhengyiming
2 天以前 ac2ca1c55728096667ceb9713e06995a4dfdf0fc
src/views/StatisticalReport/RewardStatistics.vue
@@ -22,8 +22,8 @@
        <template #query>
          <QueryFilterItem tip-content="申报月份">
            <FieldDatePicker
              v-model="extraParamState.month"
              type="month"
              v-model="extraParamState.months"
              type="months"
              clearable
              placeholder="请选择申报月份"
              format="YYYY-MM"
@@ -124,7 +124,7 @@
import { useAccess, useIndustrialParkDropDownList } from '@/hooks';
import { downloadFile, Message, OrderInputType } from '@bole-core/core';
import * as parkBountyApplyServices from '@/services/api/ParkBountyApply';
import { toThousand } from '@/utils';
import { format, toThousand } from '@/utils';
import _ from 'lodash';
import FinancialAllocationDetailDialog from './components/FinancialAllocationDetailDialog.vue';
import PlatformDisbursementDetailDialog from './components/PlatformDisbursementDetailDialog.vue';
@@ -285,7 +285,11 @@
} = useTable(
  async ({ pageIndex, pageSize }, extraParamState) => {
    try {
      if (!extraParamState.month) {
      // if (!extraParamState.month) {
      //   Message.errorMessage('请选择月份');
      //   return;
      // }
      if (!extraParamState.months.length) {
        Message.errorMessage('请选择月份');
        return;
      }
@@ -301,7 +305,8 @@
        },
        keywords: extraParamState.keywords,
        industrialParkId: extraParamState.industrialParkId,
        month: extraParamState.month,
        // month: extraParamState.month,
        months: extraParamState.months.map((x) => format(x as any, 'YYYY-MM')),
      };
      let res = await parkBountyApplyServices.getRewardStatistics(params, {
        showLoading: !state.loading,
@@ -314,6 +319,7 @@
      keywords: '',
      industrialParkId: '',
      month: '',
      months: [] as string[],
      orderInput: [{ property: 'enterpriseId', order: OrderInputType.Desc }],
    },
    columnsRenderProps: {