| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>合同金额统计</title>
- <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
- <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerCheckBox.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerLayout.js" type="text/javascript"></script>
- <script type="text/javascript">
- $(function() {
- $("#search_date_start").ligerDateEditor({
- labelWidth : 128,
- labelAlign : 'right',
- showTime : false
- });
- $("#search_date_end").ligerDateEditor({
- labelWidth : 128,
- labelAlign : 'right',
- showTime : false
- });
- loadTypeTree("selectDeptButton", {
- type : "singledept",
- tab : "1",
- backId : "duty_department",
- backName : "duty_department_name"
- });
- });
- function toReset() {
- $("#search_date_start").val("");
- $("#search_date_end").val("");
- $("#contract_search_type").val("");
- $("#duty_department").val("");
- $("#duty_department_name").val("");
- $("#contract_search_firstparty").val("");
- $("#contract_search_firstparty_name").val("");
- }
- function selectCompany() {
- $.ligerDialog.open({
- title : '选择公司',
- width : 900,
- height : 370,
- url : 'contractEntry.do?task=toSelectCompany',
- buttons : [ {
- text : '确定',
- onclick : f_firstPartyOK
- },
- // {
- // text : '本公司',
- // onclick : f_firstPartyMyCompanyOK
- // },
- {
- text : '取消',
- onclick : f_firstPartyCancel
- } ]
- });
- }
- function f_firstPartyMyCompanyOK(item, dialog) {
- $.ajax({
- type : "POST",
- url : "contractCompany.do?task=isExistMyCompany",
- data : "",
- timeout : 10000,
- dataType : "json",
- success : function(data) {
- if (data.isExist == '1') {
- $("#contract_search_firstparty").val(
- data.company.universalid);
- $("#contract_search_firstparty_name").val(
- data.company.company_name);
- dialog.close();
- } else {
- alert("本公司信息没填写,请补充!");
- dialog.close();
- }
- },
- complete : function() {
- }
- });
- }
- function f_firstPartyOK(item, dialog) {
- var rows = dialog.frame.f_select();
- $("#contract_search_firstparty").val(rows[0].universalid);
- $("#contract_search_firstparty_name").val(rows[0].company_name);
- dialog.close();
- }
- function f_firstPartyCancel(item, dialog) {
- dialog.close();
- }
- $(function() {
-
- $("#contract_search_type").ligerComboBox();
- });
- </script>
- </head>
- <body>
- <%@ include file="/include/message.jsp"%>
- <div class="container-layout">
- <form action="contractMoneyStat.do" method="post" target="_blank">
- <div id="deptBtn" class="form-button">
- <!-- <a href="stockAction.do?task=inStockStatis" target="_blank"> 生成报表</a> -->
- <input type="submit" class="l-button" value="生成报表" />
- <input type="hidden" id="task" name="task" value="printContractMoneyStat">
- <input type="button" class="l-button" value="条件重置" onclick="toReset()" style="width: 80px;" />
-
- <!-- <a href="file.do?task=upload" target="_blank">测试上传文件按钮</a> -->
- <!-- <a href="contractHomePage.do?task=upload2" target="_blank">测试上传文件按钮22222</a> -->
- <!-- <a href="#" class="f8" onclick="changeImg('contract_jdjetj.jpg');" title="季度合同额报表"> <img src="/shares/images/master1/lc_ico.png" width="19" height="21" /> 季度合同额报表
- </a> -->
- </div>
- <div class="default_search">
- <ul class="list_search" >
- <li class="title" style="width:120px;">合同签订日期:</li>
- <li class="text" ><input type="text" name="search_date_start" id="search_date_start" >
- <li class="title title_rqjg">
- 至
- </li>
- <li class="text">
- <input type="text" name="search_date_end" id="search_date_end" >
- </li>
- </ul>
-
- <ul class="list_search" >
- <li class="title" >合同类型:</li>
- <li class="text" ><select id="contract_search_type" name="contract_search_type">
- <option value="" selected="selected">-全部-</option>
- <c:forEach items="${contractTypeList }" var="item">
- <option value="${item.dvalue }">${item.dname }</option>
- </c:forEach>
- </select></li>
- </ul>
- </div>
- <div class="default_search" >
- <ul class="list_search" >
- <li class="title">公司:</li>
- <li class="text" ><input type="text" name="contract_search_firstparty_name" id="contract_search_firstparty_name" value="" readonly="readonly" /> <input type="hidden"
- name="contract_search_firstparty" id="contract_search_firstparty" value="" readonly="readonly" /> <input type="button" class="l-button" name="selectFirstParty" id="selectFirstParty" value="选择"
- onclick="selectCompany()" style="width: 60px;" /></li>
- </ul>
-
- <ul class="list_search" >
- <li class="title" >签约部门:</li>
- <li class="text" ><input type="hidden" id="duty_department" name="duty_department" value="" readonly="readonly"> <input type="text" id="duty_department_name"
- name="duty_department_name" value="" style="width: 135px;" readonly="readonly"> <input type="button" class="l-button" id="selectDeptButton" value="选择部门" /></li>
- </ul>
- </div>
- </form>
- </div>
- </body>
- </html>
|