| | |
| | | useTable, |
| | | useFormDialog, |
| | | FieldRadio, |
| | | UploadUserFile, |
| | | } from '@bole-core/components'; |
| | | import { useAccess, useGlobalEventContext } from '@/hooks'; |
| | | import { EnterpriseConfigureType, IsConfiguredText } from '@/constants'; |
| | |
| | | alipayMerchantId: alipayWallet.merchantId, |
| | | signStatus: alipayWallet.signStatus, |
| | | expandindirectOrderStatus: alipayWallet.expandindirectOrderStatus, |
| | | |
| | | url: [] as UploadUserFile[], |
| | | }); |
| | | } else { |
| | | handleAdd({ |
| | |
| | | alipayMerchantId: '', |
| | | signStatus: '' as any as EnumEnterpriseWalletSignStatus, |
| | | expandindirectOrderStatus: '' as any as EnumEnterpriseWalletExpandindirectOrderStatus, |
| | | |
| | | url: [] as UploadUserFile[], |
| | | }, |
| | | }); |
| | | |
| | |
| | | > |
| | | <ProFormText v-model.trim="form.alipayMerchantId" placeholder="请输入商户ID" /> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 |
| | | label="图片:" |
| | | prop="url" |
| | | :check-rules="[{ type: 'upload', message: '请上传图片' }]" |
| | | > |
| | | <ProFormImageUpload v-model:file-url="form.url" :limitFileCount="1"></ProFormImageUpload> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 |
| | | label="图片:" |
| | | prop="url" |
| | | :check-rules="[{ type: 'upload', message: '请上传图片' }]" |
| | | > |
| | | <ProFormImageUpload v-model:file-url="form.url" :limitFileCount="1"></ProFormImageUpload> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 label="签约状态:" prop="signStatus" required> |
| | | <span>{{ EnumEnterpriseWalletSignStatusText[form.signStatus] }}</span> |
| | | <el-button style="margin-left: 10px" type="primary" link @click="handleCheckBankAccount" |
| | |
| | | ProFormSelect, |
| | | ProFormSwitch, |
| | | useFormDialog, |
| | | UploadUserFile, |
| | | ProFormImageUpload, |
| | | } from '@bole-core/components'; |
| | | import { BoleRegExp } from '@bole-core/core'; |
| | | import { |
| | |
| | | |
| | | signStatus: EnumEnterpriseWalletSignStatus; |
| | | expandindirectOrderStatus: EnumEnterpriseWalletExpandindirectOrderStatus; |
| | | |
| | | url: UploadUserFile[]; |
| | | }; |
| | | |
| | | const form = defineModel<Form>('form'); |