87 lines
3.4 KiB
Plaintext
87 lines
3.4 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="gysfk_dy.aspx.cs" Inherits="Common_gysfk_dy" %>
|
|
|
|
<!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>
|
|
<script src="../Jquery-ui/js/jquery-1.10.2.js" type="text/javascript"></script>
|
|
<script type="text/javascript"></script>
|
|
<script src="../Js/jquery-1.4.1.js" type="text/javascript"></script>
|
|
<link href="../Css/index.css" rel="stylesheet" type="text/css" />
|
|
<link href="../Css/djdy.css" rel="stylesheet" type="text/css" />
|
|
<script type="text/javascript">
|
|
$(document).ready(function () {
|
|
var idzu = [];
|
|
window.opener.$(".xz:checked").each(function () {
|
|
idzu.push($(this).parent().parent().attr("tag"));
|
|
})
|
|
var xinxi = Common_gysfk_dy.getxinxi(idzu).value;
|
|
$("#tbl_xm").append(xinxi[0]);
|
|
$("#mingcheng").html(xinxi[1]);
|
|
var sumje = 0;
|
|
$('.je').each(function () {
|
|
sumje += parseFloat($(this).html());
|
|
})
|
|
$("#span_sumje").html('¥' + sumje);
|
|
var dxzjes = Common_gysfk_dy.hsdx(sumje).value;
|
|
$("#dxje").html(dxzjes);
|
|
});
|
|
function dy() {
|
|
window.print();
|
|
|
|
}
|
|
</script>
|
|
<style type="text/css" media="print">
|
|
.noprint { display:none;}
|
|
</style>
|
|
</head>
|
|
<body style="text-align:center;overflow-x:hidden">
|
|
<form id="form1" runat="server">
|
|
<div>
|
|
<table class="kongdy" style=" border-width:0px;margin:0 auto" >
|
|
<tr height="20"><td>  </td></tr>
|
|
<tr><td style="width: 13%"><img runat=server id='img_logo' src="" style="height: 50px;width: 230px" /> </td> <td class="btzy" ><%=userinfo%>外协付款单</td><td><input type=button value="打印" onclick="dy()" class="noprint ui-btn" id='btn_dy'/></td> </tr>
|
|
</table>
|
|
<table id="mytab" border="0" style=" width:1000px" >
|
|
<tr>
|
|
<td colspan=2>
|
|
|
|
<table id='tbl_xm' border='1' class="buledy" style="width:100%; margin-top:1px; ">
|
|
<tr>
|
|
<td class="head6" width='160'>外协单位</td><td class="content" colspan="3" ><span id="mingcheng"></span> </td>
|
|
<td class="head2">日期</td><td colspan="3" class="content" ><asp:Label id="dyrq" runat="server" ></asp:Label></td>
|
|
</tr>
|
|
<tr>
|
|
<td class='head6' width='160'>付款人</td>
|
|
<td class='head3' >经手人</td>
|
|
<td class='head3' >付款金额</td>
|
|
<td class='head3' >付款方式</td>
|
|
<td class='head3' >发票金额</td>
|
|
<td class='head3' >付款日期</td>
|
|
<td class='head3' >备注</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<table width="100%;" class="buledy">
|
|
<tr>
|
|
<td class="head2">收款合计</td><td class="content"><span id="span_sumje"></span> </td>
|
|
<td class="head2">收款大写</td><td class="content"><span id="dxje"></span> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr><td colspan="2"><table class="kongdy" style=" border-width:0px;margin:0 auto" >
|
|
<tr ><td class="zitidywk"> 制单人:</td><td> </td><td class="zitidywk"> 审核人:</td><td> </td></tr>
|
|
</table></td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|