|
|
|
@ -1,7 +1,7 @@ |
|
|
|
import { FormSchema } from '/@/components/Table' |
|
|
|
import { ref } from 'vue' |
|
|
|
import dayjs, { Dayjs } from 'dayjs' |
|
|
|
import { genderList, channelList, clueStatusList, followStatusList, paymentList, marriageList } from '/@/enums/customerEnum' |
|
|
|
import { genderList, channelList, clueStatusList, followStatusList, paymentList, marriageList, incomeList } from '/@/enums/customerEnum' |
|
|
|
import { useAddressData } from '/@/hooks/common' |
|
|
|
import { |
|
|
|
getIncomeList, |
|
|
|
@ -117,15 +117,27 @@ export const modalFormSchema: FormSchema[] = [ |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// field: 'incomeCode',
|
|
|
|
// label: '月收入',
|
|
|
|
// colProps: { span: 8 },
|
|
|
|
// component: 'ApiSelect',
|
|
|
|
// componentProps: {
|
|
|
|
// labelField: 'desc',
|
|
|
|
// api: getIncomeList,
|
|
|
|
// getPopupContainer: () => document.body,
|
|
|
|
// onChange: (_: any, v: any) => {
|
|
|
|
// basicInfoData.value.income = v?.label
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
field: 'incomeCode', |
|
|
|
label: '月收入', |
|
|
|
colProps: { span: 8 }, |
|
|
|
component: 'ApiSelect', |
|
|
|
component: 'Select', |
|
|
|
componentProps: { |
|
|
|
labelField: 'desc', |
|
|
|
api: getIncomeList, |
|
|
|
getPopupContainer: () => document.body, |
|
|
|
options: incomeList, |
|
|
|
onChange: (_: any, v: any) => { |
|
|
|
basicInfoData.value.income = v?.label |
|
|
|
}, |
|
|
|
|