优化报表的查询条件

This commit is contained in:
季圣华
2020-12-28 23:36:38 +08:00
parent 0e91d84c39
commit 70ecb4df75
16 changed files with 142 additions and 157 deletions

View File

@@ -28,6 +28,12 @@
<select name="searchProjectId" id="searchProjectId" style="width:100px;height: 30px;border: 1px solid #d3d3d3;border-radius:5px;"></select>
</div>
</div>
<div class="form-group">
<label class="control-label">商品信息:</label>
<div class="control-inline">
<input type="text" id="searchMaterial" name="searchMaterial" data-options="prompt:'名称规格型号'" class="easyui-textbox width-120"/>
</div>
</div>
<div class="form-group">
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="exprotBtn">导出</a>
@@ -291,6 +297,7 @@
data: ({
currentPage: pageNo,
pageSize: pageSize,
materialParam: $.trim($("#searchMaterial").val()),
projectId : $.trim($("#searchProjectId").val()),
mpList: mPropertyList
}),
@@ -299,6 +306,7 @@
if (pageSize === 3000) {
window.location.href = "/depotItem/exportWarningExcel?browserType=" + getOs()
+ "&currentPage=" + pageNo + "&pageSize=" + pageSize
+ "&materialParam=" + $.trim($("#searchMaterial").val())
+ "&projectId=" + $.trim($("#searchProjectId").val())
+ "&mpList=" + mPropertyList;
}