| | |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="8"> |
| | | <ProFormItemV2 label="企业类型:" prop="enterpriseType"> |
| | | <ProFormRadio v-model.trim="detail.enterpriseType" :value-enum="AuthTypeText" /> |
| | | <ProFormRadio |
| | | v-model.trim="detail.enterpriseType" |
| | | :value-enum="EnterpriseTypeText" |
| | | /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | |
| | | <ProFormColItem :span="8"> |
| | | <ProFormItemV2 label="开户银行:" prop="bankName"> |
| | | <ProFormText v-model.trim="detail.bankName" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="8"> |
| | | <ProFormItemV2 label="开户支行:" prop="bankBranchName"> |
| | | <ProFormText v-model.trim="detail.bankBranchName" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="8"> |
| | |
| | | } from '@bole-core/components'; |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import * as customerServices from '@/services/api/Customer'; |
| | | import { AuthTypeText } from '@/constants'; |
| | | import { EnterpriseTypeText } from '@/constants'; |
| | | import { convertApi2FormUrlOnlyOne } from '@/utils'; |
| | | |
| | | defineOptions({ |
| | |
| | | const { data: detail, isLoading } = useQuery({ |
| | | queryKey: ['customerServices/getParkCustomerManageBaseDetail', id], |
| | | queryFn: async () => { |
| | | return await customerServices.getParkCustomerManageBaseDetail( |
| | | { id: id }, |
| | | { |
| | | showLoading: false, |
| | | } |
| | | ); |
| | | return await customerServices.getParkCustomerManageBaseDetail({ id: id }); |
| | | }, |
| | | placeholderData: () => ({} as API.GetParkCustomerManageDetailOutput), |
| | | enabled: !!id, |