| | |
| | | <template> |
| | | <ProDialog title="出账审批" v-model="visible" @close="onDialogClose" destroy-on-close draggable> |
| | | <PortraitTableWithAttachment v-bind="portraitTableWithAttachmentProps"> |
| | | <ProDialog |
| | | :title="form.title" |
| | | v-model="visible" |
| | | @close="onDialogClose" |
| | | destroy-on-close |
| | | draggable |
| | | > |
| | | <PortraitTableWithAttachment v-bind="portraitTableWithAttachmentProps" labelWidth="100px"> |
| | | <template #title> |
| | | <el-row class="portrait-table-with-attachment-title"> |
| | | <el-text style="color: #333333">打款信息</el-text> |
| | |
| | | <ProFormItemV2 |
| | | label="上传凭证:" |
| | | prop="payAuditFileUrl" |
| | | :check-rules="[ |
| | | { |
| | | message: '请上传凭证', |
| | | type: 'upload', |
| | | }, |
| | | ]" |
| | | :required="!isApplyTrade" |
| | | :check-rules=" |
| | | !isApplyTrade && [ |
| | | { |
| | | message: '请上传凭证', |
| | | type: 'upload', |
| | | }, |
| | | ] |
| | | " |
| | | > |
| | | <ProFormUpload |
| | | v-model:file-url="form.payAuditFileUrl" |
| | |
| | | ProFormDatePicker, |
| | | UploadUserFile, |
| | | } from '@bole-core/components'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | import { copyTextToClipboard, usePortraitTableWithAttachment } from '@/hooks'; |
| | | import { convertApi2FormUrl, convertApi2FormUrlOnlyOne } from '@/utils'; |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import { usePortraitTableWithAttachment } from '@/hooks'; |
| | | import { copyTextToClipboard } from '@/utils'; |
| | | import { |
| | | EnumParkBountyTradeDetailAuditStatus, |
| | | EnumParkBountyTradeDetailAuditStatusTextForAdudit, |
| | | EnterpriseType, |
| | | EnterpriseTypeText, |
| | | } from '@/constants'; |
| | | |
| | | defineOptions({ |
| | | name: 'WithdrawalApprovalAuditDialog', |
| | | }); |
| | | |
| | | // type Props = {}; |
| | | type Props = { |
| | | //true 出账审批 false 财务审批 |
| | | isApplyTrade?: boolean; |
| | | }; |
| | | |
| | | // const props = withDefaults(defineProps<Props>(), {}); |
| | | const props = withDefaults(defineProps<Props>(), {}); |
| | | |
| | | const visible = defineModel({ type: Boolean }); |
| | | |
| | |
| | | parkName: string; |
| | | parkTypeName: string; |
| | | tradeAmount: number; |
| | | remianAmount: number; |
| | | bountyAmount: number; |
| | | tradeTime: string; |
| | | auditTime: string; |
| | | payRemark: string; |
| | |
| | | }, |
| | | { |
| | | label: '资金余额', |
| | | key: 'remianAmount', |
| | | key: 'bountyAmount', |
| | | type: 'money', |
| | | }, |
| | | ], |
| | |
| | | |
| | | function handleApply() { |
| | | copyTextToClipboard( |
| | | `开户名称:${form.value?.societyCreditCode}\n开户银行:${form.value?.contactPhone}\n开户账号:${form.value?.userName}` |
| | | `开户名称:${'太平财产保险有限公司抚州中心支公司'}\n开户银行:${'中国工商银行股份有限公司抚州赣东支行'}\n开户账号:${'1511 2001 2920 0156 069'}` |
| | | ); |
| | | } |
| | | </script> |