CeramicProject/newyt/Module_data/cgfk_list.aspx

207 lines
8.1 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cgfk_list.aspx.cs" Inherits="MContent_cgfk_list" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link href="../Css/index.css" rel="stylesheet" type="text/css" />
<script src="../Jquery-ui/js/jquery-1.10.2.js" type="text/javascript"></script>
<link href="../Css/right.css" rel="stylesheet" type="text/css" />
<script src="../Jquery-ui/js/jquery-ui-1.10.4.custom.js" type="text/javascript"></script>
<link href="../Jquery-ui/css/pepper-grinder/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" />
<script src="../Js/Calendar3.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
spasefuzhi(MContent_cgfk_list);
$("#ycdaochu").click(function () {
var selectid = "";
$(".xz").each(function () {
if ($(this).is(":checked")) {
selectid += $(this).parent().parent().attr("tag") + ',';
}
})
$("#selectid").val(selectid);
})
$("#drp_zt").change(function () {
var daylength = "";
daylength = MContent_cgfk_list.nowdaycount($("#drp_zt").val()).value;
if ($("#drop_ziduan").length == 0) {
$("#gjxnr").html(daylength);
}
var nowp = MContent_cgfk_list.sumitem(" where " + pxtiaojian() + " 1=1 ").value
$("#span_sumitem").text(nowp);
pagecount = $("#span_sumpage").text() - 1;
$("#drp_pageitem").change();
bind();
})
})
function setshoucang() {
var count = MContent_cgfk_list.setshoucang().value;
if (count > 0) {
alert("加入成功");
} else {
alert("未知原因失败");
}
}
function printdj() {
var url = "../Common/cgfk_dy.aspx";
window.open(url, '采购付款打印', 'height=650,width=1100,top=0,left=100,toolbar=yes,menubar=no,scrollbars=yes, resizable=no,location=no, status=no')
}
</script>
<script src="../Js/common.js" type="text/javascript"></script>
</head>
<body>
<form id="form1" runat="server">
<div class="right-top">
<table width="100%" height="100%">
<tr>
<td >
<div class="right-top-dh" id="div_listdaohang">
当前位置:<a href='../Main/cwgn.aspx'>财务管理</a>>采购付款
</div>
</td>
<td >
<div class="right-top-an">
<ul id="ul_gongju" class="ulgongju" style="width:700px">
<li runat="server" id="sousuo"><img src="../Images_Folder/search.png" onclick="gjzk('search')" title="查询" /></li>
<li runat=server visible=false id="xiazai"><asp:ImageButton ID="btn_daochu" runat="server" Height="25" ImageUrl="../Images_Folder/down.png" ToolTip="导出" OnClick="DownLoad"/></li>
<li runat=server visible=false id="leiset"><img src="../Images_Folder/shezhi.png" id="li_liepeizhi" title="列配置" /></li>
<li runat=server id="rileget"><img src="../Images_Folder/rili.png" onclick="gjzk('rili')" title="日历" /></li>
<li runat=server id="li1"><img src="../Images_Folder/shoucang.png" onclick="setshoucang()" title="加入定位" id="dwscan" /></li>
<li style=" width:80px"><asp:DropDownList ID="drp_zt" CssClass="drpdownstyle" runat="server" ToolTip="状态"><asp:ListItem Value="" Text="全部"></asp:ListItem><asp:ListItem Value="已确认" Text="已确认"></asp:ListItem><asp:ListItem Value="待确认" Text="待确认"></asp:ListItem></asp:DropDownList> </li>
<li style=" width:80px" runat=server visible=false id="li_add" >
<asp:button id="bt_tj" Visible=false runat="server" Width="80" CssClass="button bluez small" Text="增加采购付款"
onclick="bt_tj_Click" ></asp:button></li>
<li><input type=button id="dayin" runat=server style="width:88px" class="button bluez small" value="打印单据" visible=false onclick="printdj()" /></li>
</ul>
</div>
</td>
<td >
<div id="div_page" >
<table id="tbl_pagebottom" height="20" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td>共<span id="span_sumitem"></span>条数据</td>
<td class="pagestyle" id="td_first" title="首页">
<img src="../Images_Folder/pagination_icons_01.png" width="16" height="16" alt="">
</td>
<td class="pagestyle" id="td_up" title="上一页">
<img src="../Images_Folder/pagination_icons_02.png" width="16" height="16" alt="">
</td>
<td><span>第</span></td>
<td>
<span><input id="txt_nowpage" type="text" class="ui-pg-input" value="1"/></span>
</td>
<td><span>页/共</span></td>
<td ><span id="span_sumpage" ></span>页</td>
<td class="pagestyle" id="td_next" title="下一页">
<img src="../Images_Folder/pagination_icons_03.png" width="16" height="16" alt="">
</td>
<td class="pagestyle" id="td_endpage" title="尾页">
<img src="../Images_Folder/pagination_icons_04.png" width="16" height="16" alt="">
</td>
<td class="pagestyle" id="td_go" title="跳页"><img src="../Images_Folder/ty.png" style="margin-top:5px" width="16" height="16" alt=""></td>
<td title="显示条数">
<span>
<select id="drp_pageitem">
<option value="20">20</option>
<option value="30">30</option>
<option value="40">40</option>
<option value="50">50</option>
</select>
</span>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<%-- 工具箱--%>
<div id="Gjx" class="Gjxzhu">
<table width="100%" height="100%">
<tr height="80px">
<td >
<div id="gjxnr" class="right-gjxnr">
</div>
</td>
</tr>
</table>
</div>
<%-- 数据表头--%>
<div class="shujutou" id="div_title">
<table border="0" class="tbl_titie" id="biaotou">
<tr class="tr_titile" id="tr_biaotou">
</tr>
</table>
</div>
<%-- 数据列表--%>
<div class="shuju" id="t_r_content" onscroll="scrolltow()" >
<table class="hovertable" id="tbl_list">
</table>
</div>
<%--数据汇总--%>
<div id="div_huizong" onscroll="listscroll()">
<table border="0" id="huizong" >
<tr class="tr_bottom">
<td style=" width:20px;"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td style=" width:20px;"></td>
</tr>
</table>
</div>
<%--列配置--%>
<div id="dialog-modal" title="列配置" style="overflow:hidden; display:none;" >
<table style="width:90%">
<tr style='background:#6f95bd'> <td style="width:30%">顺序</td> <td style="width:30%">列名</td> <td style="width:35%">显示</td> </tr>
</table>
<div style="width:90%;float:left;overflow-x: hidden;overflow-y: scroll;height:125px">
<table style="width:100%" id="tbl_peizhi">
</table>
</div>
<div style="width:10%;height:150px;float:left;">
<ul style="margin-top:20px">
<li>
<img src="../Images_Folder/top.jpg" id="btn_up" style="width:25px;"/>
</li>
<li>
<img src="../Images_Folder/down.jpg" id="btn_down" style="width:25px;"/>
</li>
</ul>
</div>
</div>
<asp:HiddenField ID="hiddenid" runat=server />
<asp:HiddenField ID="Hiddenname" runat=server />
<input type=hidden id="pagename" value="cgfk" />
<asp:HiddenField ID="selectid" runat=server />
<asp:HiddenField ID="strwhere" runat=server />
<asp:HiddenField ID="hiddenhuizong" runat="server" Value="付款金额,发票金额,抹账金额" />
<script src="../Js/messageshow.js" type="text/javascript"></script>
</form>
</body>
</html>