| 
					
				 | 
			
			
				@@ -1,4 +1,4 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { ForecastSummaryRecord, SalesForecastMainListItemRecord, SalesForecastMainRecord } from "@/api/forecast/types"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { SalesForecastMainRecord } from "@/api/forecast/types"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export interface PageConfig { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   pageSize: number; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -11,14 +11,10 @@ export interface ForecastSummaryComponentData { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   query: Record<string, any>; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   loading: boolean; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   page: PageConfig; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // 列表数据切换为主表记录,子表在展开行中展示 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   data: Array<SalesForecastMainRecord>; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // 选择列表也切换为主表记录 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   selectionList: Array<SalesForecastMainRecord>; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   option: AvueCrudOption; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // 新增:子表格(展开区)配置 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   childOption: AvueCrudOption; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // —— 导出选择层 —— 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   exportDialogVisible: boolean; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   exportForm: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     year: string | number | null; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -27,6 +23,9 @@ export interface ForecastSummaryComponentData { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   exportLoading: boolean; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   exportFormRules: Record<string, any>; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   monthOptions: Array<{ label: string; value: number }>; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  rowExporting: Record<string, boolean>; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  permissionList: Record<string, boolean>; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  readOnlyMode: boolean; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export interface ForecastSummaryComponent extends ForecastSummaryComponentData { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -38,16 +37,13 @@ export interface ForecastSummaryComponent extends ForecastSummaryComponentData { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   sizeChange: (pageSize: number) => void; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   refreshChange: () => void; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   beforeOpen: (done: Function, type: string) => void; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  getForecastSummaryDetail: (id: string | number) => Promise<ForecastSummaryRecord | null>; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // 新增:BigInt 安全转换工具 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  safeBigInt: (v: string | number | null | undefined) => bigint | null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // 模板调用的方法补充类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  getForecastSummaryDetail: (id: string | number) => Promise<any[]>; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   getApprovalStatusConfig: (status: number) => { label: string; type: string }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   formatNumber: (value: string | number) => string; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   formatDateTime: (dateTime: string) => string; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   formatYearMonth: (year: number, month: number) => string; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // —— 导出相关 —— 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   onExportTemplate: () => void; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   confirmExportByMonth: () => Promise<void>; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   cancelExportDialog: () => void; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  handleExportByMainId: (row: any) => Promise<void>; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |