Commit 9f52cd0d authored by 卢均锐's avatar 卢均锐

fix: [19588]

-同时修改选择合同可能出现的问题
parent af5fbca6
......@@ -143,7 +143,8 @@ const ContractDrawer: React.FC<ContractDrawerProps> = (props: ContractDrawerProp
fetchTableData={params => loadingTableData(params)}
columns={columns}
currentRef={ref}
rowKey="billId"
key={`contract_${partyBMemberId}`}
// rowKey="billId"
rowSelection={{
selectedRowKeys: selectedRowKeys,
onSelect: handleSelectChange,
......@@ -177,6 +178,7 @@ const ContractDrawer: React.FC<ContractDrawerProps> = (props: ContractDrawerProp
'x-component-props': {
placeholder: '请输入合同编号',
align: 'flex-start',
allowClear: true,
},
},
}
......
......@@ -156,10 +156,15 @@ const RequestFundsDrawer: React.FC<RequestFundsDrawerProps> = (props: RequestFun
>
<StandardTable
keepAlive={false}
key={`requestFunds_${applyType}`}
// tableProps={{
// rowKey: (record) => {
// return `requestFunds_${applyType}_${record['billNo']}_${record['billId']}_${record['billAmount']}_${record['billTime']}`;
// }
// }}
fetchTableData={params => loadingTableData(params)}
columns={columns}
currentRef={ref}
rowKey="billId"
rowSelection={{
selectedRowKeys: selectedRowKeys,
onSelect: handleSelectChange,
......@@ -193,6 +198,7 @@ const RequestFundsDrawer: React.FC<RequestFundsDrawerProps> = (props: RequestFun
'x-component-props': {
placeholder: '请输入单据号',
align: 'flex-start',
allowClear: true,
},
},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment