|
|
@ -19,6 +19,11 @@ |
|
|
|
<a-input-number v-model:value="formData.proMoney" placeholder="请输入申领金额" style="width: 100%" /> |
|
|
|
<a-input-number v-model:value="formData.proMoney" placeholder="请输入申领金额" style="width: 100%" /> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
|
|
|
|
<a-col :span="24"> |
|
|
|
|
|
|
|
<a-form-item label="申请理由" v-bind="validateInfos.applicationReason" id="InnovationVoucherForm-applicationReason" name="applicationReason"> |
|
|
|
|
|
|
|
<j-editor v-model:value="formData.applicationReason" :autoFocus="false"/> |
|
|
|
|
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
</a-col> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-form-item label="附件" v-bind="validateInfos.attachment" id="InnovationVoucherForm-attachment" name="attachment"> |
|
|
|
<a-form-item label="附件" v-bind="validateInfos.attachment" id="InnovationVoucherForm-attachment" name="attachment"> |
|
|
|
<j-upload v-model:value="formData.attachment" ></j-upload> |
|
|
|
<j-upload v-model:value="formData.attachment" ></j-upload> |
|
|
@ -37,6 +42,7 @@ |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue'; |
|
|
|
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue'; |
|
|
|
import JUpload from '/@/components/Form/src/jeecg/components/JUpload/JUpload.vue'; |
|
|
|
import JUpload from '/@/components/Form/src/jeecg/components/JUpload/JUpload.vue'; |
|
|
|
|
|
|
|
import JEditor from '/@/components/Form/src/jeecg/components/JEditor.vue'; |
|
|
|
import { getValueType } from '/@/utils'; |
|
|
|
import { getValueType } from '/@/utils'; |
|
|
|
import { saveOrUpdate } from '../InnovationVoucher.api'; |
|
|
|
import { saveOrUpdate } from '../InnovationVoucher.api'; |
|
|
|
import { Form } from 'ant-design-vue'; |
|
|
|
import { Form } from 'ant-design-vue'; |
|
|
@ -51,10 +57,11 @@ |
|
|
|
const emit = defineEmits(['register', 'ok']); |
|
|
|
const emit = defineEmits(['register', 'ok']); |
|
|
|
const formData = reactive<Record<string, any>>({ |
|
|
|
const formData = reactive<Record<string, any>>({ |
|
|
|
id: '', |
|
|
|
id: '', |
|
|
|
proName: '', |
|
|
|
proName: '', |
|
|
|
proType: '', |
|
|
|
proType: '', |
|
|
|
proMoney: undefined, |
|
|
|
proMoney: undefined, |
|
|
|
attachment: '', |
|
|
|
attachment: '', |
|
|
|
|
|
|
|
applicationReason: '', |
|
|
|
}); |
|
|
|
}); |
|
|
|
const { createMessage } = useMessage(); |
|
|
|
const { createMessage } = useMessage(); |
|
|
|
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } }); |
|
|
|
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } }); |
|
|
@ -80,7 +87,7 @@ |
|
|
|
return props.formDisabled; |
|
|
|
return props.formDisabled; |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 新增 |
|
|
|
* 新增 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|