|
@@ -15,11 +15,21 @@
|
|
|
$('#contentTable tbody tr td input.i-checks').iCheck('check');
|
|
|
});
|
|
|
|
|
|
- $('#contentTable thead tr th input.i-checks').on('ifUnchecked', function(event){ //ifCreated 事件应该在插件初始化之前绑定
|
|
|
+ $('#contentTable thead tr th input.i-checks').on('ifUnchecked', function(event){ //ifCreated 事件应该在插件初始化之前绑定
|
|
|
$('#contentTable tbody tr td input.i-checks').iCheck('uncheck');
|
|
|
});
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+ //搜索框收放
|
|
|
+ $('#moresee').click(function(){
|
|
|
+ if($('#moresees').is(':visible'))
|
|
|
+ {
|
|
|
+ $('#moresees').slideUp(0,resizeListWindow1);
|
|
|
+ $('#moresee i').removeClass("glyphicon glyphicon-menu-up").addClass("glyphicon glyphicon-menu-down");
|
|
|
+ }else{
|
|
|
+ $('#moresees').slideDown(0,resizeListWindow1);
|
|
|
+ $('#moresee i').removeClass("glyphicon glyphicon-menu-down").addClass("glyphicon glyphicon-menu-up");
|
|
|
+ }
|
|
|
+ });
|
|
|
});
|
|
|
|
|
|
function getSelectedItem(){
|
|
@@ -35,7 +45,7 @@
|
|
|
return "-1";
|
|
|
}
|
|
|
var id = $("#contentTable tbody tr td input.i-checks:checkbox:checked").attr("id");
|
|
|
-
|
|
|
+
|
|
|
var label = $("#contentTable tbody tr td input.i-checks:checkbox:checked").parent().parent().parent().find(".codelabel").html();
|
|
|
var number = $("#contentTable tbody tr td input.i-checks:checkbox:checked").parent().parent().parent().find(".codenumber").html();
|
|
|
return id+"_item_"+label+"_item_"+number;
|
|
@@ -72,14 +82,32 @@
|
|
|
<form:input path="${searchKey}" htmlEscape="false" maxlength="50" class=" form-control layui-input"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="layui-item query athird">
|
|
|
+ <span class="layui-form-label">项目编号:</span>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="projectId" htmlEscape="false" maxlength="50" class=" form-control layui-input"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="layui-item athird fr">
|
|
|
<div class="input-group">
|
|
|
- <button id="searchReset" class="fixed-btn searchReset fr" style="margin-right: 0px;" onclick="resetSearch()">重置</button>
|
|
|
- <button id="searchQuery" class="fixed-btn searchQuery fr" onclick="search()">查询</button>
|
|
|
+ <a href="#" id="moresee"><i class="glyphicon glyphicon-menu-down"></i></a>
|
|
|
+ <div class="layui-btn-group search-spacing">
|
|
|
+ <button id="searchQuery" class="layui-btn layui-btn-sm layui-bg-blue" onclick="search()">查询</button>
|
|
|
+ <button id="searchReset" class="layui-btn layui-btn-sm " onclick="resetSearch()">重置</button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style=" clear:both;"></div>
|
|
|
</div>
|
|
|
+ <div id="moresees" style="clear:both;display:none;">
|
|
|
+ <div class="layui-item query athird">
|
|
|
+ <span class="layui-form-label">报告号:</span>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="reportData.number" htmlEscape="false" maxlength="50" class=" form-control layui-input"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="clear:both;"></div>
|
|
|
+ </div>
|
|
|
</form:form>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -95,6 +123,7 @@
|
|
|
<th>项目报告号</th>
|
|
|
<th>负责人</th>
|
|
|
<th>委托方</th>
|
|
|
+ <th>是否开票</th>
|
|
|
</c:forEach>
|
|
|
</tr>
|
|
|
</thead>
|
|
@@ -109,6 +138,7 @@
|
|
|
<td class="codenumber">${obj.reportData.number}</td>
|
|
|
<td class="codelabel">${obj.leaderNameStr}</td>
|
|
|
<td class="codelabel">${obj.workContractInfo.client.name}</td>
|
|
|
+ <td class="codelabel">${obj.invoiceFlag}</td>
|
|
|
</tr>
|
|
|
</c:forEach>
|
|
|
</c:when>
|
|
@@ -157,4 +187,4 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</body>
|
|
|
-</html>
|
|
|
+</html>
|