|
@@ -26,7 +26,7 @@
|
|
return "-1";
|
|
return "-1";
|
|
}
|
|
}
|
|
var arr=new Array();
|
|
var arr=new Array();
|
|
- $("#contentTable tbody tr td input.i-checks:checkbox:checked").each(function () {
|
|
|
|
|
|
+ $("#contentTable tbody tr td input.i-checks:radio:checked").each(function () {
|
|
var id = $(this).attr("id");
|
|
var id = $(this).attr("id");
|
|
var label = $(this).parent().parent().parent().find(".codelabel").html();
|
|
var label = $(this).parent().parent().parent().find(".codelabel").html();
|
|
var label1 = $(this).parent().parent().parent().find(".codelabel1").html();
|
|
var label1 = $(this).parent().parent().parent().find(".codelabel1").html();
|
|
@@ -88,7 +88,7 @@
|
|
<table id="contentTable" class="table details table-bordered table-condensed">
|
|
<table id="contentTable" class="table details table-bordered table-condensed">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
- <th width="50"><input type="checkbox" class="i-checks"></th>
|
|
|
|
|
|
+ <th width="50"></th>
|
|
<th style="display:none">委托方编号</th>
|
|
<th style="display:none">委托方编号</th>
|
|
<th width="25%">委托方</th>
|
|
<th width="25%">委托方</th>
|
|
<th width="25%">统一社会信用代码</th>
|
|
<th width="25%">统一社会信用代码</th>
|
|
@@ -103,7 +103,7 @@
|
|
<c:when test="${not empty page.list}">
|
|
<c:when test="${not empty page.list}">
|
|
<c:forEach items="${page.list}" var="obj">
|
|
<c:forEach items="${page.list}" var="obj">
|
|
<tr>
|
|
<tr>
|
|
- <td> <input type="checkbox" id="${fns:getValue(obj, 'id')}" class="i-checks"></td>
|
|
|
|
|
|
+ <td> <input type="radio" name="radioName" id="${fns:getValue(obj, 'id')}" class="i-checks"></td>
|
|
<td title="${obj.clientId.id}" class="codelabel4" style="display:none">${obj.clientId.id}</td>
|
|
<td title="${obj.clientId.id}" class="codelabel4" style="display:none">${obj.clientId.id}</td>
|
|
<td title="${obj.clientId.name}" class="codelabel3">${obj.clientId.name}</td>
|
|
<td title="${obj.clientId.name}" class="codelabel3">${obj.clientId.name}</td>
|
|
<td class="codelabel5">${fns:getValue(obj, 'uscCode')}</td>
|
|
<td class="codelabel5">${fns:getValue(obj, 'uscCode')}</td>
|
|
@@ -139,21 +139,5 @@
|
|
<div class="form-group layui-row page-end"></div>
|
|
<div class="form-group layui-row page-end"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-<script type="text/javascript">
|
|
|
|
- $(document).ready(function(){
|
|
|
|
- $(function(){
|
|
|
|
- $(".icheckbox_square-green").find(":checkbox").each(function(){
|
|
|
|
- $(this).click(function(){
|
|
|
|
- if($(this).is(':checked')){
|
|
|
|
- $(this).attr('checked',true).siblings().attr('checked',false);
|
|
|
|
- }else{
|
|
|
|
- $(this).attr('checked',false).siblings().attr('checked',false);
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
- });
|
|
|
|
- });
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
-</script>
|
|
|
|
</body>
|
|
</body>
|
|
</html>
|
|
</html>
|