wupengfei
3 天以前 85c2df026e79b6813e482af4e6ea124dac1fc112
src/views/FinanceManage/components/BalanceRechargeDialog.vue
@@ -1,11 +1,5 @@
<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">
@@ -42,7 +36,7 @@
        />
      </ProFormItemV2>
      <ProFormItemV2
        label="上传凭证:"
        label="上传凭证:"
        prop="files"
        :check-rules="[{ message: '请上传凭证', type: 'upload' }]"
      >
@@ -81,9 +75,10 @@
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 });
@@ -124,9 +119,7 @@
    });
  },
  placeholderData: () => ({} as API.GetCooperationWalletRechargeTransactionQueryResult),
  onSuccess(data) {
    form.value.receiveName = data.receiveName;
  },
  onSuccess(data) {},
  enabled: computed(() => !!form.value.id),
});
@@ -159,6 +152,7 @@
  copyTextToClipboard(
    `进账单位:${detail.value?.receiveUnit}\n开户名称:${detail.value?.receiveName}\n开户银行:${detail.value?.receiveBank}\n开户账号:${detail.value?.receiveAccount}`
  );
  Message.successMessage('复制成功');
}
const dialogForm = ref<FormInstance>();