bug fix
parent
2dee8705dd
commit
d442522bac
|
|
@ -272,7 +272,7 @@ function CertModal({
|
||||||
const loadProfessionalCapabilities = async (industryCode) => {
|
const loadProfessionalCapabilities = async (industryCode) => {
|
||||||
if (!industryCode) {
|
if (!industryCode) {
|
||||||
setProfessionalCapabilityOptions([]);
|
setProfessionalCapabilityOptions([]);
|
||||||
form.setFieldsValue({ professionalCapabilityId: undefined });
|
form.setFieldsValue({ industryProfessionalStandardsId: undefined });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const res = await queryIndustryProfessionalStandards({
|
const res = await queryIndustryProfessionalStandards({
|
||||||
|
|
@ -415,7 +415,7 @@ function CertModal({
|
||||||
onChange={loadProfessionalCapabilities}
|
onChange={loadProfessionalCapabilities}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="professionalCapabilityId" label="专业能力" rules={[{ required: true, message: "请选择专业能力" }]}>
|
<Form.Item name="industryProfessionalStandardsId" label="专业能力" rules={[{ required: true, message: "请选择专业能力" }]}>
|
||||||
<Select
|
<Select
|
||||||
placeholder="请先选择专业范围"
|
placeholder="请先选择专业范围"
|
||||||
allowClear
|
allowClear
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue