|  | @@ -6,7 +6,7 @@
 | 
												
													
														
															|  |  %>
 |  |  %>
 | 
												
													
														
															|  |  <html>
 |  |  <html>
 | 
												
													
														
															|  |  <head>
 |  |  <head>
 | 
												
													
														
															|  | -	<title>客户管理管理</title>
 |  | 
 | 
												
													
														
															|  | 
 |  | +	<title>客户信息管理</title>
 | 
												
													
														
															|  |  	<meta name="decorator" content="default"/>
 |  |  	<meta name="decorator" content="default"/>
 | 
												
													
														
															|  |      <%--<style type="text/css">--%>
 |  |      <%--<style type="text/css">--%>
 | 
												
													
														
															|  |          <%--.btn-file{--%>
 |  |          <%--.btn-file{--%>
 | 
												
											
												
													
														
															|  | @@ -266,131 +266,140 @@
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  </head>
 |  |  </head>
 | 
												
													
														
															|  |  <body>
 |  |  <body>
 | 
												
													
														
															|  | -    <div class="single-form">
 |  | 
 | 
												
													
														
															|  | -        <div class="container">
 |  | 
 | 
												
													
														
															|  | 
 |  | +<div class="single-form">
 | 
												
													
														
															|  | 
 |  | +    <div class="container">
 | 
												
													
														
															|  |          <input type="hidden" value="${param.param}" id="param">
 |  |          <input type="hidden" value="${param.param}" id="param">
 | 
												
													
														
															|  | -        <form:form id="inputForm" modelAttribute="workClientInfo" enctype="multipart/form-data" onkeydown="if(event.keyCode==13)return false;" action="${ctx}/workclientinfo/workClientInfo/save" method="post" class="form-horizontal">
 |  | 
 | 
												
													
														
															|  | 
 |  | +        <form:form id="inputForm" modelAttribute="workClientInfo" enctype="multipart/form-data"
 | 
												
													
														
															|  | 
 |  | +                   onkeydown="if(event.keyCode==13)return false;" action="${ctx}/workclientinfo/workClientInfo/save"
 | 
												
													
														
															|  | 
 |  | +                   method="post" class="form-horizontal">
 | 
												
													
														
															|  |              <form:hidden path="id"/>
 |  |              <form:hidden path="id"/>
 | 
												
													
														
															|  | -                <div class="form-group layui-row first">
 |  | 
 | 
												
													
														
															|  | -                    <div class="form-group-label"><h2>基本信息</h2></div>
 |  | 
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm6 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label"><span class="require-item">*</span>客户名称:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">
 |  | 
 | 
												
													
														
															|  | -                            <form:input path="name" htmlEscape="false"  class="form-control required layui-input"/>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +            <div class="form-group layui-row first">
 | 
												
													
														
															|  | 
 |  | +                <div class="form-group-label"><h2>基本信息</h2></div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm6 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label"><span class="require-item">*</span>客户名称:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">
 | 
												
													
														
															|  | 
 |  | +                        <form:input path="name" htmlEscape="false" class="form-control required layui-input"/>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm6 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label double-line"><span class="require-item">*</span>拥有统一社会信用代码:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">  
 |  | 
 | 
												
													
														
															|  | -                            <form:radiobutton class="usccClass i-checks" path="hasUscc" value="1" label="是" checked="true"></form:radiobutton>
 |  | 
 | 
												
													
														
															|  | -                              
 |  | 
 | 
												
													
														
															|  | -                            <form:radiobutton class="usccClass i-checks" path="hasUscc" value="2" label="否"></form:radiobutton>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm6 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label double-line"><span class="require-item">*</span>拥有统一社会信用代码:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">  
 | 
												
													
														
															|  | 
 |  | +                        <form:radiobutton class="usccClass i-checks" path="hasUscc" value="1" label="是" checked="true" />
 | 
												
													
														
															|  | 
 |  | +                          
 | 
												
													
														
															|  | 
 |  | +                        <form:radiobutton class="usccClass i-checks" path="hasUscc" value="2" label="否" />
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm6 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label"><span class="require-item">*</span>客户性质:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">
 |  | 
 | 
												
													
														
															|  | -                            <form:select path="companyType" class="form-control  simple-select required" id="companyType">
 |  | 
 | 
												
													
														
															|  | -                                <form:option value="" label=""/>
 |  | 
 | 
												
													
														
															|  | -                                <form:options items="${fns:getMainDictList('company_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
 |  | 
 | 
												
													
														
															|  | -                            </form:select>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm6 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label"><span class="require-item">*</span>客户性质:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">
 | 
												
													
														
															|  | 
 |  | +                        <form:select path="companyType" class="form-control selectpicker required layui-input" id="companyType">
 | 
												
													
														
															|  | 
 |  | +                            <form:option value="" label="--请选择客户性质--"/>
 | 
												
													
														
															|  | 
 |  | +                            <form:options items="${fns:getMainDictList('company_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
 | 
												
													
														
															|  | 
 |  | +
 | 
												
													
														
															|  | 
 |  | +                        </form:select>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm6 lw7 companyType_uscCode">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label double-line"><span class="require-item">*</span>统一社会信用代码:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">
 |  | 
 | 
												
													
														
															|  | -                            <form:input path="uscCode" htmlEscape="false"  class="form-control required isUscCode layui-input"/>
 |  | 
 | 
												
													
														
															|  | -                            <input type="hidden" id="oldUscCode" value="${workClientInfo.uscCode}"/>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm6 lw7 companyType_uscCode">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label double-line"><span class="require-item">*</span>统一社会信用代码:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">
 | 
												
													
														
															|  | 
 |  | +                        <form:input path="uscCode" htmlEscape="false" class="form-control required isUscCode layui-input"/>
 | 
												
													
														
															|  | 
 |  | +                        <input type="hidden" id="oldUscCode" value="${workClientInfo.uscCode}"/>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm6 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label"><span class="require-item">*</span>所在行业:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">
 |  | 
 | 
												
													
														
															|  | -                            <form:select path="companyIndustry" class="form-control required  simple-select">
 |  | 
 | 
												
													
														
															|  | -                                <form:option value="" label=""/>
 |  | 
 | 
												
													
														
															|  | -                                <form:options items="${fns:getMainDictList('company_industry')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
 |  | 
 | 
												
													
														
															|  | -                            </form:select>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm6 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label"><span class="require-item">*</span>所在行业:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">
 | 
												
													
														
															|  | 
 |  | +                        <form:select path="companyIndustry" class="form-control selectpicker required layui-input">
 | 
												
													
														
															|  | 
 |  | +                            <form:option value="" label="--请选择行业--"/>
 | 
												
													
														
															|  | 
 |  | +                            <form:options items="${fns:getMainDictList('company_industry')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
 | 
												
													
														
															|  | 
 |  | +                        </form:select>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm6 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label"><span class="require-item">*</span>所在地区:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block with-icon">
 |  | 
 | 
												
													
														
															|  | -                            <sys:treeselect id="area" name="area.id" value="${workClientInfo.area.id}" labelName="area.name" labelValue="${workClientInfo.area.name}"
 |  | 
 | 
												
													
														
															|  | -                                            title="区域" url="/sys/area/treeData" cssClass="form-control required layui-input" allowClear="true" notAllowSelectParent="true"/>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm6 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label"><span class="require-item">*</span>所在地区:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block with-icon">
 | 
												
													
														
															|  | 
 |  | +                        <sys:treeselect id="area" name="area.id" value="${workClientInfo.area.id}" labelName="area.name"
 | 
												
													
														
															|  | 
 |  | +                                        labelValue="${workClientInfo.area.name}"
 | 
												
													
														
															|  | 
 |  | +                                        title="区域" url="/sys/area/treeData" cssClass="form-control required layui-input"
 | 
												
													
														
															|  | 
 |  | +                                        allowClear="true" notAllowSelectParent="true"/>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm6 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label">法人代表:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">
 |  | 
 | 
												
													
														
															|  | -                            <form:input path="lawerPresint" htmlEscape="false"    class="form-control layui-input"/>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm6 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label">法人代表:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">
 | 
												
													
														
															|  | 
 |  | +                        <form:input path="lawerPresint" htmlEscape="false" class="form-control layui-input"/>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm6 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label">邮政编码:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">
 |  | 
 | 
												
													
														
															|  | -                            <form:input path="zipCode" htmlEscape="false" minlength="6" maxlength="6" class="form-control digits layui-input"/>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm6 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label">邮政编码:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">
 | 
												
													
														
															|  | 
 |  | +                        <form:input path="zipCode" htmlEscape="false" minlength="6" maxlength="6"
 | 
												
													
														
															|  | 
 |  | +                                    class="form-control digits layui-input"/>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm6 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label">传真:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">
 |  | 
 | 
												
													
														
															|  | -                            <form:input path="fax" htmlEscape="false"  class="form-control isTel layui-input"/>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm6 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label">传真:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">
 | 
												
													
														
															|  | 
 |  | +                        <form:input path="fax" htmlEscape="false" class="form-control isTel layui-input"/>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm6 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label"><span class="require-item">*</span>客户类型:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block width-icon">
 |  | 
 | 
												
													
														
															|  | -                            <select name="clientType" id="clientType" class="form-control selectpicker required layui-input" multiple="true" >
 |  | 
 | 
												
													
														
															|  | -                                <%--<form:options items="${fns:getMainDictList('client_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>--%>
 |  | 
 | 
												
													
														
															|  | -                                <c:forEach items="${fns:getMainDictList('client_type')}" var="item">
 |  | 
 | 
												
													
														
															|  | -                                    <option value="${item.value}">${item.label}</option>
 |  | 
 | 
												
													
														
															|  | -                                </c:forEach>
 |  | 
 | 
												
													
														
															|  | -                            </select>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm6 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label"><span class="require-item">*</span>客户类型:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block width-icon">
 | 
												
													
														
															|  | 
 |  | +
 | 
												
													
														
															|  | 
 |  | +                        <form:select path="clientType" class="form-control selectpicker required layui-input">
 | 
												
													
														
															|  | 
 |  | +                            <form:option value="" label="--请选择客户类型--"/>
 | 
												
													
														
															|  | 
 |  | +                            <form:options items="${fns:getMainDictList('client_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
 | 
												
													
														
															|  | 
 |  | +                        </form:select>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm6 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label"><span class="require-item">*</span>公司电话:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">
 |  | 
 | 
												
													
														
															|  | -                            <form:input path="telephone" htmlEscape="false"    class="form-control isTel required layui-input"/>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm6 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label"><span class="require-item">*</span>公司电话:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">
 | 
												
													
														
															|  | 
 |  | +                        <form:input path="telephone" htmlEscape="false"
 | 
												
													
														
															|  | 
 |  | +                                    class="form-control isTel required layui-input"/>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm6 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label">公司网址:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">
 |  | 
 | 
												
													
														
															|  | -                            <form:input path="companyUrl" htmlEscape="false"    class="form-control isUrl layui-input"/>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm6 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label">公司网址:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">
 | 
												
													
														
															|  | 
 |  | +                        <form:input path="companyUrl" htmlEscape="false" class="form-control isUrl layui-input"/>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm12 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label"><span class="require-item">*</span>注册地址:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">
 |  | 
 | 
												
													
														
															|  | -                            <form:input path="registerAddress" htmlEscape="false"    class="form-control required layui-input"/>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm12 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label"><span class="require-item">*</span>注册地址:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">
 | 
												
													
														
															|  | 
 |  | +                        <form:input path="registerAddress" htmlEscape="false"
 | 
												
													
														
															|  | 
 |  | +                                    class="form-control required layui-input"/>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm12 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label">详细地址:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">
 |  | 
 | 
												
													
														
															|  | -                            <form:input path="address" htmlEscape="false"    class="form-control layui-input"/>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm12 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label">详细地址:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">
 | 
												
													
														
															|  | 
 |  | +                        <form:input path="address" htmlEscape="false" class="form-control layui-input"/>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm12 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label"><span class="require-item">*</span>开户行信息:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">
 |  | 
 | 
												
													
														
															|  | -                            <div class="layui-item nav-btns" style="padding-left:0px;">
 |  | 
 | 
												
													
														
															|  | -                                <a class="nav-btn nav-btn-add" onclick="addRow('#workClientBankList', workClientBankRowIdx, workClientBankTpl);workClientBankRowIdx = workClientBankRowIdx + 1;" title="新增"><i class="fa fa-plus"></i> 新增</a>
 |  | 
 | 
												
													
														
															|  | -                            </div>
 |  | 
 | 
												
													
														
															|  | -                            <table id="bankinfo" class="table table-bordered table-condensed can-edit">
 |  | 
 | 
												
													
														
															|  | -                                <thead>
 |  | 
 | 
												
													
														
															|  | -                                <tr>
 |  | 
 | 
												
													
														
															|  | -                                    <th  class="sort-column companyType"><font color="red">*</font>开户银行</th>
 |  | 
 | 
												
													
														
															|  | -                                    <th width="400px;"><font color="red">*</font>开户账号</th>
 |  | 
 | 
												
													
														
															|  | -                                    <th width="100px">操作</th>
 |  | 
 | 
												
													
														
															|  | -                                </tr>
 |  | 
 | 
												
													
														
															|  | -                                </thead>
 |  | 
 | 
												
													
														
															|  | -                                <tbody id="workClientBankList">
 |  | 
 | 
												
													
														
															|  | -
 |  | 
 | 
												
													
														
															|  | -                                </tbody>
 |  | 
 | 
												
													
														
															|  | -                            </table>
 |  | 
 | 
												
													
														
															|  | -                            <script type="text/template" id="workClientBankTpl">//<!--
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm12 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label"><span class="require-item">*</span>开户行信息:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">
 | 
												
													
														
															|  | 
 |  | +                        <div class="layui-item nav-btns" style="padding-left:0px;">
 | 
												
													
														
															|  | 
 |  | +                            <a class="nav-btn nav-btn-add"
 | 
												
													
														
															|  | 
 |  | +                               onclick="addRow('#workClientBankList', workClientBankRowIdx, workClientBankTpl);workClientBankRowIdx = workClientBankRowIdx + 1;"
 | 
												
													
														
															|  | 
 |  | +                               title="新增"><i class="fa fa-plus"></i> 新增</a>
 | 
												
													
														
															|  | 
 |  | +                        </div>
 | 
												
													
														
															|  | 
 |  | +                        <table id="bankinfo" class="table table-bordered table-condensed can-edit">
 | 
												
													
														
															|  | 
 |  | +                            <thead>
 | 
												
													
														
															|  | 
 |  | +                            <tr>
 | 
												
													
														
															|  | 
 |  | +                                <th class="sort-column companyType"><font color="red">*</font>开户银行</th>
 | 
												
													
														
															|  | 
 |  | +                                <th width="400px;"><font color="red">*</font>开户账号</th>
 | 
												
													
														
															|  | 
 |  | +                                <th width="100px">操作</th>
 | 
												
													
														
															|  | 
 |  | +                            </tr>
 | 
												
													
														
															|  | 
 |  | +                            </thead>
 | 
												
													
														
															|  | 
 |  | +                            <tbody id="workClientBankList">
 | 
												
													
														
															|  | 
 |  | +
 | 
												
													
														
															|  | 
 |  | +                            </tbody>
 | 
												
													
														
															|  | 
 |  | +                        </table>
 | 
												
													
														
															|  | 
 |  | +                        <script type="text/template" id="workClientBankTpl">//<!--
 | 
												
													
														
															|  |                                  <tr id="workClientBankList{{idx}}">
 |  |                                  <tr id="workClientBankList{{idx}}">
 | 
												
													
														
															|  |                                      <td class="hide">
 |  |                                      <td class="hide">
 | 
												
													
														
															|  |                                          <input id="workClientBankList{{idx}}_id" name="workClientBankList[{{idx}}].id" type="hidden" value="{{row.id}}"/>
 |  |                                          <input id="workClientBankList{{idx}}_id" name="workClientBankList[{{idx}}].id" type="hidden" value="{{row.id}}"/>
 | 
												
											
												
													
														
															|  | @@ -409,96 +418,98 @@
 | 
												
													
														
															|  |                                          {{#delBtn}}<span class="op-btn op-btn-delete" onclick="delRow(this, '#workClientBankList{{idx}}')" title="删除"><i class="fa fa-trash"></i> 删除</span>{{/delBtn}}
 |  |                                          {{#delBtn}}<span class="op-btn op-btn-delete" onclick="delRow(this, '#workClientBankList{{idx}}')" title="删除"><i class="fa fa-trash"></i> 删除</span>{{/delBtn}}
 | 
												
													
														
															|  |                                      </td>
 |  |                                      </td>
 | 
												
													
														
															|  |                                  </tr>//-->
 |  |                                  </tr>//-->
 | 
												
													
														
															|  | -                            </script>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                        </script>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | -                    <div class="layui-item layui-col-sm12 lw7">
 |  | 
 | 
												
													
														
															|  | -                        <label class="layui-form-label">单位简介:</label>
 |  | 
 | 
												
													
														
															|  | -                        <div class="layui-input-block">
 |  | 
 | 
												
													
														
															|  | -                            <form:textarea path="unitIntroduction" htmlEscape="false" rows="4"  maxlength="500"  onkeyup="checkContentKeyUp('unitIntroduction',500);"   class="form-control "/>
 |  | 
 | 
												
													
														
															|  | -                        </div>
 |  | 
 | 
												
													
														
															|  | -                        <span id="contentMsg" style="float: right"></span>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-sm12 lw7">
 | 
												
													
														
															|  | 
 |  | +                    <label class="layui-form-label">单位简介:</label>
 | 
												
													
														
															|  | 
 |  | +                    <div class="layui-input-block">
 | 
												
													
														
															|  | 
 |  | +                        <form:textarea path="unitIntroduction" htmlEscape="false" rows="4" maxlength="500"
 | 
												
													
														
															|  | 
 |  | +                                       onkeyup="checkContentKeyUp('unitIntroduction',500);" class="form-control "/>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  | 
 |  | +                    <span id="contentMsg" style="float: right"></span>
 | 
												
													
														
															|  |                  </div>
 |  |                  </div>
 | 
												
													
														
															|  | 
 |  | +            </div>
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  | 
 |  | +            <%--<td class="companyType_orUnicode width-15 active"><label class="pull-right"><font color="red">*</font>组织机构代码或税务号:</label></td>
 | 
												
													
														
															|  | 
 |  | +            <td class="companyType_orUnicode width-35">
 | 
												
													
														
															|  | 
 |  | +                <form:input path="orUnicode" htmlEscape="false"  class="form-control required"/>
 | 
												
													
														
															|  | 
 |  | +            </td>
 | 
												
													
														
															|  | 
 |  | +
 | 
												
													
														
															|  | 
 |  | +            <td class="companyType_taxId width-15 active"><label class="pull-right"><font color="red">*</font>组织机构代码或税务号:</label></td>
 | 
												
													
														
															|  | 
 |  | +            <td class="companyType_taxId width-35" colspan="3">
 | 
												
													
														
															|  | 
 |  | +                <form:input path="taxId" htmlEscape="false"    class="form-control required"/>
 | 
												
													
														
															|  | 
 |  | +            </td>
 | 
												
													
														
															|  | 
 |  | +            <script type="text/javascript">
 | 
												
													
														
															|  | 
 |  | +                $(function () {
 | 
												
													
														
															|  | 
 |  | +                    var defaultValue = $("#companyType option:selected").val();
 | 
												
													
														
															|  | 
 |  | +                    var companyTypeValue = "${workClientInfo.companyType}";
 | 
												
													
														
															|  | 
 |  | +                    console.log("defaultValue="+defaultValue);
 | 
												
													
														
															|  | 
 |  | +                    if(defaultValue == 1 || companyTypeValue == 1){
 | 
												
													
														
															|  | 
 |  | +                        $(".companyType_taxId").hide();
 | 
												
													
														
															|  | 
 |  | +                        $(".companyType_orUnicode").show();
 | 
												
													
														
															|  | 
 |  | +                    }else{
 | 
												
													
														
															|  | 
 |  | +                        $(".companyType_orUnicode").hide();
 | 
												
													
														
															|  | 
 |  | +                        $(".companyType_taxId").show();
 | 
												
													
														
															|  | 
 |  | +                    }
 | 
												
													
														
															|  | 
 |  | +                    $("select#companyType").change(function () {
 | 
												
													
														
															|  | 
 |  | +                        var currentValue = $(this).val();
 | 
												
													
														
															|  | 
 |  | +                        if(currentValue == 1){
 | 
												
													
														
															|  | 
 |  | +                            $(".companyType_taxId").hide();
 | 
												
													
														
															|  | 
 |  | +                            $(".companyType_orUnicode").show();
 | 
												
													
														
															|  | 
 |  | +                        }else{
 | 
												
													
														
															|  | 
 |  | +                            $(".companyType_orUnicode").hide();
 | 
												
													
														
															|  | 
 |  | +                            $(".companyType_taxId").show();
 | 
												
													
														
															|  | 
 |  | +                        }
 | 
												
													
														
															|  | 
 |  | +                    });
 | 
												
													
														
															|  | 
 |  | +                })
 | 
												
													
														
															|  | 
 |  | +            </script>--%>
 | 
												
													
														
															|  | 
 |  | +
 | 
												
													
														
															|  | 
 |  | +            <%--<tr>
 | 
												
													
														
															|  | 
 |  | +            <td class="width-15 active"><label class="pull-right"><font color="red">*</font>客户类型:</label></td>
 | 
												
													
														
															|  | 
 |  | +                   <td class="width-35">
 | 
												
													
														
															|  | 
 |  | +                       <form:select path="clientType" class="form-control required">
 | 
												
													
														
															|  | 
 |  | +                           <form:option value="" label=""/>
 | 
												
													
														
															|  | 
 |  | +                           <form:options items="${fns:getMainDictList('client_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
 | 
												
													
														
															|  | 
 |  | +                       </form:select>
 | 
												
													
														
															|  | 
 |  | +                   </td>
 | 
												
													
														
															|  | 
 |  | +               <td class="width-15 active"><label class="pull-right">信用等级:</label></td>
 | 
												
													
														
															|  | 
 |  | +                       <td class="width-35">
 | 
												
													
														
															|  | 
 |  | +                           <form:select path="creditRank" class="form-control ">
 | 
												
													
														
															|  | 
 |  | +                               <form:option value="" label=""/>
 | 
												
													
														
															|  | 
 |  | +                               <form:options items="${fns:getDictList('credit_rank')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
 | 
												
													
														
															|  | 
 |  | +                           </form:select>
 | 
												
													
														
															|  | 
 |  | +                       </td>
 | 
												
													
														
															|  | 
 |  | +                   </tr>--%>
 | 
												
													
														
															|  | 
 |  | +
 | 
												
													
														
															|  | 
 |  | +            <div class="form-group layui-row">
 | 
												
													
														
															|  | 
 |  | +                <div class="form-group-label"><h2>联系人信息</h2></div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item nav-btns">
 | 
												
													
														
															|  | 
 |  | +                    <a class="nav-btn nav-btn-add"
 | 
												
													
														
															|  | 
 |  | +                       onclick="addRow('#workClientLinkmanList', workClientLinkmanRowIdx, workClientLinkmanTpl);workClientLinkmanRowIdx = workClientLinkmanRowIdx + 1;"
 | 
												
													
														
															|  | 
 |  | +                       title="新增"><i class="fa fa-plus"></i> 新增</a>
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-xs12 form-table-container">
 | 
												
													
														
															|  | 
 |  | +                    <table id="contentTable" class="table table-bordered table-condensed can-edit">
 | 
												
													
														
															|  | 
 |  | +                        <thead>
 | 
												
													
														
															|  | 
 |  | +                        <tr>
 | 
												
													
														
															|  | 
 |  | +                            <th class="hide"></th>
 | 
												
													
														
															|  | 
 |  | +                            <th width="100px"><font color="red">*</font>联系人姓名</th>
 | 
												
													
														
															|  | 
 |  | +                            <th width="100px">部门</th>
 | 
												
													
														
															|  | 
 |  | +                            <th width="100px">职务</th>
 | 
												
													
														
															|  | 
 |  | +                            <th width="100px">QQ</th>
 | 
												
													
														
															|  | 
 |  | +                            <th width="100px">联系方式1</th>
 | 
												
													
														
															|  | 
 |  | +                            <th width="100px">联系方式2</th>
 | 
												
													
														
															|  | 
 |  | +                            <th width="150px">E-mail</th>
 | 
												
													
														
															|  | 
 |  | +                            <th width="100px">操作</th>
 | 
												
													
														
															|  | 
 |  | +                        </tr>
 | 
												
													
														
															|  | 
 |  | +                        </thead>
 | 
												
													
														
															|  | 
 |  | +                        <tbody id="workClientLinkmanList">
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  | -                    <%--<td class="companyType_orUnicode width-15 active"><label class="pull-right"><font color="red">*</font>组织机构代码或税务号:</label></td>
 |  | 
 | 
												
													
														
															|  | -                    <td class="companyType_orUnicode width-35">
 |  | 
 | 
												
													
														
															|  | -                        <form:input path="orUnicode" htmlEscape="false"  class="form-control required"/>
 |  | 
 | 
												
													
														
															|  | -                    </td>
 |  | 
 | 
												
													
														
															|  | -
 |  | 
 | 
												
													
														
															|  | -                    <td class="companyType_taxId width-15 active"><label class="pull-right"><font color="red">*</font>组织机构代码或税务号:</label></td>
 |  | 
 | 
												
													
														
															|  | -                    <td class="companyType_taxId width-35" colspan="3">
 |  | 
 | 
												
													
														
															|  | -                        <form:input path="taxId" htmlEscape="false"    class="form-control required"/>
 |  | 
 | 
												
													
														
															|  | -                    </td>
 |  | 
 | 
												
													
														
															|  | -                    <script type="text/javascript">
 |  | 
 | 
												
													
														
															|  | -                        $(function () {
 |  | 
 | 
												
													
														
															|  | -                            var defaultValue = $("#companyType option:selected").val();
 |  | 
 | 
												
													
														
															|  | -                            var companyTypeValue = "${workClientInfo.companyType}";
 |  | 
 | 
												
													
														
															|  | -                            console.log("defaultValue="+defaultValue);
 |  | 
 | 
												
													
														
															|  | -                            if(defaultValue == 1 || companyTypeValue == 1){
 |  | 
 | 
												
													
														
															|  | -                                $(".companyType_taxId").hide();
 |  | 
 | 
												
													
														
															|  | -                                $(".companyType_orUnicode").show();
 |  | 
 | 
												
													
														
															|  | -                            }else{
 |  | 
 | 
												
													
														
															|  | -                                $(".companyType_orUnicode").hide();
 |  | 
 | 
												
													
														
															|  | -                                $(".companyType_taxId").show();
 |  | 
 | 
												
													
														
															|  | -                            }
 |  | 
 | 
												
													
														
															|  | -                            $("select#companyType").change(function () {
 |  | 
 | 
												
													
														
															|  | -                                var currentValue = $(this).val();
 |  | 
 | 
												
													
														
															|  | -                                if(currentValue == 1){
 |  | 
 | 
												
													
														
															|  | -                                    $(".companyType_taxId").hide();
 |  | 
 | 
												
													
														
															|  | -                                    $(".companyType_orUnicode").show();
 |  | 
 | 
												
													
														
															|  | -                                }else{
 |  | 
 | 
												
													
														
															|  | -                                    $(".companyType_orUnicode").hide();
 |  | 
 | 
												
													
														
															|  | -                                    $(".companyType_taxId").show();
 |  | 
 | 
												
													
														
															|  | -                                }
 |  | 
 | 
												
													
														
															|  | -                            });
 |  | 
 | 
												
													
														
															|  | -                        })
 |  | 
 | 
												
													
														
															|  | -                    </script>--%>
 |  | 
 | 
												
													
														
															|  | -
 |  | 
 | 
												
													
														
															|  | -                        <%--<tr>
 |  | 
 | 
												
													
														
															|  | -                        <td class="width-15 active"><label class="pull-right"><font color="red">*</font>客户类型:</label></td>
 |  | 
 | 
												
													
														
															|  | -                               <td class="width-35">
 |  | 
 | 
												
													
														
															|  | -                                   <form:select path="clientType" class="form-control required">
 |  | 
 | 
												
													
														
															|  | -                                       <form:option value="" label=""/>
 |  | 
 | 
												
													
														
															|  | -                                       <form:options items="${fns:getMainDictList('client_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
 |  | 
 | 
												
													
														
															|  | -                                   </form:select>
 |  | 
 | 
												
													
														
															|  | -                               </td>
 |  | 
 | 
												
													
														
															|  | -                           <td class="width-15 active"><label class="pull-right">信用等级:</label></td>
 |  | 
 | 
												
													
														
															|  | -                                   <td class="width-35">
 |  | 
 | 
												
													
														
															|  | -                                       <form:select path="creditRank" class="form-control ">
 |  | 
 | 
												
													
														
															|  | -                                           <form:option value="" label=""/>
 |  | 
 | 
												
													
														
															|  | -                                           <form:options items="${fns:getDictList('credit_rank')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
 |  | 
 | 
												
													
														
															|  | -                                       </form:select>
 |  | 
 | 
												
													
														
															|  | -                                   </td>
 |  | 
 | 
												
													
														
															|  | -                               </tr>--%>
 |  | 
 | 
												
													
														
															|  | -
 |  | 
 | 
												
													
														
															|  | -        <div class="form-group layui-row">
 |  | 
 | 
												
													
														
															|  | -            <div class="form-group-label"><h2>联系人信息</h2></div>
 |  | 
 | 
												
													
														
															|  | -            <div class="layui-item nav-btns">
 |  | 
 | 
												
													
														
															|  | -                <a class="nav-btn nav-btn-add" onclick="addRow('#workClientLinkmanList', workClientLinkmanRowIdx, workClientLinkmanTpl);workClientLinkmanRowIdx = workClientLinkmanRowIdx + 1;" title="新增"><i class="fa fa-plus"></i> 新增</a>
 |  | 
 | 
												
													
														
															|  | -            </div>
 |  | 
 | 
												
													
														
															|  | -            <div class="layui-item layui-col-xs12 form-table-container">
 |  | 
 | 
												
													
														
															|  | -                <table id="contentTable" class="table table-bordered table-condensed can-edit">
 |  | 
 | 
												
													
														
															|  | -                    <thead>
 |  | 
 | 
												
													
														
															|  | -                    <tr>
 |  | 
 | 
												
													
														
															|  | -                        <th class="hide"></th>
 |  | 
 | 
												
													
														
															|  | -                        <th width="100px"><font color="red">*</font>联系人姓名</th>
 |  | 
 | 
												
													
														
															|  | -                        <th width="100px">部门</th>
 |  | 
 | 
												
													
														
															|  | -                        <th width="100px">职务</th>
 |  | 
 | 
												
													
														
															|  | -                        <th width="100px">QQ</th>
 |  | 
 | 
												
													
														
															|  | -                        <th width="100px">联系方式1</th>
 |  | 
 | 
												
													
														
															|  | -                        <th width="100px">联系方式2</th>
 |  | 
 | 
												
													
														
															|  | -                        <th width="150px">E-mail</th>
 |  | 
 | 
												
													
														
															|  | -                        <th width="100px">操作</th>
 |  | 
 | 
												
													
														
															|  | -                    </tr>
 |  | 
 | 
												
													
														
															|  | -                    </thead>
 |  | 
 | 
												
													
														
															|  | -                    <tbody id="workClientLinkmanList">
 |  | 
 | 
												
													
														
															|  | -
 |  | 
 | 
												
													
														
															|  | -                    </tbody>
 |  | 
 | 
												
													
														
															|  | -                </table>
 |  | 
 | 
												
													
														
															|  | -                <script type="text/template" id="workClientLinkmanTpl">//<!--
 |  | 
 | 
												
													
														
															|  | 
 |  | +                        </tbody>
 | 
												
													
														
															|  | 
 |  | +                    </table>
 | 
												
													
														
															|  | 
 |  | +                    <script type="text/template" id="workClientLinkmanTpl">//<!--
 | 
												
													
														
															|  |              <tr id="workClientLinkmanList{{idx}}">
 |  |              <tr id="workClientLinkmanList{{idx}}">
 | 
												
													
														
															|  |                  <td class="hide">
 |  |                  <td class="hide">
 | 
												
													
														
															|  |                      <input id="workClientLinkmanList{{idx}}_id" name="workClientLinkmanList[{{idx}}].id" type="hidden" value="{{row.id}}"/>
 |  |                      <input id="workClientLinkmanList{{idx}}_id" name="workClientLinkmanList[{{idx}}].id" type="hidden" value="{{row.id}}"/>
 | 
												
											
												
													
														
															|  | @@ -539,94 +550,106 @@
 | 
												
													
														
															|  |                      {{#delBtn}}<span class="op-btn op-btn-delete" onclick="delRow(this, '#workClientLinkmanList{{idx}}')" title="删除"><i class="glyphicon glyphicon-remove"></i> 删除</span>{{/delBtn}}
 |  |                      {{#delBtn}}<span class="op-btn op-btn-delete" onclick="delRow(this, '#workClientLinkmanList{{idx}}')" title="删除"><i class="glyphicon glyphicon-remove"></i> 删除</span>{{/delBtn}}
 | 
												
													
														
															|  |                  </td>
 |  |                  </td>
 | 
												
													
														
															|  |              </tr>//-->
 |  |              </tr>//-->
 | 
												
													
														
															|  | -                </script>
 |  | 
 | 
												
													
														
															|  | -                <script type="text/javascript">
 |  | 
 | 
												
													
														
															|  | -                    var workClientLinkmanRowIdx = 0, workClientLinkmanTpl = $("#workClientLinkmanTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g,"");
 |  | 
 | 
												
													
														
															|  | -                    var workClientBankRowIdx = 0, workClientBankTpl = $("#workClientBankTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g,"");
 |  | 
 | 
												
													
														
															|  | -                    $(document).ready(function() {
 |  | 
 | 
												
													
														
															|  | -                        var data = ${fns:toJson(workClientInfo.workClientLinkmanList)};
 |  | 
 | 
												
													
														
															|  | -                        for (var i=0; i<data.length; i++){
 |  | 
 | 
												
													
														
															|  | -                            addRow('#workClientLinkmanList', workClientLinkmanRowIdx, workClientLinkmanTpl, data[i]);
 |  | 
 | 
												
													
														
															|  | -                            workClientLinkmanRowIdx = workClientLinkmanRowIdx + 1;
 |  | 
 | 
												
													
														
															|  | -                        }
 |  | 
 | 
												
													
														
															|  | -                        var dataBank = ${fns:toJson(workClientInfo.workClientBankList)};
 |  | 
 | 
												
													
														
															|  | -                        for (var i=0; i<dataBank.length; i++){
 |  | 
 | 
												
													
														
															|  | -                            addRow('#workClientBankList', workClientBankRowIdx, workClientBankTpl, dataBank[i]);
 |  | 
 | 
												
													
														
															|  | -                            workClientBankRowIdx = workClientBankRowIdx + 1;
 |  | 
 | 
												
													
														
															|  | -                        }
 |  | 
 | 
												
													
														
															|  | -                    });
 |  | 
 | 
												
													
														
															|  | 
 |  | +                    </script>
 | 
												
													
														
															|  | 
 |  | +                    <script type="text/javascript">
 | 
												
													
														
															|  | 
 |  | +                        var workClientLinkmanRowIdx = 0,
 | 
												
													
														
															|  | 
 |  | +                            workClientLinkmanTpl = $("#workClientLinkmanTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g, "");
 | 
												
													
														
															|  | 
 |  | +                        var workClientBankRowIdx = 0,
 | 
												
													
														
															|  | 
 |  | +                            workClientBankTpl = $("#workClientBankTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g, "");
 | 
												
													
														
															|  | 
 |  | +                        $(document).ready(function () {
 | 
												
													
														
															|  | 
 |  | +                            var data = ${fns:toJson(workClientInfo.workClientLinkmanList)};
 | 
												
													
														
															|  | 
 |  | +                            for (var i = 0; i < data.length; i++) {
 | 
												
													
														
															|  | 
 |  | +                                addRow('#workClientLinkmanList', workClientLinkmanRowIdx, workClientLinkmanTpl, data[i]);
 | 
												
													
														
															|  | 
 |  | +                                workClientLinkmanRowIdx = workClientLinkmanRowIdx + 1;
 | 
												
													
														
															|  | 
 |  | +                            }
 | 
												
													
														
															|  | 
 |  | +                            var dataBank = ${fns:toJson(workClientInfo.workClientBankList)};
 | 
												
													
														
															|  | 
 |  | +                            for (var i = 0; i < dataBank.length; i++) {
 | 
												
													
														
															|  | 
 |  | +                                addRow('#workClientBankList', workClientBankRowIdx, workClientBankTpl, dataBank[i]);
 | 
												
													
														
															|  | 
 |  | +                                workClientBankRowIdx = workClientBankRowIdx + 1;
 | 
												
													
														
															|  | 
 |  | +                            }
 | 
												
													
														
															|  | 
 |  | +                        });
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  | -                </script>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                    </script>
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  |              </div>
 |  |              </div>
 | 
												
													
														
															|  | -        </div>
 |  | 
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  | -        <div class="form-group layui-row">
 |  | 
 | 
												
													
														
															|  | -            <div class="form-group-label"><h2>附件信息</h2></div>
 |  | 
 | 
												
													
														
															|  | -            <div class="layui-item nav-btns">
 |  | 
 | 
												
													
														
															|  | -                <a id="attachment_btn" class="nav-btn nav-btn-add" title="添加附件"><i class="fa fa-plus"></i> 添加附件</a>
 |  | 
 | 
												
													
														
															|  | -            </div>
 |  | 
 | 
												
													
														
															|  | -            <div id="addFile_attachment" style="display: none" class="upload-progress">
 |  | 
 | 
												
													
														
															|  | -                <span id="fileName_attachment" ></span>
 |  | 
 | 
												
													
														
															|  | -                <b><span id="baifenbi_attachment" ></span></b>
 |  | 
 | 
												
													
														
															|  | -                <div class="progress">
 |  | 
 | 
												
													
														
															|  | -                    <div id="jindutiao_attachment" class="progress-bar" style="width: 0%" aria-valuenow="0">
 |  | 
 | 
												
													
														
															|  | 
 |  | +            <div class="form-group layui-row">
 | 
												
													
														
															|  | 
 |  | +                <div class="form-group-label"><h2>附件信息</h2></div>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item nav-btns">
 | 
												
													
														
															|  | 
 |  | +                    <a id="attachment_btn" class="nav-btn nav-btn-add" title="添加附件"><i class="fa fa-plus"></i> 添加附件</a>
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  | 
 |  | +                <div id="addFile_attachment" style="display: none" class="upload-progress">
 | 
												
													
														
															|  | 
 |  | +                    <span id="fileName_attachment"></span>
 | 
												
													
														
															|  | 
 |  | +                    <b><span id="baifenbi_attachment"></span></b>
 | 
												
													
														
															|  | 
 |  | +                    <div class="progress">
 | 
												
													
														
															|  | 
 |  | +                            <%--进度条--%>
 | 
												
													
														
															|  | 
 |  | +                        <div id="jindutiao_attachment" class="progress-bar" style="width: 0%" aria-valuenow="0">
 | 
												
													
														
															|  | 
 |  | +                        </div>
 | 
												
													
														
															|  |                      </div>
 |  |                      </div>
 | 
												
													
														
															|  |                  </div>
 |  |                  </div>
 | 
												
													
														
															|  | -            </div>
 |  | 
 | 
												
													
														
															|  | -            <input id="attachment_file" type="file" name="attachment_file" multiple="multiple" style="display: none;" onChange="if(this.value)insertTitle(this.value);"/>
 |  | 
 | 
												
													
														
															|  | -            <span id="attachment_title"></span>
 |  | 
 | 
												
													
														
															|  | -            <div class="layui-item layui-col-xs12" style="padding:0 16px;">
 |  | 
 | 
												
													
														
															|  | -                <table id="upTable" class="table table-bordered table-condensed details">
 |  | 
 | 
												
													
														
															|  | -                    <thead>
 |  | 
 | 
												
													
														
															|  | -                    <tr>
 |  | 
 | 
												
													
														
															|  | -                            <%-- <th>序号</th>--%>
 |  | 
 | 
												
													
														
															|  | -                        <th>文件</th>
 |  | 
 | 
												
													
														
															|  | -                        <th>上传人</th>
 |  | 
 | 
												
													
														
															|  | -                        <th>上传时间</th>
 |  | 
 | 
												
													
														
															|  | -                        <th width="150px">操作</th>
 |  | 
 | 
												
													
														
															|  | -                    </tr>
 |  | 
 | 
												
													
														
															|  | -                    </thead>
 |  | 
 | 
												
													
														
															|  | -                    <tbody id="file_attachment">
 |  | 
 | 
												
													
														
															|  | -                    <c:forEach items="${workClientInfo.workAttachments}" var = "workClientAttachment" varStatus="status">
 |  | 
 | 
												
													
														
															|  | 
 |  | +                <input id="attachment_file" type="file" name="attachment_file" multiple="multiple"
 | 
												
													
														
															|  | 
 |  | +                       style="display: none;" onChange="if(this.value)insertTitle(this.value);"/>
 | 
												
													
														
															|  | 
 |  | +                <span id="attachment_title"></span>
 | 
												
													
														
															|  | 
 |  | +                <div class="layui-item layui-col-xs12" style="padding:0 16px;">
 | 
												
													
														
															|  | 
 |  | +                    <table id="upTable" class="table table-bordered table-condensed details">
 | 
												
													
														
															|  | 
 |  | +                        <thead>
 | 
												
													
														
															|  |                          <tr>
 |  |                          <tr>
 | 
												
													
														
															|  | -                                <%-- <td>${status.index + 1}</td>--%>
 |  | 
 | 
												
													
														
															|  | -                            <c:choose>
 |  | 
 | 
												
													
														
															|  | -                                <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpg')
 |  | 
 | 
												
													
														
															|  | -                                                           or fn:containsIgnoreCase(workClientAttachment.attachmentName,'png')
 |  | 
 | 
												
													
														
															|  | -                                                           or fn:containsIgnoreCase(workClientAttachment.attachmentName,'gif')
 |  | 
 | 
												
													
														
															|  | -                                                           or fn:containsIgnoreCase(workClientAttachment.attachmentName,'bmp')
 |  | 
 | 
												
													
														
															|  | -                                                           or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpeg')}">
 |  | 
 | 
												
													
														
															|  | -                                    <td><img src="${workClientAttachment.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.url}','90%','90%')" alt="${workClientAttachment.attachmentName}">
 |  | 
 | 
												
													
														
															|  | -                                </c:when>
 |  | 
 | 
												
													
														
															|  | -                                <c:otherwise>
 |  | 
 | 
												
													
														
															|  | -                                    <c:choose>
 |  | 
 | 
												
													
														
															|  | -                                        <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
 |  | 
 | 
												
													
														
															|  | -                                            <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%','1')">${workClientAttachment.attachmentName}</a></td>
 |  | 
 | 
												
													
														
															|  | -                                        </c:when>
 |  | 
 | 
												
													
														
															|  | -                                        <c:otherwise>
 |  | 
 | 
												
													
														
															|  | -                                            <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%')">${workClientAttachment.attachmentName}</a></td>
 |  | 
 | 
												
													
														
															|  | -                                        </c:otherwise>
 |  | 
 | 
												
													
														
															|  | -                                    </c:choose>
 |  | 
 | 
												
													
														
															|  | -                                </c:otherwise>
 |  | 
 | 
												
													
														
															|  | -                            </c:choose>
 |  | 
 | 
												
													
														
															|  | -                            <td>${workClientAttachment.createBy.name}</td>
 |  | 
 | 
												
													
														
															|  | -                            <td><fmt:formatDate value="${workClientAttachment.createDate}" type="both"/></td>
 |  | 
 | 
												
													
														
															|  | -                            <td class="op-td">
 |  | 
 | 
												
													
														
															|  | -                                <div class="op-btn-box" >
 |  | 
 | 
												
													
														
															|  | -                                <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
 |  | 
 | 
												
													
														
															|  | -                                <c:if test="${workClientAttachment.createBy.id eq fns:getUser().id}">
 |  | 
 | 
												
													
														
															|  | -                                    <a href="javascript:void(0)" onclick="deleteFileFromAliyun(this,'${ctx}/sys/workattachment/deleteFileFromAliyun?url=${workClientAttachment.url}&id=${workClientAttachment.id}&type=2','addFile')" class="op-btn op-btn-delete" ><i class="fa fa-trash"></i> 删除</a>
 |  | 
 | 
												
													
														
															|  | -                                </c:if>
 |  | 
 | 
												
													
														
															|  | -                                </div>
 |  | 
 | 
												
													
														
															|  | -                            </td>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                                <%-- <th>序号</th>--%>
 | 
												
													
														
															|  | 
 |  | +                            <th>文件</th>
 | 
												
													
														
															|  | 
 |  | +                            <th>上传人</th>
 | 
												
													
														
															|  | 
 |  | +                            <th>上传时间</th>
 | 
												
													
														
															|  | 
 |  | +                            <th width="150px">操作</th>
 | 
												
													
														
															|  |                          </tr>
 |  |                          </tr>
 | 
												
													
														
															|  | -                    </c:forEach>
 |  | 
 | 
												
													
														
															|  | -                    </tbody>
 |  | 
 | 
												
													
														
															|  | -                </table>
 |  | 
 | 
												
													
														
															|  | 
 |  | +                        </thead>
 | 
												
													
														
															|  | 
 |  | +                        <tbody id="file_attachment">
 | 
												
													
														
															|  | 
 |  | +                        <c:forEach items="${workClientInfo.workAttachments}" var="workClientAttachment"
 | 
												
													
														
															|  | 
 |  | +                                   varStatus="status">
 | 
												
													
														
															|  | 
 |  | +                            <tr>
 | 
												
													
														
															|  | 
 |  | +                                    <%-- <td>${status.index + 1}</td>--%>
 | 
												
													
														
															|  | 
 |  | +                                <c:choose>
 | 
												
													
														
															|  | 
 |  | +                                    <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpg')
 | 
												
													
														
															|  | 
 |  | +                                             or fn:containsIgnoreCase(workClientAttachment.attachmentName,'png')
 | 
												
													
														
															|  | 
 |  | +                                             or fn:containsIgnoreCase(workClientAttachment.attachmentName,'gif')
 | 
												
													
														
															|  | 
 |  | +                                             or fn:containsIgnoreCase(workClientAttachment.attachmentName,'bmp')
 | 
												
													
														
															|  | 
 |  | +                                             or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpeg')}">
 | 
												
													
														
															|  | 
 |  | +                                        <td><img src="${workClientAttachment.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.url}','90%','90%')" alt="${workClientAttachment.attachmentName}">
 | 
												
													
														
															|  | 
 |  | +                                    </c:when>
 | 
												
													
														
															|  | 
 |  | +                                    <c:otherwise>
 | 
												
													
														
															|  | 
 |  | +                                        <c:choose>
 | 
												
													
														
															|  | 
 |  | +                                            <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
 | 
												
													
														
															|  | 
 |  | +                                                <td><a class="attention-info" href="javascript:void(0)"
 | 
												
													
														
															|  | 
 |  | +                                                       onclick="preview('预览','${workClientAttachment.url}','90%','90%','1')">${workClientAttachment.attachmentName}</a>
 | 
												
													
														
															|  | 
 |  | +                                                </td>
 | 
												
													
														
															|  | 
 |  | +                                            </c:when>
 | 
												
													
														
															|  | 
 |  | +                                            <c:otherwise>
 | 
												
													
														
															|  | 
 |  | +                                                <td><a class="attention-info" href="javascript:void(0)"
 | 
												
													
														
															|  | 
 |  | +                                                       onclick="preview('预览','${workClientAttachment.url}','90%','90%')">${workClientAttachment.attachmentName}</a>
 | 
												
													
														
															|  | 
 |  | +                                                </td>
 | 
												
													
														
															|  | 
 |  | +                                            </c:otherwise>
 | 
												
													
														
															|  | 
 |  | +                                        </c:choose>
 | 
												
													
														
															|  | 
 |  | +                                    </c:otherwise>
 | 
												
													
														
															|  | 
 |  | +                                </c:choose>
 | 
												
													
														
															|  | 
 |  | +                                <td>${workClientAttachment.createBy.name}</td>
 | 
												
													
														
															|  | 
 |  | +                                <td><fmt:formatDate value="${workClientAttachment.createDate}" type="both"/></td>
 | 
												
													
														
															|  | 
 |  | +                                <td class="op-td">
 | 
												
													
														
															|  | 
 |  | +                                    <div class="op-btn-box">
 | 
												
													
														
															|  | 
 |  | +                                        <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${workClientAttachment.url}');"
 | 
												
													
														
															|  | 
 |  | +                                           class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
 | 
												
													
														
															|  | 
 |  | +                                        <c:if test="${workClientAttachment.createBy.id eq fns:getUser().id}">
 | 
												
													
														
															|  | 
 |  | +                                            <a href="javascript:void(0)"
 | 
												
													
														
															|  | 
 |  | +                                               onclick="deleteFileFromAliyun(this,'${ctx}/sys/workattachment/deleteFileFromAliyun?url=${workClientAttachment.url}&id=${workClientAttachment.id}&type=2','addFile')"
 | 
												
													
														
															|  | 
 |  | +                                               class="op-btn op-btn-delete"><i class="fa fa-trash"></i> 删除</a>
 | 
												
													
														
															|  | 
 |  | +                                        </c:if>
 | 
												
													
														
															|  | 
 |  | +                                    </div>
 | 
												
													
														
															|  | 
 |  | +                                </td>
 | 
												
													
														
															|  | 
 |  | +                            </tr>
 | 
												
													
														
															|  | 
 |  | +                        </c:forEach>
 | 
												
													
														
															|  | 
 |  | +                        </tbody>
 | 
												
													
														
															|  | 
 |  | +                    </table>
 | 
												
													
														
															|  | 
 |  | +                </div>
 | 
												
													
														
															|  |              </div>
 |  |              </div>
 | 
												
													
														
															|  | -        </div>
 |  | 
 | 
												
													
														
															|  | -        <div class="form-group layui-row page-end"></div>
 |  | 
 | 
												
													
														
															|  | 
 |  | +            <div class="form-group layui-row page-end"></div>
 | 
												
													
														
															|  |          </form:form>
 |  |          </form:form>
 | 
												
													
														
															|  |      </div>
 |  |      </div>
 | 
												
													
														
															|  |  </div>
 |  |  </div>
 |