| | |
| | | onClick: (role) => handleBatch(role), |
| | | }, |
| | | extraProps: { |
| | | hide: (row: API.GetInsurancePageOutput) => |
| | | row.productOnline || row.status !== InsurancePolicyStatusEnum.Effecting, |
| | | hide: (row: API.GetInsurancePageOutput) => row.status !== InsurancePolicyStatusEnum.Effecting, |
| | | }, |
| | | }, |
| | | { |
| | |
| | | function handleParkBountyApplyTradeBySelf(row: API.GetInsurancePageOutput) { |
| | | handleDisbursementAdd({ |
| | | remianAmount: row.remianAmount, |
| | | insurancePolicyId: row.id, |
| | | }); |
| | | } |
| | | |
| | |
| | | } = useFormDialog({ |
| | | onConfirm: parkBountyApplyTradeBySelf, |
| | | defaultFormParams: { |
| | | insurancePolicyId: '', |
| | | payRemark: '', |
| | | tradeAmount: 0, |
| | | remianAmount: 0, |
| | |
| | | incomeBankAccount: editDisbursementForm.incomeBankAccount, |
| | | incomeBankCardNumber: editDisbursementForm.incomeBankCardNumber, |
| | | incomeBankName: editDisbursementForm.incomeBankName, |
| | | insurancePolicyId: editDisbursementForm.insurancePolicyId, |
| | | }; |
| | | let res = await parkBountyApplyServices.parkBountyApplyTradeBySelf(params); |
| | | if (res) { |