| | |
| | | "EnumWeChatPayApplymentSalesScenesType": true, |
| | | "EnumWeChatPayApplymentSalesScenesTypeText": true, |
| | | "EnumWeChatPayApplymentState": true, |
| | | "EnumWeChatPayApplymentStateText": true, |
| | | "EnumWeChatPayApplymentSubjectType": true, |
| | | "EnumWeChatPayApplymentSubjectTypeText": true, |
| | | "EnumWeChatPaySettlementModifyVerifyResult": true, |
| | |
| | | const EnumWeChatPayApplymentSalesScenesType: typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentSalesScenesType'] |
| | | const EnumWeChatPayApplymentSalesScenesTypeText: typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentSalesScenesTypeText'] |
| | | const EnumWeChatPayApplymentState: typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentState'] |
| | | const EnumWeChatPayApplymentStateText: typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentStateText'] |
| | | const EnumWeChatPayApplymentSubjectType: typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentSubjectType'] |
| | | const EnumWeChatPayApplymentSubjectTypeText: typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentSubjectTypeText'] |
| | | const EnumWeChatPaySettlementModifyVerifyResult: typeof import('./src/constants/apiEnum')['EnumWeChatPaySettlementModifyVerifyResult'] |
| | |
| | | readonly EnumWeChatPayApplymentSalesScenesType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentSalesScenesType']> |
| | | readonly EnumWeChatPayApplymentSalesScenesTypeText: UnwrapRef<typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentSalesScenesTypeText']> |
| | | readonly EnumWeChatPayApplymentState: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentState']> |
| | | readonly EnumWeChatPayApplymentStateText: UnwrapRef<typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentStateText']> |
| | | readonly EnumWeChatPayApplymentSubjectType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentSubjectType']> |
| | | readonly EnumWeChatPayApplymentSubjectTypeText: UnwrapRef<typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentSubjectTypeText']> |
| | | readonly EnumWeChatPaySettlementModifyVerifyResult: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumWeChatPaySettlementModifyVerifyResult']> |
| | |
| | | [EnumWeChatPayApplymentBankAccountType.BANK_ACCOUNT_TYPE_PERSONAL]: |
| | | '经营者个人银行卡(仅个体户可选择)', |
| | | }; |
| | | |
| | | export const EnumWeChatPayApplymentStateText = { |
| | | [EnumWeChatPayApplymentState.APPLYMENT_STATE_EDITTING]: '对公银行账户', |
| | | }; |
| | |
| | | <template> |
| | | <LoadingLayout :loading="isLoading"> |
| | | <ProForm :model="form" ref="dialogForm" label-width="210px"> |
| | | <ProForm :model="form" ref="dialogForm" label-width="210px" :is-read="isDetail"> |
| | | <ProFormItemV2 |
| | | label="业务申请编号:" |
| | | prop="business_code" |
| | |
| | | const dialogForm = ref<FormInstance>(); |
| | | |
| | | const form = reactive({ |
| | | applyment_state: '' as any as EnumWeChatPayApplymentState, |
| | | business_code: '', |
| | | contact_type: '' as any as EnumWeChatPayApplymentContactType, |
| | | contact_name: '', |
| | |
| | | bank_branch_area: [] as number[], |
| | | }); |
| | | |
| | | const isDetail = computed( |
| | | () => form.applyment_state === EnumWeChatPayApplymentState.APPLYMENT_STATE_FINISHED |
| | | ); |
| | | |
| | | const EnumWeChatPayApplymentCertTypeTextList = computed(() => { |
| | | if (form.subject_type === EnumWeChatPayApplymentSubjectType.SUBJECT_TYPE_INSTITUTIONS) { |
| | | return EnumWeChatPayApplymentCertTypeTextForSYDW; |
| | |
| | | }); |
| | | }, |
| | | onSuccess(data) { |
| | | form.applyment_state = data.applyment_state; |
| | | form.business_code = data.business_code ?? ''; |
| | | form.contact_type = data.contact_info?.contact_type; |
| | | form.contact_name = data.contact_info?.contact_name ?? ''; |