Commit 4aa73a02 authored by 卢均锐's avatar 卢均锐

feat: 缓存业务对账协同-请款

parent a9954bd1
......@@ -15,7 +15,7 @@ import Card from '@/pages/transaction/purchaseAbility/components/card';
import ProgressLayout, { ProgressValue } from '@/pages/transaction/purchaseAbility/components/detail/components/progressCommonLayout';
import CommonLayout from '@/pages/transaction/purchaseAbility/components/detail/components/bidCommonLayout';
import { getSettleAccountsBusinessReconciliationDetailReconciliation, getSettleAccountsBusinessReconciliationReconciliationRowList, postSettleAccountsBusinessReconciliationTeamworkConfirmReconciliation } from '@/services/SettleV2Api'
import { getSettleAccountsBusinessReconciliationDetailReconciliation, getSettleAccountsBusinessReconciliationReconciliationRowList, postSettleAccountsBusinessReconciliationTeamworkConfirmReconciliation, postSettleAccountsBusinessReconciliationTeamworkGenerateApplyMount } from '@/services/SettleV2Api'
import BusinessFileLayout from '../../components/BusinessFileLayout';
import RecordCommonLayout from '../../components/RecordCommonLayout';
......@@ -243,13 +243,21 @@ const SearchDetail = () => {
history.goBack();
}
const _handleSubmit = () => {
postSettleAccountsBusinessReconciliationTeamworkGenerateApplyMount({ id }).then((res) => {
if (res.code === 1000) {
}
})
}
const _returnTopButton = () => {
switch (pathPci) {
case 'readyConfirm':
return <Button type='primary' icon={<CheckCircleOutlined />} onClick={() => { setModalVisible(true) }}>确认对账单</Button>
case 'readyPay':
return (
<Popconfirm title={intl.formatMessage({ id: 'balance.quedingyaotijiaoma' })} okText={intl.formatMessage({ id: 'balance.shi' })} cancelText={intl.formatMessage({ id: 'balance.fou' })}>
<Popconfirm title={intl.formatMessage({ id: 'balance.quedingyaotijiaoma' })} okText={intl.formatMessage({ id: 'balance.shi' })} cancelText={intl.formatMessage({ id: 'balance.fou' })} onConfirm={_handleSubmit}>
<Button type='primary' icon={<CheckCircleOutlined />}>
{intl.formatMessage({ id: 'balance.tijiao' })}
</Button>
......
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