| | |
| | | <template> |
| | | <ProFormCol> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 label="申报批次号:" prop="batchNo"> |
| | | <ProFormItemV2 label="申报批次号:" prop="batchNo" :mode="mode"> |
| | | <ProFormText v-model.trim="form.batchNo" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 label="申请奖励金月份:" prop="applyMonth"> |
| | | <ProFormDatePicker v-model="form.applyMonth" format="YYYY-MM" type="month" /> |
| | | <ProFormItemV2 label="申请奖励金月份:" prop="applyMonth" :mode="mode"> |
| | | <ProFormDatePicker v-model="form.applyMonth" format="YYYY年MM月" type="month" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 label="申报园区:" prop="parkName"> |
| | | <ProFormItemV2 label="申报园区:" prop="parkName" :mode="mode"> |
| | | <ProFormText v-model.trim="form.parkName" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 label="园区类型:"> |
| | | <ProFormItemV2 label="园区类型:" :mode="mode"> |
| | | <ProFormText v-model.trim="form.parkTypeName" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | |
| | | }); |
| | | |
| | | type Props = { |
| | | isEdit?: boolean; |
| | | form: { |
| | | batchNo: string; |
| | | parkName: string; |
| | |
| | | }; |
| | | }; |
| | | |
| | | const props = withDefaults(defineProps<Props>(), {}); |
| | | const props = withDefaults(defineProps<Props>(), { |
| | | isEdit: false, |
| | | }); |
| | | |
| | | const mode = computed(() => (props.isEdit ? 'read' : 'edit')); |
| | | |
| | | const { allSearchSettingList: parkTypeList } = useAllSearchSettingList({ |
| | | searchType: SearchType.Park, |