From f3703b1f81c3851445d9e45e011af74acad2f618 Mon Sep 17 00:00:00 2001 From: ylj20011123 Date: Mon, 20 Oct 2025 18:44:48 +0800 Subject: [PATCH] update --- .../HistoricalAccounting/index.tsx | 35 +- .../ahjgPage/InventoryCategory/index.tsx | 3 + src/pages/ahjgPage/InventoryDetails/index.tsx | 3 + .../ahjgPage/inventoryInformation/index.tsx | 3 + .../oneProductMultipleSizes/index.tsx | 5 +- .../ahjgPage/purchaseReceiving/index.tsx | 3 + src/pages/ahjgPage/returnProcess/index.tsx | 3 + src/pages/ahjgPage/servicePartAudit/index.tsx | 10 +- src/pages/ahjgPage/shopProcurement/index.tsx | 3 + .../basicManage/operatingBrand/index.tsx | 6 +- src/pages/basicManage/serviceArea/index.tsx | 8 +- .../serviceAreaPersonnel/index.tsx | 10 +- .../BusinessAnalysis/RevenueReport/index.tsx | 3 + .../personSellReport/index.tsx | 8 +- .../revenueQOQReport/index.tsx | 10 +- .../revenueYOYQOQReport/index.tsx | 8 +- .../BusinessAnalysis/saleFlow/index.tsx | 14 +- .../BusinessAnalysis/saleHisReport/index.tsx | 3 + .../BusinessAnalysis/saleRankReport/index.tsx | 9 +- .../BusinessAnalysis/saleReport/index.tsx | 3 + .../saleTypeHisReport/index.tsx | 9 +- .../BusinessAnalysis/saleTypeReport/index.tsx | 4 +- .../transactionAnalysis/index.tsx | 9 +- .../reports/audit/abnormalAmount/index.tsx | 12 +- .../reports/audit/abnormalAudit/index.tsx | 35 +- .../reports/audit/abnormalExamine/index.tsx | 12 +- .../reports/audit/abnormalReport/index.tsx | 8 +- .../reports/audit/abnormalSale/index.tsx | 14 +- .../audit/checkAccountReport/index.tsx | 8 +- src/pages/reports/audit/checkAcount/index.tsx | 8 +- .../reports/audit/checkDataManager/list.tsx | 868 +++++++++--------- .../reports/audit/curDailyReport/index.tsx | 44 +- src/pages/reports/audit/curVerify/index.tsx | 17 +- src/pages/reports/audit/feedback/index.tsx | 17 +- .../reports/audit/spAbnormalReport/index.tsx | 8 +- .../reports/audit/specialReport/index.tsx | 8 +- .../productControl/commoditySearch/index.tsx | 9 +- .../productControl/hotkeyset/index.tsx | 9 +- .../productControl/shopCommodity/index.tsx | 8 +- src/utils/exportExcelFun.ts | 116 ++- 40 files changed, 762 insertions(+), 611 deletions(-) diff --git a/src/pages/DataVerification/HistoricalAccounting/index.tsx b/src/pages/DataVerification/HistoricalAccounting/index.tsx index d748096..9052198 100644 --- a/src/pages/DataVerification/HistoricalAccounting/index.tsx +++ b/src/pages/DataVerification/HistoricalAccounting/index.tsx @@ -12,6 +12,7 @@ import useRequest from "@ahooksjs/use-request"; import { handleGetEndaccountHisList, handleGetServiceShopList } from "../service"; import { getFieldEnumTreeNoSession } from "@/services/options"; import moment from 'moment' +import { exportXlsxFromProColumnsExcelJS } from "@/utils/exportExcelFun"; const HistoricalAccounting: React.FC<{ currentUser: CurrentUser }> = (props) => { @@ -413,27 +414,29 @@ const HistoricalAccounting: React.FC<{ currentUser: CurrentUser }> = (props) => }} toolbar={{ actions: [ - - - , + // + // + // , - + {/*
*/} + {/* 处理状态: */} + {/* */} + {/*
*/} + {/*
*/} + {/* 异常类型: */} + {/* */} + {/*
*/} +
+ 经营模式: + +
+
+ 时间: + { + setSelectTime([moment(e[0]._d), moment(e[1]._d)]) + }} + />
-
- { - return { - onClick: () => { - setShowDrawer(true); - setCurrentRow(record) - }, - } - }} - > - +
+ +
+
+ { + return { + onClick: () => { + setShowDrawer(true); + setCurrentRow(record) + }, + } + }} + > + +
- { - setShowDrawer(false); - }} - destroyOnClose={true} - footer={ - currentRow?.Treatment_MarkState === 3 ? -
- -
- - -
-
: '' - } - > - -
- - ) + + { + setShowDrawer(false); + }} + destroyOnClose={true} + footer={ + currentRow?.Treatment_MarkState === 3 ? +
+ +
+ + +
+
: '' + } + > + +
+ + ) } export default connect(({ - user - }: ConnectState) => ({ + user +}: ConnectState) => ({ currentUser: user?.currentUser }))(List); diff --git a/src/pages/reports/audit/curDailyReport/index.tsx b/src/pages/reports/audit/curDailyReport/index.tsx index 854909a..6eac3f7 100644 --- a/src/pages/reports/audit/curDailyReport/index.tsx +++ b/src/pages/reports/audit/curDailyReport/index.tsx @@ -18,6 +18,7 @@ import * as numeral from "numeral"; import ProDescriptions from "@ant-design/pro-descriptions"; import PageTitleBox from "@/components/PageTitleBox"; import LeftSelectTree from "../../settlementAccount/component/leftSelectTree"; +import { exportXlsxFromProColumnsExcelJS } from "@/utils/exportExcelFun"; const curDailyReport: React.FC<{ currentUser: CurrentUser }> = (props) => { @@ -415,27 +416,36 @@ const curDailyReport: React.FC<{ currentUser: CurrentUser }> = (props) => { }} toolbar={{ actions: [ - - - , + // + // + // ,