| | |
| | | <template> |
| | | <ProDialog |
| | | :title="form.title" |
| | | v-model="visible" |
| | | @close="onDialogClose" |
| | | destroy-on-close |
| | | draggable |
| | | > |
| | | <ProDialog title="充值" v-model="visible" @close="onDialogClose" destroy-on-close draggable> |
| | | <PortraitTableWithAttachment v-bind="portraitTableWithAttachmentProps"> |
| | | <template #title> |
| | | <el-row class="portrait-table-with-attachment-title"> |
| | |
| | | /> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 |
| | | label="上传凭证:" |
| | | label="上传凭证:" |
| | | prop="files" |
| | | :check-rules="[{ message: '请上传凭证', type: 'upload' }]" |
| | | > |
| | |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import * as enterpriseCooperationWalletServices from '@/services/api/enterpriseCooperationWallet'; |
| | | import _ from 'lodash'; |
| | | import { Message } from '@bole-core/core'; |
| | | |
| | | defineOptions({ |
| | | name: 'CustomerRechargeDialog', |
| | | name: 'BalanceRechargeDialog', |
| | | }); |
| | | |
| | | const visible = defineModel({ type: Boolean }); |
| | |
| | | }); |
| | | }, |
| | | placeholderData: () => ({} as API.GetCooperationWalletRechargeTransactionQueryResult), |
| | | onSuccess(data) { |
| | | form.value.receiveName = data.receiveName; |
| | | }, |
| | | onSuccess(data) {}, |
| | | enabled: computed(() => !!form.value.id), |
| | | }); |
| | | |
| | |
| | | }); |
| | | |
| | | function handleApply() { |
| | | copyTextToClipboard(`开户名称:${form.value}\n开户银行:${form.value}\n开户账号:${form.value}`); |
| | | copyTextToClipboard( |
| | | `进账单位:${detail.value?.receiveUnit}\n开户名称:${detail.value?.receiveName}\n开户银行:${detail.value?.receiveBank}\n开户账号:${detail.value?.receiveAccount}` |
| | | ); |
| | | Message.successMessage('复制成功'); |
| | | } |
| | | |
| | | const dialogForm = ref<FormInstance>(); |