diff --git a/src/pages/Container/BranchCompany/Qualification/Apply/Add/index.js b/src/pages/Container/BranchCompany/Qualification/Apply/Add/index.js index 609d3cc..2fa8f8a 100644 --- a/src/pages/Container/BranchCompany/Qualification/Apply/Add/index.js +++ b/src/pages/Container/BranchCompany/Qualification/Apply/Add/index.js @@ -84,7 +84,7 @@ const StepOneComponent = (props) => { }; useEffect(() => { - getCorpInfoList(); + getCorpInfoList(1); form.setFieldsValue(props.formValues); }, []); @@ -114,16 +114,19 @@ const StepOneComponent = (props) => { onGetLabel={(label) => { form.setFieldValue("qualificationsTypeName", label); }} - onChange={async (value) => { - if (value === "wzgll") { - await getCorpInfoList(1); - } - form.setFieldValue("groupUnitName", ""); - form.setFieldValue("groupUnitName", ""); - form.setFieldValue("groupUnitDeptName", ""); - form.setFieldValue("groupUnitUserName", ""); - form.setFieldValue("qualificationsId", ""); - }} + // onChange={async (value) => { + // if (value === "wzgll") { + // await getCorpInfoList(1); + // } + // else { + // await getCorpInfoList(1); + // } + // form.setFieldValue("groupUnitName", ""); + // form.setFieldValue("groupUnitName", ""); + // form.setFieldValue("groupUnitDeptName", ""); + // form.setFieldValue("groupUnitUserName", ""); + // form.setFieldValue("qualificationsId", ""); + // }} /> ), }, diff --git a/src/pages/Container/BranchCompany/Qualification/Records/List/index.js b/src/pages/Container/BranchCompany/Qualification/Records/List/index.js index f47f0fa..5820b67 100644 --- a/src/pages/Container/BranchCompany/Qualification/Records/List/index.js +++ b/src/pages/Container/BranchCompany/Qualification/Records/List/index.js @@ -119,7 +119,8 @@ function List(props) { {(props.permission(props.cxtjbtn || "zrzz-jtgs-zrzzjl-btn-cxtj") && record.status === 400 && record.createId === currentUserId - && (record.isAnnualInspection === 1)) && ( + && record.qualificationsStatus !== 0 + && record.isAnnualInspection === 1) && (