浏览代码

not edit yid type

uat
Jason Chuang 1 天前
父节点
当前提交
829f054829
共有 1 个文件被更改,包括 1 次插入20 次删除
  1. +1
    -20
      src/pages/User/DetailsPage_Individual/UserInformationCard_Individual.js

+ 1
- 20
src/pages/User/DetailsPage_Individual/UserInformationCard_Individual.js 查看文件

@@ -405,7 +405,7 @@ const UserInformationCard_Individual = ({ formData, loadDataFun }) => {
{FieldUtils.getComboField({
label: `${en.idDocType}:`,
valueName: "idDocType",
disabled: (!editMode),
disabled: true,
dataList: ComboData.idDocType,
filterOptions: (options) => options,
getOptionLabel: getIdDocTypeLabel,
@@ -415,25 +415,6 @@ const UserInformationCard_Individual = ({ formData, loadDataFun }) => {
}
return option?.type === value?.type;
},
onInputChange: (event, newValue, setInputValue) => {
if (newValue == null) {
setInputValue("");
return;
}
setInputValue(newValue);
},
onChange: (event, newValue) => {
if (newValue == null) {
formik.setFieldValue("idDocType", "");
setSelectedIdDocInputType("");
return;
}
formik.setFieldValue("idDocType", newValue.type);
setSelectedIdDocInputType(newValue.type);
if (newValue.type !== "HKID") {
formik.setFieldValue("checkDigit", "")
}
},
form: formik
})}
</Grid>


正在加载...
取消
保存