| 
					
				 | 
			
			
				@@ -69,7 +69,8 @@ const Receivable: React.FC<ReceivableProps> = ({ updateTreeAndContract, type }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   const y = useTabHeighAuto()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   const [ form ] = Form.useForm()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   const [ data, setData ] = useState<Array<iReceivableState>>([])
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  const [ id, setId ] = useState<string>('')
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  const [ rowId, setRowId ] = useState<string>('')
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  const [ page, setPage ] = useState(1)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   const [ fileModal, setFileModal ] = useState<iFileModal>({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     visible: false,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     dataType: consts.DATA_TYPE[type === ContractType.INCOME ? 'CONTRACT_RETURN' : 'CONTRACT_PAID'],
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -90,15 +91,15 @@ const Receivable: React.FC<ReceivableProps> = ({ updateTreeAndContract, type }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     !commonStore.returnWayOptions.length && (commonStore.queryWayOptions())
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (contractStore.contract.id) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if (contractStore.contract.id !== id) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        setId(contractStore.contract.id)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (contractStore.contract.id !== rowId) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        setRowId(contractStore.contract.id)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         initData()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else if (contractStore.activeKey && contractStore.activeKey === '2') {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         initData()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } else {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      setId('')
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      setRowId('')
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 项目节的点击,数据为空数组
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       setData([])
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -144,7 +145,7 @@ const Receivable: React.FC<ReceivableProps> = ({ updateTreeAndContract, type }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       width: '5%',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // eslint-disable-next-line react/display-name
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       render: (_: any, record: any, index: number) => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return <span>{index + 1}</span>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return <span>{((page - 1) * 8 ) +index + 1}</span>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     },
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     {
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -229,7 +230,8 @@ const Receivable: React.FC<ReceivableProps> = ({ updateTreeAndContract, type }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  const cancel = () => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  const cancel = (pageNo: number) => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    setPage(pageNo)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     setEditingKey('')
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 |