@layout("/common/_container.html"){
|
<div class="ibox float-e-margins">
|
<div class="ibox-content">
|
<div class="form-horizontal" id="companyInfoForm">
|
<input type="hidden" id="id" name="id" value="${item.id}">
|
<input type="hidden" id="userId" name="userId" value="${user.id}">
|
<div class="row">
|
<div class="col-sm-6 b-r">
|
<#input id="name" name="分公司名称" value="${item.name}" />
|
<#input id="code" name="分公司代码" value="${item.code}" />
|
<#input id="principalName" name="分公司负责人" value="${item.principalName}" />
|
<#input id="adminName" name="分公司管理人" value="${item.adminName}" />
|
<#input id="documentAddress" name="行政文书送达地址" value="${item.documentAddress}" />
|
<#input id="setupTime" name="服务机构设立日期" value="${item.setupTime}" />
|
<#input id="licenseNumber" name="网络预约出租汽<br>车经营许可证号" value="${item.licenseNumber}" />
|
<#input id="addressCode" name="注册地行政区域划<br>分代码" value="${item.addressCode}" />
|
<#input id="licenseTime" name="经营许可证初次发证日期" value="${item.licenseTime}" />
|
<#input id="licenseEndTime" name="经营许可证有效期止" value="${item.licenseEndTime}" />
|
<#input id="regCapital" name="注册资本" value="${item.regCapital}" />
|
<#input id="driverNum" name="注册网络预约车驾驶员数量" value="${item.driverNum}" />
|
<#input id="legalId" name="法人代表身份证号" value="${item.legalId}" />
|
<#avatar id="idCardPositive" name="法定代表人身份<br>证照片(正面):" avatarImg="${item.idCardPositive}"/>
|
<#input id="contactAddress" name="通信地址" value="${item.contactAddress}"/>
|
</div>
|
|
<div class="col-sm-6">
|
<#input id="scopeCode" name="分公司区划代码" value="${item.scopeCode}"/>
|
<#input id="detailAddress" name="分公司具体地址" value="${item.detailAddress}"/>
|
<#input id="principalPhone" name="负责人电话" value="${item.principalPhone}"/>
|
<#input id="adminPhone" name="管理员电话" value="${item.adminPhone}"/>
|
<#input id="urgentPhoen" name="紧急联系电话" value="${item.urgentPhoen}"/>
|
<#input id="identifier" name="统一社会信用代码" value="${item.identifier}"/>
|
<#input id="serviceScope" name="经营区域" value="${item.serviceScope}"/>
|
<#input id="licensingAgency" name="经营许可证发证机构" value="${item.licensingAgency}"/>
|
<#input id="licenseStartTime" name="经营许可证有效期起" value="${item.licenseStartTime}"/>
|
<#input id="economicType" name="经营业户经济类型" value="${item.economicType}"/>
|
<#input id="carNum" name="注册网络预约出租车<br>车辆数" value="${item.carNum}"/>
|
<#input id="legalName" name="法人代表姓名" value="${item.legalName}"/>
|
<#input id="legalPhone" name="法人代表电话" value="${item.legalPhone}"/>
|
<#avatar id="idCardReverse" name="法定代表人身份<br>证照片(反面):" avatarImg="${item.idCardReverse}"/>
|
<#input id="businessScope" name="经营范围" value="${item.businessScope}"/>
|
</div>
|
</div>
|
<div class="row">
|
<div class="col-sm-12">
|
<div class="form-group">
|
<label class="col-sm-2 control-label">经营业务:</label>
|
<div class="col-sm-10">
|
<fieldset>
|
<div class="checkbox checkbox-primary">
|
<input name="checkbox" id="checkbox2" type="checkbox" value="2" ${1 == item.isTaxi ? 'checked=checked' : ''} onclick="TCompanyInfoDlg.checkbox2()">
|
<label for="checkbox2">
|
出租车
|
</label>
|
|
</div>
|
</fieldset>
|
</div>
|
</div>
|
</div>
|
</div>
|
|
<div class="row">
|
<div class="col-sm-12">
|
<div class="form-group">
|
<label class="col-sm-2 control-label">经营区域:</label>
|
<div class="col-sm-2">
|
<select class="form-control" id="province" onchange="TCompanyInfoDlg.provinceChange(this)">
|
<option value="">选择省</option>
|
@for(obj in provinceList){
|
<option value="${obj.code}">${obj.name}</option>
|
@}
|
</select>
|
</div>
|
<div class="col-sm-2">
|
<select class="form-control" id="city" onchange="TCompanyInfoDlg.cityChage(this)">
|
<option value="">选择市</option>
|
</select>
|
</div>
|
<div class="col-sm-2">
|
<select class="form-control" id="area">
|
<option value="">选择区</option>
|
</select>
|
</div>
|
<div class="col-sm-1">
|
<#button btnCss="info" name="添加" id="ensure" icon="fa-check" clickFun="TCompanyInfoDlg.addScope()"/>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-2 control-label">添加区域</label>
|
<div class="col-sm-9">
|
<div style="height: 200px; border: 1px solid #e5e6e7;overflow-y: auto;">
|
<table class="table table-striped table-bordered table-hover table-condensed">
|
<thead>
|
<tr>
|
<th style="width: 300px;">区域</th>
|
<th style="width: 200px;">操作</th>
|
</tr>
|
</thead>
|
<tbody id="conn">
|
@for(obj in scopeList){
|
<tr class="timeClass">
|
<td><input type="hidden" id="recordId" name="recordId" value="${obj.id}">
|
<input type="hidden" id="provinceCode" name="provinceCode" value="${obj.provinceCode}">
|
<input type="hidden" id="cityCode" name="cityCode" value="${obj.cityCode}">
|
<input type="hidden" id="areaCode" name="areaCode" value="${obj.areaCode}">${obj.value}</td>
|
<td><button onclick="deleteSub(this)">移除</button></td>
|
</tr>
|
@}
|
</tbody>
|
</table>
|
</div>
|
</div>
|
</div>
|
|
|
<!-- <div class="form-group">
|
<label class="col-sm-2 control-label">限登录MAC地址:</label>
|
<div class="col-sm-9">
|
<input type="text" class="form-control" id="mac" name="mac" value="${item.mac}">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-2 control-label">登录账号:</label>
|
<div class="col-sm-9">
|
<input type="text" class="form-control" id="account" name="account" value="${user.account}">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-2 control-label">登录密码:</label>
|
<div class="col-sm-9">
|
<input type="password" class="form-control" id="password" name="password" >
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-2 control-label">确认密码:</label>
|
<div class="col-sm-9">
|
<input type="password" class="form-control" id="rePassword" name="rePassword" >
|
</div>
|
</div>-->
|
</div>
|
</div>
|
|
<div class="row btn-group-m-t">
|
<div class="col-sm-10 col-sm-offset-5">
|
<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TCompanyInfoDlg.editSubmit()"/>
|
</div>
|
</div>
|
</div>
|
|
</div>
|
</div>
|
<script src="${ctxPath}/static/modular/system/tCompany/tCompany_info.js"></script>
|
<script type="application/javascript">
|
laydate.render({
|
elem: '#setupTime'
|
});
|
laydate.render({
|
elem: '#licenseTime'
|
});
|
laydate.render({
|
elem: '#licenseStartTime'
|
});
|
laydate.render({
|
elem: '#licenseEndTime'
|
});
|
|
$(function() {
|
TCompanyInfoDlg.checkbox1();
|
TCompanyInfoDlg.checkbox2();
|
TCompanyInfoDlg.checkbox3();
|
TCompanyInfoDlg.checkbox4();
|
TCompanyInfoDlg.checkbox5();
|
TCompanyInfoDlg.checkbox6();
|
|
var zc = $("input[name='zc']:checked").val();
|
var cz = $("input[name='cz']:checked").val();
|
var tcx = $("input[name='tcx']:checked").val();
|
var kcx = $("input[name='kcx']:checked").val();
|
if (zc == "" || zc == null || zc == undefined){
|
$("#zc1").attr("checked","checked")
|
}
|
if (cz == "" || cz == null || cz == undefined){
|
$("#cz1").attr("checked","checked")
|
}
|
if (tcx == "" || tcx == null || tcx == undefined){
|
$("#tcx1").attr("checked","checked")
|
}
|
if (kcx == "" || kcx == null || kcx == undefined){
|
$("#kcx1").attr("checked","checked")
|
}
|
});
|
</script>
|
@}
|