|
|
@@ -146,6 +146,7 @@ const BusCustomFormWizard = (props) => { |
|
|
|
termsAndConAccept == true&& |
|
|
|
fileList.length!==0&& |
|
|
|
data.captchaField&& |
|
|
|
data.brNo!==""&& |
|
|
|
handlePassword(data.password)&& |
|
|
|
handleEmail(data.email)&& |
|
|
|
handlePhone(data.phone)&& |
|
|
@@ -443,7 +444,7 @@ const BusCustomFormWizard = (props) => { |
|
|
|
phone: yup.string().min(8,'請輸入最少8位數字').required('請輸入聯絡電話'), |
|
|
|
fax: yup.string().min(8,'請輸入最少8位數字'), |
|
|
|
brExpiryDate: yup.string().min(8,'請輸入商業登記證有效日期'), |
|
|
|
brNo: yup.string().min(8,'請輸入商業登記證號碼'), |
|
|
|
brNo: yup.string().min(8,'請輸入商業登記證號碼').required('請輸入商業登記證號碼'), |
|
|
|
captchaField: yup.string().required('請輸入驗證').oneOf([captcha], '請輸入有效驗證'), |
|
|
|
}) |
|
|
|
|
|
|
@@ -713,6 +714,7 @@ const BusCustomFormWizard = (props) => { |
|
|
|
value={formik.values.brNo.trim()} |
|
|
|
name="brNo" |
|
|
|
onChange={formik.handleChange} |
|
|
|
onBlur={formik.handleBlur} |
|
|
|
placeholder="與與商業登記證相同如有" |
|
|
|
inputProps={{ |
|
|
|
onKeyDown: (e) => { |
|
|
|