copy from src/views/Reward/components/RewardGrantDialog.vue
copy to src/views/Reward/components/PlateformDialog.vue
File was copied from src/views/Reward/components/RewardGrantDialog.vue |
| | |
| | | <template> |
| | | <ProDialog |
| | | title="奖励金发放" |
| | | title="平台充值" |
| | | v-model="innerVisible" |
| | | destroy-on-close |
| | | draggable |
| | |
| | | > |
| | | <ProForm :model="innerForm" ref="dialogForm" label-width="120px"> |
| | | <ProFormItemV2 |
| | | label="上传发放凭证:" |
| | | label="充值总额:" |
| | | prop="amount" |
| | | :check-rules="[{ message: '请输入充值总额', type: 'number' }]" |
| | | > |
| | | <ProFormInputNumber v-model="innerForm.amount" :controls="false" :min="0" :precision="2" /> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 |
| | | label="上传充值凭证:" |
| | | prop="settleFileUrl" |
| | | :check-rules="[{ message: '请上传发放凭证', type: 'upload' }]" |
| | | > |
| | |
| | | UploadUserFile, |
| | | ProForm, |
| | | ProFormItemV2, |
| | | ProFormSelect, |
| | | ProFormInputNumber, |
| | | ProFormUpload, |
| | | ProFormInputNumber, |
| | | } from '@bole-core/components'; |
| | | import { FormInstance } from 'element-plus'; |
| | | |
| | | defineOptions({ |
| | | name: 'RewardGrantDialog', |
| | | name: 'PlateformDialog', |
| | | }); |
| | | |
| | | type Props = { |
| | | modelValue: boolean; |
| | | form?: { |
| | | parkBountyApplyId: string; |
| | | amount: number; |
| | | settleFileUrl: UploadUserFile[]; |
| | | }; |
| | | }; |