84 lines
3.3 KiB
Plaintext
84 lines
3.3 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="khyck_dy.aspx.cs" Inherits="Common_khyck_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 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_khyck_dy.getxinxi(idzu).value;
|
|
$("#tbl_xm").append(xinxi[0]);
|
|
$("#khmc").html(xinxi[1]);
|
|
var sumje = 0;
|
|
$('.je').each(function () {
|
|
sumje += parseFloat($(this).text());
|
|
})
|
|
$("#span_sumje").html('¥' + sumje);
|
|
var dxzjes = Common_khyck_dy.hsdx(sumje).value;
|
|
$("#dxje").html(dxzjes);
|
|
});
|
|
function dy() {
|
|
window.print();
|
|
}
|
|
</script>
|
|
<style type="text/css" media="print">
|
|
.noprint { display:none;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<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: 16%"></td><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="khmc"></span> </td>
|
|
<td class="head8" width="150">日期</td><td colspan="3" class="content" ><asp:Label id="dyrq" runat="server" ></asp:Label></td>
|
|
</tr>
|
|
<tr>
|
|
<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>
|