| | |
| | | width="600px" |
| | | > |
| | | <ProForm :model="innerForm" ref="dialogForm" label-width="100px"> |
| | | <ProFormItemV2 |
| | | label="投保产品:" |
| | | prop="productIdNumber" |
| | | :check-rules="[{ message: '请选择投保产品' }]" |
| | | v-if="allUserInsureProductSettingList.length > 0" |
| | | > |
| | | <ProFormSelect |
| | | placeholder="请选择投保产品" |
| | | :value-enum="allUserInsureProductSettingList" |
| | | clearable |
| | | v-model="form.productIdNumber" |
| | | enum-label-key="insuranceScheme" |
| | | enum-value-key="productIdNumber" |
| | | ></ProFormSelect> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 label="批次号:" prop="serialNum" :check-rules="[{ message: '请输入批次号' }]"> |
| | | <ProFormText |
| | | placeholder="请输入批次号" |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { useUserInsureProductSetting } from '@/hooks'; |
| | | import { |
| | | ProDialog, |
| | | UploadUserFile, |
| | |
| | | ProFormItemV2, |
| | | ProFormText, |
| | | ProFormUpload, |
| | | ProFormSelect, |
| | | } from '@bole-core/components'; |
| | | import { FormInstance } from 'element-plus'; |
| | | import _ from 'lodash'; |
| | |
| | | form?: { |
| | | serialNum: string; |
| | | url: UploadUserFile[]; |
| | | productIdNumber: string; |
| | | }; |
| | | }; |
| | | |
| | |
| | | (e: 'onCancel'): void; |
| | | }>(); |
| | | |
| | | const { allUserInsureProductSettingList } = useUserInsureProductSetting(); |
| | | |
| | | const innerVisible = computed({ |
| | | get() { |
| | | return props.modelValue; |