|
|
@@ -69,7 +69,7 @@ const PublicNoticeApplyForm = ({loadedData, selections}) => { |
|
|
|
setIsWarningPopUp(true); |
|
|
|
return; |
|
|
|
} |
|
|
|
console.log(values); |
|
|
|
// console.log(values); |
|
|
|
HttpUtils.postWithFiles({ |
|
|
|
url: UrlUtils.POST_PUBLIC_NOTICE_APPLY, |
|
|
|
params: { |
|
|
@@ -89,6 +89,7 @@ const PublicNoticeApplyForm = ({loadedData, selections}) => { |
|
|
|
files: [attachment], |
|
|
|
onSuccess: function(){ |
|
|
|
navigate("/publicNotice"); |
|
|
|
// location.reload(); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@@ -134,15 +135,17 @@ const PublicNoticeApplyForm = ({loadedData, selections}) => { |
|
|
|
{FieldUtils.getTextField({ |
|
|
|
label:"聯絡人:", |
|
|
|
valueName:"contactPerson", |
|
|
|
form: formik |
|
|
|
form: formik, |
|
|
|
disabled:true |
|
|
|
})} |
|
|
|
</Grid> |
|
|
|
<Grid item xs={12} md={12}> |
|
|
|
{FieldUtils.getPhoneField({ |
|
|
|
label:"聯繫電話:", |
|
|
|
disabled:true, |
|
|
|
valueName:{ |
|
|
|
code: "tel_countryCode", |
|
|
|
num:"phoneNumber" |
|
|
|
num:"phoneNumber", |
|
|
|
}, |
|
|
|
form: formik |
|
|
|
})} |
|
|
@@ -150,9 +153,10 @@ const PublicNoticeApplyForm = ({loadedData, selections}) => { |
|
|
|
<Grid item xs={12} md={12}> |
|
|
|
{FieldUtils.getPhoneField({ |
|
|
|
label:"聯繫傳真:", |
|
|
|
disabled:true, |
|
|
|
valueName:{ |
|
|
|
code: "fax_countryCode", |
|
|
|
num:"faxNumber" |
|
|
|
num:"faxNumber", |
|
|
|
}, |
|
|
|
form: formik |
|
|
|
})} |
|
|
|