|  |  | 
 |  |  |   (e: 'onCancel'): void; | 
 |  |  | }>(); | 
 |  |  |  | 
 |  |  | function getIncomeCompanyName(row: Form) { | 
 |  |  |   return row.id === '52febfa5-1df6-23d6-21fd-3a1cfdef4222' | 
 |  |  |     ? '中国大地财产保险股份有限公司深圳分公司' | 
 |  |  |     : row.incomeCompanyName ?? '太平财产保险有限公司抚州中心支公司'; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | function getIncomeBankAccount(row: Form) { | 
 |  |  |   return row.id === '52febfa5-1df6-23d6-21fd-3a1cfdef4222' | 
 |  |  |     ? '中国大地财产保险股份有限公司深圳分公司' | 
 |  |  |     : row.incomeBankAccount ?? '太平财产保险有限公司抚州中心支公司'; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | function getIncomeBankName(row: Form) { | 
 |  |  |   return row.id === '52febfa5-1df6-23d6-21fd-3a1cfdef4222' | 
 |  |  |     ? '中国工商银行股份有限公司深圳喜年支行' | 
 |  |  |     : row.incomeBankName ?? '中国工商银行股份有限公司抚州赣东支行'; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | function getIncomeBankCardNumber(row: Form) { | 
 |  |  |   return row.id === '52febfa5-1df6-23d6-21fd-3a1cfdef4222' | 
 |  |  |     ? StringUtils.insertSpaces('4000032419200171762') | 
 |  |  |     : StringUtils.insertSpaces(row.incomeBankCardNumber ?? '1511200129200156069'); | 
 |  |  | } | 
 |  |  |  | 
 |  |  | const { portraitTableWithAttachmentProps } = usePortraitTableWithAttachment({ | 
 |  |  |   data: form, | 
 |  |  |   annexList: computed(() => form.value?.payFileUrl), | 
 |  |  | 
 |  |  |     { | 
 |  |  |       label: '进账单位', | 
 |  |  |       key: 'incomeCompanyName', | 
 |  |  |       formatter: (row) => | 
 |  |  |         row.id === '52febfa5-1df6-23d6-21fd-3a1cfdef4222' | 
 |  |  |           ? '中国大地财产保险股份有限公司深圳分公司' | 
 |  |  |           : row.incomeCompanyName ?? '太平财产保险有限公司抚州中心支公司', | 
 |  |  |       formatter: (row) => getIncomeCompanyName(row), | 
 |  |  |     }, | 
 |  |  |     { | 
 |  |  |       label: '开户名称', | 
 |  |  |       key: 'incomeBankAccount', | 
 |  |  |       formatter: (row) => | 
 |  |  |         row.id === '52febfa5-1df6-23d6-21fd-3a1cfdef4222' | 
 |  |  |           ? '中国大地财产保险股份有限公司深圳分公司' | 
 |  |  |           : row.incomeBankAccount ?? '太平财产保险有限公司抚州中心支公司', | 
 |  |  |       formatter: (row) => getIncomeBankAccount(row), | 
 |  |  |     }, | 
 |  |  |     { | 
 |  |  |       label: '开户银行', | 
 |  |  |       key: 'incomeBankName', | 
 |  |  |       formatter: (row) => | 
 |  |  |         row.id === '52febfa5-1df6-23d6-21fd-3a1cfdef4222' | 
 |  |  |           ? '中国工商银行股份有限公司深圳喜年支行' | 
 |  |  |           : row.incomeBankName ?? '中国工商银行股份有限公司抚州赣东支行', | 
 |  |  |       formatter: (row) => getIncomeBankName(row), | 
 |  |  |     }, | 
 |  |  |     { | 
 |  |  |       label: '开户账号', | 
 |  |  |       key: 'incomeBankCardNumber', | 
 |  |  |       formatter: (row) => | 
 |  |  |         row.id === '52febfa5-1df6-23d6-21fd-3a1cfdef4222' | 
 |  |  |           ? StringUtils.insertSpaces('4000032419200171762') | 
 |  |  |           : StringUtils.insertSpaces(row.incomeBankCardNumber ?? '1511200129200156069'), | 
 |  |  |       formatter: (row) => getIncomeBankCardNumber(row), | 
 |  |  |     }, | 
 |  |  |     // { | 
 |  |  |     //   label: '企业类型', | 
 |  |  | 
 |  |  |  | 
 |  |  | function handleApply() { | 
 |  |  |   copyTextToClipboard( | 
 |  |  |     `开户名称:${'太平财产保险有限公司抚州中心支公司'}\n开户银行:${'中国工商银行股份有限公司抚州赣东支行'}\n开户账号:${'1511 2001 2920 0156 069'}` | 
 |  |  |     `开户名称:${getIncomeCompanyName(form.value)}\n开户银行:${getIncomeBankName( | 
 |  |  |       form.value | 
 |  |  |     )}\n开户账号:${getIncomeBankCardNumber(form.value)}` | 
 |  |  |   ); | 
 |  |  | } | 
 |  |  | </script> |