Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
registration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
13
Issues
13
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
丁伟
registration
Commits
8e738829
Commit
8e738829
authored
Jan 11, 2022
by
丁伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、修改普票与专票 必填项问题
parent
dba93c75
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
88 additions
and
116 deletions
+88
-116
src/main/webapp/WEB-INF/jsp/front/info.jsp
+18
-18
src/main/webapp/WEB-INF/jsp/front/reg.jsp
+36
-36
src/main/webapp/resource/front/js/info.js
+20
-31
src/main/webapp/resource/front/js/reg.js
+14
-31
No files found.
src/main/webapp/WEB-INF/jsp/front/info.jsp
View file @
8e738829
...
...
@@ -441,13 +441,13 @@
</select></td>
<td><span
class=
"reg_body"
></span></td>
</tr>
<tr
name=
"trCompanyName"
id=
"companyNameId"
style=
"display :none"
>
<tr
name=
"trCompanyName"
id=
"companyNameId"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span>
发票抬头:
</td>
<td><input
id=
"companyNameId01"
class=
"required"
name=
"invoiceTitle"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
>
请填写您的单位全称
</span></td>
<td><span
class=
"reg_body"
>
必填:
请填写您的单位全称
</span></td>
</tr>
<tr
id=
"subjectNameId"
name=
"trSubjectName"
style=
"display :none"
>
<tr
id=
"subjectNameId"
name=
"trSubjectName"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span>
发票内容:
</td>
<!-- <td><input id="subjectNameId01" class="required" name="subjectName" style="width:220px" type="text"></td> -->
<td>
...
...
@@ -455,42 +455,42 @@
</td>
<td><span
class=
"reg_body"
>
考试只能开具与之相对应的考试费发票
</span></td>
</tr>
<tr
id=
"taxpayerNumId"
name=
"trTaxpayerNum"
style=
"display :none"
>
<tr
id=
"taxpayerNumId"
name=
"trTaxpayerNum"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span>
纳税人识别号:
</td>
<td><input
id=
"taxpayerNumId01"
class=
"required"
name=
"taxpayerNum"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
>
请填写您的纳税人识别号
</span></td>
<td><span
class=
"reg_body"
>
必填:
请填写您的纳税人识别号
</span></td>
</tr>
<tr
id=
"addressNameId"
name=
"trAddressName"
style=
"display :none"
>
<tr
id=
"addressNameId"
name=
"trAddressName"
>
<div>
<td
class=
"name"
><span
style=
"color: red;
"
>
*
</span>
公司地址:
</td>
<td
class=
"name"
><span
id=
"dizhi_id"
style=
"color: red;display :none
"
>
*
</span>
公司地址:
</td>
<td><input
id=
"addressNameId01"
class=
"required"
name=
"addressName"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body
"
>
请填写您的公司地址
</span></td>
<td><span
class=
"reg_body
"
><span
class=
"xuantian"
style=
"display: none"
>
选填:
</span><span
class=
"bitian"
style=
"display: none;color: red"
>
必填:
</span
>
请填写您的公司地址
</span></td>
</div>
</tr>
<tr
id=
"telephoneId"
name=
"trTelephone"
style=
"display :none"
>
<tr
id=
"telephoneId"
name=
"trTelephone"
>
<div>
<td
class=
"name"
><span
style=
"color: red;
"
>
*
</span>
公司电话:
</td>
<td
class=
"name"
><span
id=
"dianhua_id"
style=
"color: red;display :none
"
>
*
</span>
公司电话:
</td>
<td><input
id=
"telephoneId01"
class=
"required"
name=
"telephone"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body
"
>
请填写您的公司电话
</span></td>
<td><span
class=
"reg_body
"
><span
class=
"xuantian"
style=
"display: none"
>
选填:
</span><span
class=
"bitian"
style=
"display: none;color: red"
>
必填:
</span
>
请填写您的公司电话
</span></td>
</div>
</tr>
<tr
id=
"bankAddressId"
name=
"trBankAddress"
style=
"display :none"
>
<tr
id=
"bankAddressId"
name=
"trBankAddress"
>
<div>
<td
class=
"name"
><span
style=
"color: red;
"
>
*
</span>
开户行:
</td>
<td
class=
"name"
><span
id=
"kaihuhang_id"
style=
"color: red;display :none
"
>
*
</span>
开户行:
</td>
<td><input
id=
"bankAddressId01"
class=
"required"
name=
"bankAddress"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body
"
>
请填写您的开户行
</span></td>
<td><span
class=
"reg_body
"
><span
class=
"xuantian"
style=
"display: none"
>
选填:
</span><span
class=
"bitian"
style=
"display: none;color: red"
>
必填:
</span
>
请填写您的开户行
</span></td>
</div>
</tr>
<tr
id=
"bankAccountId"
name=
"trBankAccount"
style=
"display :none"
>
<tr
id=
"bankAccountId"
name=
"trBankAccount"
>
<div>
<td
class=
"name"
><span
style=
"color: red;
"
>
*
</span>
银行账号:
</td>
<td
class=
"name"
><span
id=
"zhanghao_id"
style=
"color: red;display :none
"
>
*
</span>
银行账号:
</td>
<td><input
id=
"bankAccountId01"
class=
"required"
name=
"bankAccount"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body
"
>
请填写您的开户行账号
</span></td>
<td><span
class=
"reg_body
"
><span
class=
"xuantian"
style=
"display: none"
>
选填:
</span><span
class=
"bitian"
style=
"display: none;color: red"
>
必填:
</span
>
请填写您的开户行账号
</span></td>
</div>
</tr>
<tr>
...
...
@@ -504,7 +504,7 @@
<option
value=
"1"
>
款项到账当年开具
</option>
<option
value=
"2"
>
款项到账次年开具
</option>
</select></td>
<td><span
class=
"reg_body"
>
当年开具为款项到账后的两个月内,次年开具为到账第二年的1月31日前
</span></td>
<td><span
class=
"reg_body"
>
必填:
当年开具为款项到账后的两个月内,次年开具为到账第二年的1月31日前
</span></td>
</tr>
<tr>
<td
align=
"center"
>
...
...
src/main/webapp/WEB-INF/jsp/front/reg.jsp
View file @
8e738829
...
...
@@ -46,26 +46,26 @@
<tr
id=
"trEmial"
name=
"email33"
>
<td
class=
"name"
width=
"15%"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_Info_Email"
english=
"E-mail:"
isnotnull=
"1"
>
邮箱:
</yh:yh></td>
<td
width=
"25%"
><input
name=
"email"
value=
""
style=
"width:220px"
onblur=
"this.value=this.value.toLowerCase().replace(/(^\s*)|(\s*$)/g,""); "
type=
"text"
><input
name=
"A_MAINID"
type=
"hidden"
><input
name=
"A_LINK_ID"
type=
"hidden"
><input
name=
"A_ROLEID"
type=
"hidden"
><input
name=
"A_LANGID"
type=
"hidden"
><input
name=
"A_CON_CNF_ID"
type=
"hidden"
><input
name=
"A_STAT_ID"
type=
"hidden"
><input
name=
"A_AUDITSTATE"
type=
"hidden"
><input
name=
"D_LINK_ID"
type=
"hidden"
><input
name=
"D_MAINID"
type=
"hidden"
></td>
<td
width=
"50%"
><span
class=
"reg_body"
>
请勿使用QQ邮箱,邮箱会作为登录名,请如实填写
</span></td>
<td
width=
"50%"
><span
class=
"reg_body"
>
必填:
请勿使用QQ邮箱,邮箱会作为登录名,请如实填写
</span></td>
</tr>
<tr
id=
"trPassWord"
name=
"password33"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_Info_Password"
english=
"Password:"
isnotnull=
"1"
>
密码:
</yh:yh></td>
<td><input
style=
"width:220px; "
name=
"password"
value=
""
type=
"password"
></td>
<td><span
class=
"reg_body"
>
登录密码必须在6-20位之间
</span></td>
<td><span
class=
"reg_body"
>
必填:
登录密码必须在6-20位之间
</span></td>
</tr>
<tr
id=
"trRePassWord"
name=
"password2"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_Info_RePassword"
english=
"Re. Password:"
isnotnull=
"1"
>
重复密码:
</yh:yh></td>
<td><input
style=
"width:220px; "
name=
"repassword"
value=
""
type=
"password"
></td>
<td
class=
"body"
><span
class=
"reg_body"
>
登录密码与重复密码必须一致
</span></td>
<td
class=
"body"
><span
class=
"reg_body"
>
必填:
登录密码与重复密码必须一致
</span></td>
</tr>
<tr
id=
"trChinaName"
name=
"name"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_Info_FullName"
english=
"Full Name:"
isnotnull=
"1"
>
姓名(中文):
</yh:yh></td>
<td><input
class=
"required"
name=
"name"
value=
""
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
>
请填写真实姓名
</span></td>
<td><span
class=
"reg_body"
>
必填:
请填写真实姓名
</span></td>
</tr>
</tr>
<tr
id=
"trSex"
name=
"gender"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_Info_Sex"
english=
"Sex:"
isnotnull=
"0"
>
性别:
</yh:yh></td>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_Info_Sex"
english=
"Sex:"
isnotnull=
"0"
>
必填:
性别:
</yh:yh></td>
<td><select
name=
"gender"
class=
"required"
style=
"width:225px"
>
<option
value=
""
>
请选择
</option>
<c:forEach
items=
"${gender}"
var=
"g"
>
...
...
@@ -73,13 +73,13 @@
</c:forEach>
</select></td>
<td><span
class=
"reg_body"
>
请填写您的性别
必填:
请填写您的性别
</span></td>
</tr>
<tr>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_Info_Nation"
english=
"Nation:"
isnotnull=
"0"
>
出生日期:
</yh:yh></td>
<td><input
name=
"birthday"
class=
"required"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
>
年-月-日 如:1988-01-01
</span></td>
<td><span
class=
"reg_body"
>
必填:
年-月-日 如:1988-01-01
</span></td>
</tr>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_customitem7"
english=
"Custom Item7:"
isnotnull=
"0"
>
选择城市:
</yh:yh></td>
--%>
...
...
@@ -94,17 +94,17 @@
<tr
id=
"trFixedTel"
name=
"trFixedTel"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span>
固定电话:
</td>
<td><input
class=
"required"
name=
"telphone"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
>
国内电话格式:如010-82217268
</span></td>
<td><span
class=
"reg_body"
>
必填:
国内电话格式:如010-82217268
</span></td>
</tr>
<tr
id=
"trMobileTel"
name=
"trMobileTel"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span>
手机:
</td>
<td><input
class=
"required"
name=
"mobileTel"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
>
国内电话格式:如13810001234
</td>
<td><span
class=
"reg_body"
>
必填:
国内电话格式:如13810001234
</td>
</tr>
<tr
id=
"trCompany"
name=
"trCompany"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span>
工作单位:
</td>
<td><input
class=
"required"
name=
"company"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
>
请填写您的单位全称
</span></td>
<td><span
class=
"reg_body"
>
必填:
请填写您的单位全称
</span></td>
</tr>
<tr
id=
"trAddress"
name=
"trAddress"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span>
联系地址:
</td>
...
...
@@ -120,7 +120,7 @@
</span>
<textarea
class=
"required"
name=
"address"
style=
"width:223px;height:45px;resize: none;"
type=
"text"
></textarea></td>
<td><span
class=
"reg_body"
>
可以安全收到邮寄材料的地址
</span></td>
<td><span
class=
"reg_body"
>
必填:
可以安全收到邮寄材料的地址
</span></td>
</tr>
<tr>
...
...
@@ -132,12 +132,12 @@
</select></td>
<td><span
class=
"reg_body"
></span></td>
</tr>
<tr
name=
"trCompanyName"
id=
"companyNameId"
style=
"display :none"
>
<tr
name=
"trCompanyName"
id=
"companyNameId"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span>
发票抬头:
</td>
<td><input
id=
"companyNameId01"
class=
"required"
name=
"invoiceTitle"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
>
请填写您的单位全称
</span></td>
<td><span
class=
"reg_body"
>
必填:
请填写您的单位全称
</span></td>
</tr>
<tr
id=
"subjectNameId"
name=
"trSubjectName"
style=
"display :none"
>
<tr
id=
"subjectNameId"
name=
"trSubjectName"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span>
发票内容:
</td>
<!-- <td><input id="subjectNameId01" class="required" name="subjectName" style="width:220px" type="text"></td> -->
<td>
...
...
@@ -145,30 +145,30 @@
</td>
<td><span
class=
"reg_body"
>
考试只能开具与之相对应的考试费发票
</span></td></div>
</tr>
<tr
id=
"taxpayerNumId"
name=
"trTaxpayerNum"
style=
"display :none"
>
<tr
id=
"taxpayerNumId"
name=
"trTaxpayerNum"
>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span>
纳税人识别号:
</td>
<td><input
id=
"taxpayerNumId01"
class=
"required"
name=
"taxpayerNum"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
>
请填写您的纳税人识别号
</span></td></div>
<td><span
class=
"reg_body"
>
必填:
请填写您的纳税人识别号
</span></td></div>
</tr>
<tr
id=
"addressNameId"
name=
"trAddressName"
style=
"display :none"
>
<div><td
class=
"name"
><span
style=
"color: red;
"
>
*
</span>
公司地址:
</td>
<tr
id=
"addressNameId"
name=
"trAddressName"
>
<div><td
class=
"name"
><span
id=
"dizhi_id"
style=
"color: red;display :none
"
>
*
</span>
公司地址:
</td>
<td><input
id=
"addressNameId01"
class=
"required"
name=
"addressName"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
>
请填写您的公司地址
</span></td></div>
<td><span
class=
"reg_body reg_body_duli"
><span
class=
"xuantian"
style=
"display: none"
>
选填:
</span><span
class=
"bitian"
style=
"display: none;color: red"
>
必填:
</span
>
请填写您的公司地址
</span></td></div>
</tr>
<tr
id=
"telephoneId"
name=
"trTelephone"
style=
"display :none"
>
<div><td
class=
"name"
><span
style=
"color: red;
"
>
*
</span>
公司电话:
</td>
<tr
id=
"telephoneId"
name=
"trTelephone"
>
<div><td
class=
"name"
><span
id=
"dianhua_id"
style=
"color: red;display :none
"
>
*
</span>
公司电话:
</td>
<td><input
id=
"telephoneId01"
class=
"required"
name=
"telephone"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body
"
>
请填写您的公司电话
</span></td></div>
<td><span
class=
"reg_body
reg_body_duli"
><span
class=
"xuantian"
style=
"display: none"
>
选填:
</span><span
class=
"bitian"
style=
"display: none;color: red"
>
必填:
</span
>
请填写您的公司电话
</span></td></div>
</tr>
<tr
id=
"bankAddressId"
name=
"trBankAddress"
style=
"display :none"
>
<div><td
class=
"name"
><span
style=
"color: red;
"
>
*
</span>
开户行:
</td>
<tr
id=
"bankAddressId"
name=
"trBankAddress"
>
<div><td
class=
"name"
><span
id=
"kaihuhang_id"
style=
"color: red;display :none
"
>
*
</span>
开户行:
</td>
<td><input
id=
"bankAddressId01"
class=
"required"
name=
"bankAddress"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body
"
>
请填写您的开户行
</span></td></div>
<td><span
class=
"reg_body
reg_body_duli"
><span
class=
"xuantian"
style=
"display: none"
>
选填:
</span><span
class=
"bitian"
style=
"display: none;color: red"
>
必填:
</span
>
请填写您的开户行
</span></td></div>
</tr>
<tr
id=
"bankAccountId"
name=
"trBankAccount"
style=
"display :none"
>
<div><td
class=
"name"
><span
style=
"color: red;
"
>
*
</span>
银行账号:
</td>
<tr
id=
"bankAccountId"
name=
"trBankAccount"
>
<div><td
class=
"name"
><span
id=
"zhanghao_id"
style=
"color: red;display :none
"
>
*
</span>
银行账号:
</td>
<td><input
id=
"bankAccountId01"
class=
"required"
name=
"bankAccount"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body
"
>
请填写您的开户行账号
</span></td></div>
<td><span
class=
"reg_body
reg_body_duli"
><span
class=
"xuantian"
style=
"display: none"
>
选填:
</span><span
class=
"bitian"
style=
"display: none;color: red"
>
必填:
</span
>
请填写您的开户行账号
</span></td></div>
</tr>
<tr>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_customitem6"
english=
"Custom Item6:"
isnotnull=
"0"
>
发票开具时间:
</yh:yh></td>
...
...
@@ -177,7 +177,7 @@
<option
value=
"1"
>
款项到账当年开具
</option>
<option
value=
"2"
>
款项到账次年开具
</option>
</select></td>
<td><span
class=
"reg_body"
>
当年开具为款项到账后的两个月内,次年开具为到账第二年的1月31日前
</span></td>
<td><span
class=
"reg_body"
>
必填:
当年开具为款项到账后的两个月内,次年开具为到账第二年的1月31日前
</span></td>
</tr>
<tr>
<td
class=
"name"
><yh:yh
id=
"1_A_LINK_LIKE"
english=
"Hobby:"
isnotnull=
"0"
>
LIBF NUMBER:
</yh:yh></td>
...
...
@@ -198,7 +198,7 @@
<tr>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_expandinfo1"
english=
"Expand Info1:"
isnotnull=
"0"
>
DATE OF BIRTH:
</yh:yh></td>
<td><input
class=
"required"
name=
"dateOfBirth"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
>
年-月-日 如:1988-01-01
</span></td>
<td><span
class=
"reg_body"
>
必填:
年-月-日 如:1988-01-01
</span></td>
</tr>
<tr>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_customitem10"
english=
"Custom Item10:"
isnotnull=
"0"
>
GENDER:
</yh:yh></td>
...
...
@@ -208,29 +208,29 @@
<option
value=
"${g.dataNameId}"
>
${g.dataName}
</option>
</c:forEach>
</select></td>
<td><span
class=
"reg_body"
></span></td>
<td><span
class=
"reg_body"
>
必填
</span></td>
</tr>
<tr>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_expandinfo2"
english=
"Expand Info2:"
isnotnull=
"0"
>
Family NAME:
</yh:yh></td>
<td><input
class=
"required"
name=
"name_en"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
></span></td>
<td><span
class=
"reg_body"
>
必填
</span></td>
</tr>
<tr>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_expandinfo22"
english=
"Expand Info2:"
isnotnull=
"0"
>
Given NAME:
</yh:yh></td>
<td><input
class=
"required"
name=
"name_en_last"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
></span></td>
<td><span
class=
"reg_body"
>
必填
</span></td>
</tr>
<tr>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_expandinfo3"
english=
"Expand Info3:"
isnotnull=
"0"
>
COMPANY NAME:
</yh:yh></td>
<td><textarea
class=
"required"
name=
"company_en"
style=
"width:220px;height:45px;resize: none;"
type=
"text"
></textarea></td>
<td><span
class=
"reg_body"
>
只写总公司名称,如:Bank of China
</span></td>
<td><span
class=
"reg_body"
>
必填:
只写总公司名称,如:Bank of China
</span></td>
</tr>
<tr>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span><yh:yh
id=
"1_expandinfo4"
english=
"Expand Info4:"
isnotnull=
"0"
>
ADDRESS:
</yh:yh></td>
<td><textarea
class=
"required"
name=
"address_en"
style=
"width:220px;height:45px;resize: none;"
type=
"text"
></textarea></td>
<td><span
class=
"reg_body"
>
标准英文地址格式,如:2F,CCOIC Bidge,No 2 Huapichang Hutong,Xicheng Dist,Beijing,无需填写邮编
</span></td>
<td><span
class=
"reg_body"
>
必填:
标准英文地址格式,如:2F,CCOIC Bidge,No 2 Huapichang Hutong,Xicheng Dist,Beijing,无需填写邮编
</span></td>
</tr>
<tr>
<td
class=
"name"
>
COUNTRY:
</td>
...
...
@@ -239,7 +239,7 @@
<tr>
<td
class=
"name"
><span
style=
"color: red;"
>
*
</span>
PHONE:
</td>
<td><input
class=
"required"
name=
"phone"
style=
"width:220px"
type=
"text"
></td>
<td><span
class=
"reg_body"
>
请填写手机号,标准国际电话格式,地区码空格手机号,如:86 13810001234
</span></td>
<td><span
class=
"reg_body"
>
必填:
请填写手机号,标准国际电话格式,地区码空格手机号,如:86 13810001234
</span></td>
</tr>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
"name"
><span
style=
"color: red;"
>
*
</span>
CITY SELECT:
</td>
--%>
...
...
src/main/webapp/resource/front/js/info.js
View file @
8e738829
...
...
@@ -17,29 +17,33 @@ $(function () {
$
(
"#appreciationTaxTypeId"
).
change
(
function
()
{
var
appreciationTaxType
=
$
(
"#appreciationTaxTypeId"
).
find
(
"option:selected"
).
val
();
if
(
"1"
==
appreciationTaxType
)
{
$
(
"#
companyNameId"
).
css
(
"display"
,
"
"
);
$
(
"#
subjectNameId"
).
css
(
"display"
,
"
"
);
$
(
"#
taxpayerNumId"
).
css
(
"display"
,
"
"
);
$
(
"#
addressNameI
d"
).
css
(
"display"
,
"none"
);
$
(
"
#telephoneId"
).
css
(
"display"
,
"none
"
);
$
(
"
#bankAddressId
"
).
css
(
"display"
,
"none"
);
$
(
"
#bankAccountId"
).
css
(
"display"
,
"none
"
);
$
(
"
#taxpayerNumId01"
).
removeAttr
(
"class
"
);
$
(
"#
dizhi_id"
).
css
(
"display"
,
"none
"
);
$
(
"#
dianhua_id"
).
css
(
"display"
,
"none
"
);
$
(
"#
kaihuhang_id"
).
css
(
"display"
,
"none
"
);
$
(
"#
zhanghao_i
d"
).
css
(
"display"
,
"none"
);
$
(
"
.xuantian"
).
css
(
"display"
,
"
"
);
$
(
"
.bitian
"
).
css
(
"display"
,
"none"
);
$
(
"
.xuantian"
).
css
(
"display"
,
"
"
);
$
(
"
.bitian"
).
css
(
"display"
,
"none
"
);
$
(
"#addressNameId01"
).
removeAttr
(
"class"
);
$
(
"#telephoneId01"
).
removeAttr
(
"class"
);
$
(
"#bankAddressId01"
).
removeAttr
(
"class"
);
$
(
"#bankAccountId01"
).
removeAttr
(
"class"
);
$
(
"#companyNameId01"
).
val
(
$
(
"#invoiceTitle_id"
).
text
());
$
(
"#taxpayerNumId01"
).
val
(
$
(
"#taxpayerNum_id"
).
text
());
$
(
"#addressNameId01"
).
val
(
$
(
"#addressName_id"
).
text
());
$
(
"#telephoneId01"
).
val
(
$
(
"#telephone_id"
).
text
());
$
(
"#bankAddressId01"
).
val
(
$
(
"#bankAddress_id"
).
text
());
$
(
"#bankAccountId01"
).
val
(
$
(
"#bankAccount_id"
).
text
());
}
else
if
(
"2"
==
appreciationTaxType
)
{
$
(
"#
companyNameI
d"
).
css
(
"display"
,
""
);
$
(
"#
subjectNameI
d"
).
css
(
"display"
,
""
);
$
(
"#
taxpayerNumI
d"
).
css
(
"display"
,
""
);
$
(
"#
addressNameI
d"
).
css
(
"display"
,
""
);
$
(
"
#telephoneId"
).
css
(
"display"
,
"
"
);
$
(
"
#bankAddressId
"
).
css
(
"display"
,
""
);
$
(
"
#bankAccountId"
).
css
(
"display"
,
"
"
);
$
(
"
#taxpayerNumId01"
).
attr
(
"class"
,
"required
"
);
$
(
"#
dizhi_i
d"
).
css
(
"display"
,
""
);
$
(
"#
dianhua_i
d"
).
css
(
"display"
,
""
);
$
(
"#
kaihuhang_i
d"
).
css
(
"display"
,
""
);
$
(
"#
zhanghao_i
d"
).
css
(
"display"
,
""
);
$
(
"
.xuantian"
).
css
(
"display"
,
"none
"
);
$
(
"
.bitian
"
).
css
(
"display"
,
""
);
$
(
"
.xuantian"
).
css
(
"display"
,
"none
"
);
$
(
"
.bitian"
).
css
(
"display"
,
"
"
);
$
(
"#addressNameId01"
).
attr
(
"class"
,
"required"
);
$
(
"#telephoneId01"
).
attr
(
"class"
,
"required"
);
$
(
"#bankAddressId01"
).
attr
(
"class"
,
"required"
);
...
...
@@ -50,21 +54,6 @@ $(function () {
$
(
"#telephoneId01"
).
val
(
$
(
"#telephone_id"
).
text
());
$
(
"#bankAddressId01"
).
val
(
$
(
"#bankAddress_id"
).
text
());
$
(
"#bankAccountId01"
).
val
(
$
(
"#bankAccount_id"
).
text
());
}
else
{
$
(
"#companyNameId"
).
css
(
"display"
,
"none"
);
$
(
"#subjectNameId"
).
css
(
"display"
,
"none"
);
$
(
"#taxpayerNumId"
).
css
(
"display"
,
"none"
);
$
(
"#addressNameId"
).
css
(
"display"
,
"none"
);
$
(
"#telephoneId"
).
css
(
"display"
,
"none"
);
$
(
"#bankAddressId"
).
css
(
"display"
,
"none"
);
$
(
"#bankAccountId"
).
css
(
"display"
,
"none"
);
$
(
"#taxpayerNumId01"
).
removeAttr
(
"class"
);
$
(
"#addressNameId01"
).
removeAttr
(
"class"
);
$
(
"#telephoneId01"
).
removeAttr
(
"class"
);
$
(
"#bankAddressId01"
).
removeAttr
(
"class"
);
$
(
"#companyNameId01"
).
removeAttr
(
"class"
);
$
(
"#subjectNameId01"
).
removeAttr
(
"class"
);
$
(
"#bankAccountId01"
).
removeAttr
(
"class"
);
}
});
...
...
src/main/webapp/resource/front/js/reg.js
View file @
8e738829
...
...
@@ -157,46 +157,29 @@ $(function () {
$
(
"#appreciationTaxTypeId"
).
change
(
function
()
{
var
appreciationTaxType
=
$
(
"#appreciationTaxTypeId"
).
find
(
"option:selected"
).
val
();
if
(
"1"
==
appreciationTaxType
)
{
$
(
"#companyNameId"
).
css
(
"display"
,
""
);
$
(
"#subjectNameId"
).
css
(
"display"
,
""
);
$
(
"#taxpayerNumId"
).
css
(
"display"
,
""
);
$
(
"#addressNameId"
).
css
(
"display"
,
"none"
);
$
(
"#telephoneId"
).
css
(
"display"
,
"none"
);
$
(
"#bankAddressId"
).
css
(
"display"
,
"none"
);
$
(
"#bankAccountId"
).
css
(
"display"
,
"none"
);
$
(
"#taxpayerNumId01"
).
removeAttr
(
"class"
);
$
(
"#dizhi_id"
).
css
(
"display"
,
"none"
);
$
(
"#dianhua_id"
).
css
(
"display"
,
"none"
);
$
(
"#kaihuhang_id"
).
css
(
"display"
,
"none"
);
$
(
"#zhanghao_id"
).
css
(
"display"
,
"none"
);
$
(
".reg_body_duli"
).
css
(
"display"
,
"none"
);
$
(
".xuantian"
).
css
(
"display"
,
""
);
$
(
".bitian"
).
css
(
"display"
,
"none"
);
$
(
"#addressNameId01"
).
removeAttr
(
"class"
);
$
(
"#telephoneId01"
).
removeAttr
(
"class"
);
$
(
"#bankAddressId01"
).
removeAttr
(
"class"
);
$
(
"#bankAccountId01"
).
removeAttr
(
"class"
);
}
else
if
(
"2"
==
appreciationTaxType
)
{
$
(
"#companyNameId"
).
css
(
"display"
,
""
);
$
(
"#subjectNameId"
).
css
(
"display"
,
""
);
$
(
"#taxpayerNumId"
).
css
(
"display"
,
""
);
$
(
"#addressNameId"
).
css
(
"display"
,
""
);
$
(
"#telephoneId"
).
css
(
"display"
,
""
);
$
(
"#bankAddressId"
).
css
(
"display"
,
""
);
$
(
"#bankAccountId"
).
css
(
"display"
,
""
);
$
(
"#taxpayerNumId01"
).
attr
(
"class"
,
"required"
);
$
(
"#dizhi_id"
).
css
(
"display"
,
""
);
$
(
"#dianhua_id"
).
css
(
"display"
,
""
);
$
(
"#kaihuhang_id"
).
css
(
"display"
,
""
);
$
(
"#zhanghao_id"
).
css
(
"display"
,
""
);
$
(
".xuantian"
).
css
(
"display"
,
"none"
);
$
(
".bitian"
).
css
(
"display"
,
""
);
$
(
".reg_body_duli"
).
css
(
"display"
,
""
);
$
(
"#addressNameId01"
).
attr
(
"class"
,
"required"
);
$
(
"#telephoneId01"
).
attr
(
"class"
,
"required"
);
$
(
"#bankAddressId01"
).
attr
(
"class"
,
"required"
);
$
(
"#bankAccountId01"
).
attr
(
"class"
,
"required"
);
}
else
{
$
(
"#companyNameId"
).
css
(
"display"
,
"none"
);
$
(
"#subjectNameId"
).
css
(
"display"
,
"none"
);
$
(
"#taxpayerNumId"
).
css
(
"display"
,
"none"
);
$
(
"#addressNameId"
).
css
(
"display"
,
"none"
);
$
(
"#telephoneId"
).
css
(
"display"
,
"none"
);
$
(
"#bankAddressId"
).
css
(
"display"
,
"none"
);
$
(
"#bankAccountId"
).
css
(
"display"
,
"none"
);
$
(
"#taxpayerNumId01"
).
removeAttr
(
"class"
);
$
(
"#addressNameId01"
).
removeAttr
(
"class"
);
$
(
"#telephoneId01"
).
removeAttr
(
"class"
);
$
(
"#bankAddressId01"
).
removeAttr
(
"class"
);
$
(
"#companyNameId01"
).
removeAttr
(
"class"
);
$
(
"#subjectNameId01"
).
removeAttr
(
"class"
);
$
(
"#bankAccountId01"
).
removeAttr
(
"class"
);
}
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment