瀏覽代碼

not edit yid type

uat
Jason Chuang 16 小時之前
父節點
當前提交
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>


Loading…
取消
儲存