You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1024 lines
46 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChCheckInfo.aspx.cs" Inherits="DSWeb.Shipping.ChCheckInfo" %>
<!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 id="Head1" runat="server">
<title>银行支票打印信息</title>
<link href="../theme/tab.css" type="text/css" rel="stylesheet" />
<script src="../js/m97date/wdatepicker.js" type="text/javascript"></script>
<link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
<!--自定义下拉框-->
<link href="../theme/style.css" type="text/css" rel="Stylesheet" media="screen"/>
<link href="../theme/dhtmlxcombo.css" type="text/css" rel="Stylesheet" media="screen"/>
<script type="text/javascript" src="../js/dhtmlxcommon.js"></script>
<script type="text/javascript" src="../js/dhtmlxcombo.js"></script>
<script type="text/javascript" src="../js/dhtmlxcombo_whp.js"></script>
<script type="text/javascript">
window.dhx_globalImgPath="../images/";
</script>
<!--页面重新加载-->
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
<script type="text/javascript">
var comboCUSTOMERNAME;//委托单位
var comboCURRENCY;//币别
var comboPAYBANK;//付款行
function $(id)
{
return document.getElementById(id);
}
function initComboCUSTOMERNAME()//委托单位
{
comboCUSTOMERNAME = dhtmlXComboFromSelect("ddlCUSTOMERNAME");
comboCUSTOMERNAME.loadXML("../FeeCodes/WebCrmClientAdapter.aspx?mask=0&pos=0&strIS=ISCONTROLLER");
}
function initComboCUSTOMERNAME2()//委托单位
{
if($("isEnabled").value=="1")
{
comboCUSTOMERNAME.disable(true);
}
else
{
comboCUSTOMERNAME.disable(false);
}
//
comboCUSTOMERNAME.attachEvent("onChange", function()
{
comboCUSTOMERNAME.setComboText($("hd_comboCUSTOMERNAME").value);
});
comboCUSTOMERNAME.attachEvent("onBlur", function(){
var s1 = comboCUSTOMERNAME.getComboText();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboCUSTOMERNAME").value="";
comboCUSTOMERNAME.setComboText($("hd_comboCUSTOMERNAME").value);
//
$("hd_comboCUSTOMERCODE").value = "";
//
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboCUSTOMERNAME.setComboText(s3);
$("hd_comboCUSTOMERNAME").value=s3;
}
else
{
comboCUSTOMERNAME.setComboText($("hd_comboCUSTOMERNAME").value);
}
//
$("hd_comboCUSTOMERCODE").value = comboCUSTOMERNAME.getSelectedValue();
//
}
getCURRENCY();
});
comboCUSTOMERNAME.setComboText($("hd_comboCUSTOMERNAME").value);
comboCUSTOMERNAME.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboCUSTOMERNAME").value;
if("" != comboCUSTOMERNAME.getComboText())
{
while("undefined" != typeof comboCUSTOMERNAME.getOptionByIndex(filterCount))
{
var comboValue = comboCUSTOMERNAME.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboCUSTOMERNAME.getComboText().toUpperCase();
$("hd_comboCUSTOMERNAME").value = comboCUSTOMERNAME.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboCUSTOMERNAME.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboCUSTOMERNAME").value = ishd;
alert("无此内容,请重新选择!");
}
}
},10);
}
});
comboCUSTOMERNAME.attachEvent("onSelectionChange", function()
{
$("hd_comboCUSTOMERNAME").value = comboCUSTOMERNAME.getComboText();
});
}
function initComboCURRENCY()//币别
{
comboCURRENCY = dhtmlXComboFromSelect("ddlCURRENCY");
comboCURRENCY.loadXML("../FeeCodes/CURRENCYIDAdapter.aspx?mask=0&pos=0");
}
function initComboCURRENCY2()//币别
{
if($("isEnabled").value=="1")
{
comboCURRENCY.disable(true);
}
else
{
comboCURRENCY.disable(false);
}
//
comboCURRENCY.attachEvent("onChange", function()
{
comboCURRENCY.setComboText($("hd_comboCURRENCY").value);
});
comboCURRENCY.attachEvent("onBlur", function(){
var s1 = comboCURRENCY.getComboText();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboCURRENCY").value="";
comboCUSTOMERNAME.setComboText($("hd_comboCURRENCY").value);
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboCURRENCY.setComboText(s3);
$("hd_comboCURRENCY").value=s3;
}
else
{
comboCURRENCY.setComboText($("hd_comboCURRENCY").value);
}
//
$("hd_comboCURRENCY").value = comboCURRENCY.getSelectedValue();
//
}
});
comboCURRENCY.setComboText($("hd_comboCURRENCY").value);
comboCURRENCY.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboCURRENCY").value;
if("" != comboCURRENCY.getComboText())
{
while("undefined" != typeof comboCURRENCY.getOptionByIndex(filterCount))
{
var comboValue = comboCURRENCY.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboCURRENCY.getComboText().toUpperCase();
$("hd_comboCURRENCY").value = comboCURRENCY.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboCURRENCY.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboCURRENCY").value = ishd;
alert("无此内容,请重新选择!");
}
}
},10);
}
});
comboCURRENCY.attachEvent("onSelectionChange", function()
{
$("hd_comboCURRENCY").value = comboCURRENCY.getComboText();
//
getDX();
//
$("tbPAYBANKACCOUNT").value = "";
$("hd_comboPAYBANK").value = "";
initComboPAYBANK2();
//
getCURRENCY();
});
}
function initComboPAYBANK()//付款行
{
comboPAYBANK = dhtmlXComboFromSelect("ddlPAYBANK");
comboPAYBANK.loadXML("../FeeCodes/SysBankAdapter.aspx?mask=0&pos=0&strIS="+$("hd_comboCURRENCY").value);
}
function initComboPAYBANK2()//付款行
{
if($("isEnabled").value=="1")
{
comboPAYBANK.disable(true);
}
else
{
comboPAYBANK.disable(false);
}
//
comboPAYBANK.loadXML("../FeeCodes/SysBankAdapter.aspx?mask=0&pos=0&strIS="+$("hd_comboCURRENCY").value);
comboPAYBANK.attachEvent("onBlur", function(){
var s1 = comboPAYBANK.getComboText();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboPAYBANK").value="";
comboPAYBANK.setComboText($("hd_comboPAYBANK").value);
}
else
{
if(s2>0)
{
s2=s2+2;
}
else
{
$("hd_comboPAYBANK").value=comboPAYBANK.getComboText();
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboPAYBANK.setComboText(s3);
$("hd_comboPAYBANK").value=s3;
}
else
{
$("hd_comboPAYBANK").value=comboPAYBANK.getComboText();
}
}
//
var loader = dhtmlxAjax.getSync("../FeeCodes/PAYBANKACCOUNTAdapter.aspx?BANKNAME="+escape($("hd_comboPAYBANK").value)+"&CURRENCY="+escape($("hd_comboCURRENCY").value)+"&val="+newGuid());
$("tbPAYBANKACCOUNT").value = loader.xmlDoc.responseText;
});
comboPAYBANK.setComboText($("hd_comboPAYBANK").value);
comboPAYBANK.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboPAYBANK").value;
if("" != comboPAYBANK.getComboText())
{
while("undefined" != typeof comboPAYBANK.getOptionByIndex(filterCount))
{
var comboValue = comboPAYBANK.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboPAYBANK.getComboText().toUpperCase();
$("hd_comboPAYBANK").value = comboPAYBANK.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboPAYBANK.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
}
},10);
}
});
comboPAYBANK.attachEvent("onSelectionChange", function()
{
$("hd_comboPAYBANK").value = comboPAYBANK.getComboText();
});
}
function getCURRENCY()
{
//
$("tbCHEQUECUSTNAME").value = "";
$("tbPAYEEBANK").value = "";
$("tbPAYEEBANKACCOUNT").value = "";
$("tbPAYEEADR").value = "";
var loader = dhtmlxAjax.getSync("../FeeCodes/CLIENTCURRENCYIDAdapter.aspx?CUSTOMERNAME="+escape($("hd_comboCUSTOMERNAME").value)+"&CURRENCY="+$("hd_comboCURRENCY").value+"&val="+newGuid());
loader = loader.xmlDoc.responseText;
if(loader!="")
{
var arrtmp=loader.split("&&");//将各参数分离形成参数数组
if(arrtmp.length>0)
{
$("tbCHEQUECUSTNAME").value = arrtmp[0];
$("tbPAYEEBANK").value = arrtmp[1];
$("tbPAYEEBANKACCOUNT").value = arrtmp[2];
$("tbPAYEEADR").value = arrtmp[3];
}
}
//
}
</script>
<script type="text/javascript">
//将日期转换成大写格式
function ConverToDate()
{
//var date = new Date(Date.parse($("tbCHEQUEMAKETIME").value));
//var y = date.getFullYear().toString();
//var m = date.getMonth().toString();
//var d = date.getDate().toString();
var date = $("tbCHEQUEMAKETIME").value;
if(date!="")
{
var n = date.indexOf("-");
var k = date.lastIndexOf("-");
var y = date.substr(0,4);
var m = date.substr(n+1,k-n-1);
var d = date.substr(k+1);
var chinese = ['零','壹','贰','叁','肆','伍','陆','柒','捌','玖'];
var result = "";
for (var i = 0; i < y.length; i++)
{
result += chinese[y.charAt(i)];
}
result += "年";
if (m.length == 2)
{
if (m.charAt(0) == "1")
{
if(m.charAt(1) == "0")
{
result += ("零" + chinese[m.charAt(0)] + "拾月");
}
else
{
result += (chinese[m.charAt(0)] + "拾" + chinese[m.charAt(1)] + "月");
}
}
}
else
{
result += ("零" + chinese[m.charAt(0)] + "月");
}
if (d.length == 2)
{
if (d.charAt(0) != "0")
{
if(d.charAt(1) == "0")
{
result += ("零" + chinese[d.charAt(0)] + "拾日");
}
else
{
result += (chinese[d.charAt(0)] + "拾" + chinese[d.charAt(1)] + "日");
}
}
else
{
result += ("零" + chinese[d.charAt(1)] + "日");
}
}
else
{
result += ("零" + chinese[d.charAt(1)] + "日");
}
$("tbMAKETIMEUPPER").value=result;
$("hd_tbMAKETIMEUPPER").value=result;
}
//return result;
}
//到亿位的金额小写转大写
function getDX()
{
var n= $("tbCHEQUEAMOUNT").value;
var strOutput = "";
var strUnit = '千百拾亿千百拾万千百拾元角分';
n += "00";
var intPos = n.indexOf('.');
if (intPos >= 0)
n = n.substring(0, intPos) + n.substr(intPos + 1, 2);
strUnit = strUnit.substr(strUnit.length - n.length);
for (var i=0; i < n.length; i++)
{
strOutput += '零壹贰叁肆伍陆柒捌玖'.substr(n.substr(i,1),1) + strUnit.substr(i,1);
}
//
var loader = dhtmlxAjax.getSync("../FeeCodes/CURRENCYDESCRIPTIONAdapter.aspx?CODENAME="+$("hd_comboCURRENCY").value+"&val="+newGuid());
loader=loader.xmlDoc.responseText;
//
if(strOutput.indexOf("零角零分")>0)
{
strOutput=strOutput.replace("零角零分","");
$("tbCHEQUEAMOUNTUPPER").value = loader+strOutput+"整";
$("hd_tbCHEQUEAMOUNTUPPER").value = loader+strOutput+"整";
}
else
{
if(loader=="美元")
{
var ijiao = strOutput.indexOf("角")
var ifen = strOutput.indexOf("分")
if(strOutput.substr(ijiao-1,1) != "零")
{
strOutput=strOutput.substr(0,ijiao)+"拾"+strOutput.substr(ijiao);
ifen=ifen+1;
}
if(strOutput.substr(ifen-1,1) == "零")
{
strOutput=strOutput.substr(0,ifen-1)+"分";
}
strOutput=strOutput.replace("角","");
strOutput=strOutput.replace("分","美分");
}
$("tbCHEQUEAMOUNTUPPER").value = loader+strOutput;
$("hd_tbCHEQUEAMOUNTUPPER").value = loader+strOutput;
}
//
if(loader=="美元")
{
$("tbUNIT").value="";
$("hd_tbUNIT").value="";
}
else
{
$("tbUNIT").value="¥";
$("hd_tbUNIT").value="¥";
}
//
$("tbf").value = "0";//分
$("tbj").value = "0";//角
$("tby").value = "";//元
$("tbs").value = "";//十
$("tbb").value = "";//百
$("tbq").value = "";//千
$("tbw").value = "";//万
$("tbsw").value = "";//十万
$("tbbw").value = "";//百万
$("tbqw").value = "";//千万
var ni=$("tbCHEQUEAMOUNT").value.toString();
var nk="00";
if(intPos>0)
{
nk = ni.toString().substr(intPos+1);
ni = ni.toString().substr(0,intPos);
}
var nl=ni.toString().length;
for(var i=0;i<nl;i++)
{
if(i==0)
{
$("tby").value = ni.toString().substr(nl-i-1,1);//元
}
else if(i==1)
{
$("tbs").value = ni.toString().substr(nl-i-1,1);//十
}
else if(i==2)
{
$("tbb").value = ni.toString().substr(nl-i-1,1);//百
}
else if(i==3)
{
$("tbq").value = ni.toString().substr(nl-i-1,1);//千
}
else if(i==4)
{
$("tbw").value = ni.toString().substr(nl-i-1,1);//万
}
else if(i==5)
{
$("tbsw").value = ni.toString().substr(nl-i-1,1);//十万
}
else if(i==6)
{
$("tbbw").value = ni.toString().substr(nl-i-1,1);//百万
}
else if(i==7)
{
$("tbqw").value = ni.toString().substr(nl-i-1,1);//千万
}
}
nl=nk.toString().length;
for(var i=0;i<nl;i++)
{
if(i==0)
{
$("tbj").value = nk.toString().substr(i,1);//角
}
else if(i==1)
{
$("tbf").value = nk.toString().substr(i,1);//分
}
}
//
$("hd_tbf").value = $("tbf").value;//分
$("hd_tbj").value = $("tbj").value;//角
$("hd_tby").value = $("tby").value;//元
$("hd_tbs").value = $("tbs").value;//十
$("hd_tbb").value = $("tbb").value;//百
$("hd_tbq").value = $("tbq").value;//千
$("hd_tbw").value = $("tbw").value;//万
$("hd_tbsw").value = $("tbsw").value;//十万
$("hd_tbbw").value = $("tbbw").value;//百万
$("hd_tbqw").value = $("tbqw").value;//千万
/*
tbqw;//千万
tbbw;//百万
tbsw;//十万
tbw;//万
tbq;//千
tbb;//百
tbs;//十
tby;//元
tbj;//角
tbf;//分
*/
}
function regInput(obj, reg, inputStr)
{
var docSel = document.selection.createRange();
if (docSel.parentElement().tagName != "INPUT") return false;
oSel = docSel.duplicate();
oSel.text = "";
var srcRange = obj.createTextRange();
oSel.setEndPoint("StartToStart", srcRange);
var str = oSel.text + inputStr + srcRange.text.substr(oSel.text.length);
return reg.test(str);
}
function setEnter()
{
var sdecimal = ($("tbCHEQUEAMOUNT").value);
if (sdecimal<= 0)
{
alert("开票金额必须大于0");
return;
}
$("hdEnter").value="0";
msgBox();
setTimeout(postEnterOpStatusList,200);
}
//post数据
function postEnterOpStatusList()
{
var myForm = document.getElementById("form1");
myForm.submit() ;
}
function printAction()
{
var strBSNO = "";
strBSNO = $("hdGid").value;
var printUrl = "";
var companyID = "";
var typeName = "SEAEBILLOFLADING";
var dbSourceID = "";
var userID = "";
var url = "../Reports/ReportService.aspx?handle=printseaebilloflading&bsno="+strBSNO+"&val="+newGuid();
var loader = dhtmlxAjax.getSync(url);
var reportVal = loader.xmlDoc.responseText;
var reportObj = null;
if(reportVal != "")
{
reportObj = eval('(' + reportVal + ')');
if(reportObj.reports.length > 0)
{
if(reportObj.reports[0].compid != ""){
companyID = reportObj.reports[0].compid;
}
if(reportObj.reports[0].sourceid != ""){
dbSourceID = reportObj.reports[0].sourceid;
}
if(reportObj.reports[0].compid != ""){
userID = reportObj.reports[0].userid;
}
printUrl = "print://?comp="+companyID+"&type="+typeName+"&dbid="+dbSourceID+"&uid="+userID;//alert(printUrl);
window.location.href = window.location.href;
location.href = printUrl;
}
//
}
else
{
alert("没有要打印的报表");
return;
}
}
function ShowDetailDel()
{
if(confirm('确定要废除此支票吗?'))
{
$("hdEnter").value="";
var URLs = "ChCheckInfoRepeal.aspx?GID="+$("hdGid").value;
ret = window.open(URLs,"_blank", "height=200, width=350, toolbar=no, menubar=no,scrollbars=yes, resizable=1,location=no, status=no,Top= " +(screen.height/2-100) + ",Left= "+(screen.width/2-200));
}
}
function newGuid(){
var guid = "";
for (var i = 1; i <= 32; i++){
var n = Math.floor(Math.random()*16.0).toString(16);
guid += n;
if((i==8)||(i==12)||(i==16)||(i==20))
guid += "-";
}
return guid.toUpperCase();
}
function imgDelChangePic()
{
var pic1=document.getElementById("imgDel");
var start=pic1.src.lastIndexOf("/");
var str=pic1.src.substring(start+1);
if(str=="remove.gif")
{
pic1.src="../images/delete.gif";
//pic1.alt="我是B图片";
}
else if(str=="delete.gif")
{
pic1.src="../images/icons/remove.gif";
//pic1.alt="我是A图片";
}
}
//回车键控制
document.onkeypress=function()
{
if(event.keyCode==13)
{
if(event.srcElement.tagName== 'TEXTAREA')
{
return true;
}
//window.event.keyCode=9;
return false;
}
}
</script>
<!--蒙板-->
<script type="text/javascript">
function dialog()
{
this.width=450;
this.height=360;
this.title_height=20;
this.html='';
this.title='';
var self = this;
var bgObj,msgObj,titleObj;
this.close=function()
{
document.body.removeChild(document.getElementById("bgDiv"));
document.getElementById("msgDiv").removeChild(document.getElementById("msgTitle"));
document.body.removeChild(document.getElementById("msgDiv"));
}
this.show=function()
{
var msgw,msgh,bordercolor;
msgw=self.width;
msgh=self.height;
bordercolor="#336699";
titlecolor="#99CCFF";
var sWidth,sHeight;
sWidth=document.body.offsetWidth;
sHeight=screen.height;
bgObj=document.createElement("div");
bgObj.setAttribute('id','bgDiv');
bgObj.style.position="absolute";
bgObj.style.top="0";
bgObj.style.background="#777";
bgObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";
bgObj.style.opacity="0.6";
bgObj.style.left="0";
bgObj.style.width=sWidth + "px";
bgObj.style.height=sHeight + "px";
bgObj.style.zIndex = "10000";
document.body.appendChild(bgObj);
msgObj=document.createElement("div")
msgObj.setAttribute("id","msgDiv");
msgObj.setAttribute("align","center");
msgObj.style.background="white";
msgObj.style.border="1px solid " + bordercolor;
msgObj.style.position = "absolute";
msgObj.style.left = "50%";
msgObj.style.top = "30%";
msgObj.style.font="10px/1.6em Verdana, Geneva, Arial, Helvetica, sans-serif";
msgObj.style.marginLeft = "-225px" ;
msgObj.style.marginTop = -75+document.documentElement.scrollTop+"px";
msgObj.style.width = msgw + "px";
msgObj.style.height =msgh + "px";
msgObj.style.textAlign = "center";
msgObj.style.lineHeight ="25px";
msgObj.style.zIndex = "10001";
titleObj=document.createElement("h4");
titleObj.setAttribute("id","msgTitle");
titleObj.setAttribute("align","center");
titleObj.style.margin="0";
titleObj.style.padding="3px";
titleObj.style.background=bordercolor;
titleObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(startX=20, startY=20, finishX=100, finishY=100,style=1,opacity=75,finishOpacity=100);";
titleObj.style.opacity="0.75";
titleObj.style.border="1px solid " + bordercolor;
titleObj.style.height=self.title_height+"px";
titleObj.style.font="10px Verdana, Geneva, Arial, Helvetica, sans-serif";
titleObj.style.color="white";
titleObj.style.cursor="pointer";
titleObj.innerHTML=self.title;
//titleObj.onclick=function(){self.close();}
document.body.appendChild(msgObj);
document.getElementById("msgDiv").appendChild(titleObj);
var txt=document.createElement("div");
txt.style.margin="1em 0"
txt.setAttribute("id","msgTxt");
txt.innerHTML=self.html;
document.getElementById("msgDiv").appendChild(txt);
}
}
function msgBox()
{
var dg=new dialog();
dg.html="程序正在提交,请稍等!";
//dg.html+="<input type=button onclick='new dialog().close();' value='确定'>";
dg.width=200;
dg.height=100;
dg.title="标题";
}
</script>
<!--背景条-->
<style type="text/css">
.btn-content0{
width:100%;
height:30px;
background:url("../images/content-header.gif");
cursor:default;
}
.style1
{
width: 120px;
}
</style>
</head>
<body onload="initComboCUSTOMERNAME2();initComboCURRENCY2();initComboPAYBANK2();getCURRENCY();ConverToDate();getDX();" style="background-color: #ECF2FF">
<form id="form1" runat="server" style="background-color: #ECF2FF">
<div style="width:100%;vertical-align:text-bottom;background-color: #ECF2FF" class="btn-content0">
<div class="btn-blank"></div>
<div class="xbtn-img">
<div class="btnimg"><img id="ibEnter" runat=server src="../images/icons/save.gif" style="width:16px;" title="保存修改" onclick="setEnter();"/></div>
</div>
<div class="xbtn-img">
<div class="btnimg"><img id="ibPrint" runat=server src="../images/icons/print.gif" style="width:16px;" title="打印" onclick="printAction()"/></div>
</div>
<div class="xbtn-img">
<img id="imgDel" runat=server src="../images/icons/remove.gif" onclick="ShowDetailDel();" class="btnimg" alt="废除" onmouseover="imgDelChangePic();" onMouseOut="imgDelChangePic();"/>
</div>
</div>
<div class="TabContent" style="float:left; width:780px;background-color: #ECF2FF">
<table width=780px style="background-color: #ECF2FF">
<tr>
<td></td>
<td class="style1">
<asp:Label Width=80px ID="Label5" runat="server" Text="客户名称" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlCUSTOMERNAME" runat=server style="width:152px;Height:18px;" CssClass="txtTab5"></select>
</td>
<td></td>
<td class="style1"></td>
<td>
<asp:CheckBox ID="cbISPRINT" runat="server" Text="是否打印" Enabled=false CssClass="cssfont" />
<asp:CheckBox ID="cbISDELETE" runat="server" Text="是否废除" Enabled=false CssClass="cssfont" />
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label2" runat="server" Text="废除原因" CssClass="cssfont"></asp:Label></td>
<td>
<asp:Label ID="lbDELETECAUSE" runat="server" Text="" CssClass="txtTab4" BorderStyle="None"></asp:Label>
</td>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label1" runat="server" Text="废除人" CssClass="cssfont"></asp:Label></td>
<td>
<asp:Label ID="lbDELETEOPERATOR" runat="server" Text="" CssClass="txtTab4" BorderStyle="None"></asp:Label>
</td>
<td width=10px></td>
</tr>
<tr>
<td colspan=7 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label3" runat="server" Text="支票币别" CssClass="cssfont"></asp:Label></td>
<td>
<select id="ddlCURRENCY" runat=server style="width:152px;Height:18px;" CssClass="txtTab5"></select>
</td>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label4" runat="server" Text="支票类型" CssClass="cssfont"></asp:Label></td>
<td>
<asp:DropDownList ID="ddlCHEQUETYPE" runat="server" Width=152px CssClass="txtTab5" Height=22px>
<asp:ListItem Value="2" Selected="True">转帐支票</asp:ListItem>
<asp:ListItem Value="1">现金支票</asp:ListItem>
</asp:DropDownList>
</td>
<td width=10px>
</td>
</tr>
<tr>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label6" runat="server" Text="出票日期" CssClass="cssfont"></asp:Label></td>
<td>
<asp:TextBox ID="tbCHEQUEMAKETIME" runat="server" CssClass="txtTab4" MaxLength="60" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" Enabled=false></asp:TextBox>
</td>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label7" runat="server" Text="支票金额" CssClass="cssfont"></asp:Label></td>
<td>
<asp:TextBox ID="tbCHEQUEAMOUNT" runat="server" CssClass="txtTab4" MaxLength="11" Text="0.00" onkeypress="return regInput(this,/^\d*\.?\d{0,2}$/,String.fromCharCode(event.keyCode))" onpaste="return regInput(this,/^\d*\.?\d{0,2}$/,window.clipboardData.getData('Text'))" ondrop="return regInput(this,/^\d*\.?\d{0,2}$/,event.dataTransfer.getData('Text'))" onblur="getDX();"></asp:TextBox>
</td>
<td width=10px></td>
</tr>
<tr>
<td colspan=7 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label11" runat="server" Text="支票号码" CssClass="cssfont"></asp:Label></td>
<td>
<asp:TextBox ID="tbCHEQUENO" runat="server" CssClass="txtTab4" MaxLength="200" Enabled=false></asp:TextBox>
</td>
<td width=10px></td>
</tr>
<tr>
<br />
<td colspan=7 align="center" height="10" style="font-weight: bold; font-size:24px;" class="cssfont">银行支票打印系统</td>
<br />
</tr>
<tr>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label9" runat="server" Text="时间大写" CssClass="cssfont"></asp:Label></td>
<td>
<input id="tbMAKETIMEUPPER" type="text" runat="server" class="txtTab10" maxlength="50" style="border-color:#6699CC;" disabled=disabled onfocus="ConverToDate();"/>
</td>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label12" runat="server" Text="付款行名称" CssClass="cssfont"></asp:Label></td>
<td>
<select id="ddlPAYBANK" runat=server style="width:152px;Height:18px;" CssClass="txtTab5"></select>
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label10" runat="server" Text="收款单位" CssClass="cssfont"></asp:Label></td>
<td>
<asp:TextBox ID="tbCHEQUECUSTNAME" runat="server" CssClass="txtTab10" MaxLength="100"></asp:TextBox>
</td>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label13" runat="server" Text="付款行账号" CssClass="cssfont"></asp:Label></td>
<td>
<asp:TextBox ID="tbPAYBANKACCOUNT" runat="server" CssClass="txtTab4" MaxLength="100"></asp:TextBox>
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td colspan=5 align="center" height="10"><hr color="#96B3DD" style="border-top:dashed 1 #000000; border-top-style:dashed;border-top-width:1px;" /></td>
<td></td>
</tr>
<tr>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label14" runat="server" Text="金额大写" CssClass="cssfont"></asp:Label></td>
<td>
<asp:TextBox ID="tbCHEQUEAMOUNTUPPER" runat="server" CssClass="txtTab10" MaxLength="30" Text="元整" Enabled=false></asp:TextBox>
</td>
<td></td>
<td colspan=2>
<table>
<tr>
<td></td>
<td class="cssfont">千</td>
<td class="cssfont">百</td>
<td class="cssfont">十</td>
<td class="cssfont">万</td>
<td class="cssfont">千</td>
<td class="cssfont">百</td>
<td class="cssfont">十</td>
<td class="cssfont">元</td>
<td class="cssfont">角</td>
<td class="cssfont">分</td>
</tr>
<tr>
<td>
<asp:TextBox ID="tbUNIT" runat="server" Width=15px MaxLength=1 Enabled=false CssClass="cssfont"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="tbqw" runat="server" Width=8px MaxLength=1 Enabled=false CssClass="cssfont"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="tbbw" runat="server" Width=8px MaxLength=1 Enabled=false CssClass="cssfont"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="tbsw" runat="server" Width=8px MaxLength=1 Enabled=false CssClass="cssfont"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="tbw" runat="server" Width=8px MaxLength=1 Enabled=false CssClass="cssfont"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="tbq" runat="server" Width=8px MaxLength=1 Enabled=false CssClass="cssfont"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="tbb" runat="server" Width=8px MaxLength=1 Enabled=false CssClass="cssfont"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="tbs" runat="server" Width=8px MaxLength=1 Enabled=false CssClass="cssfont"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="tby" runat="server" Width=8px MaxLength=1 Text="0" Enabled=false CssClass="cssfont"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="tbj" runat="server" Width=8px MaxLength=1 Text="0" Enabled=false CssClass="cssfont"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="tbf" runat="server" Width=8px MaxLength=1 Text="0" Enabled=false CssClass="cssfont"></asp:TextBox>
</td>
</tr>
</table>
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td colspan=5 align="center" height="10"><hr color="#96B3DD" style="border-top:dashed 1 #000000; border-top-style:dashed;border-top-width:1px;" /></td>
<td></td>
</tr>
<tr>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label15" runat="server" Text="用途" CssClass="cssfont"></asp:Label></td>
<td>
<asp:TextBox ID="tbPURPOSE" runat="server" CssClass="txtTab10" MaxLength="100"></asp:TextBox>
</td>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label16" runat="server" Text="密码" CssClass="cssfont"></asp:Label></td>
<td>
<asp:TextBox ID="tbPASSWORD" runat="server" CssClass="txtTab4" MaxLength="30"></asp:TextBox>
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td colspan=5 align="center" height="10"><hr color="#96B3DD" style="border-top:dashed 1 #000000; border-top-style:dashed;border-top-width:1px;" /></td>
<td></td>
</tr>
<tr>
<br />
<td></td>
<td colspan=5 style="font-weight: bold" class="cssfont">收款人信息</td>
<td></td>
</tr>
<tr>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label18" runat="server" Text="收款单位银行" CssClass="cssfont"></asp:Label></td>
<td>
<asp:TextBox ID="tbPAYEEBANK" runat="server" CssClass="txtTab10" MaxLength="30"></asp:TextBox>
</td>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label19" runat="server" Text="收款单位账号" CssClass="cssfont"></asp:Label></td>
<td>
<asp:TextBox ID="tbPAYEEBANKACCOUNT" runat="server" CssClass="txtTab4" MaxLength="30"></asp:TextBox>
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td class="style1"><asp:Label Width=80px ID="Label20" runat="server" Text="收款单位地址" CssClass="cssfont"></asp:Label></td>
<td>
<asp:TextBox ID="tbPAYEEADR" runat="server" CssClass="txtTab10" MaxLength="30"></asp:TextBox>
</td>
</tr>
</table>
</div>
<div style="width:100%;background-color: #ECF2FF">
<input type="hidden" id="hdGid" runat="server"/>
<input type="hidden" id="hdUserID" runat="server"/>
<input type="hidden" id="hd_comboCUSTOMERCODE" runat="server"/>
<input type="hidden" id="hd_comboCUSTOMERNAME" runat="server"/>
<input type="hidden" id="hd_comboCURRENCY" runat="server"/>
<input type="hidden" id="hd_comboPAYBANK" runat="server"/>
<input type="hidden" id="isEnabled" runat="server"/>
<input type="hidden" id="hdEnter" runat="server"/>
<input type="hidden" id="hd_tbMAKETIMEUPPER" runat="server"/>
<input type="hidden" id="hd_tbCHEQUEAMOUNTUPPER" runat="server"/>
<input type="hidden" id="hd_tbUNIT" runat="server"/>
<input type="hidden" id="hd_tbqw" runat="server"/>
<input type="hidden" id="hd_tbbw" runat="server"/>
<input type="hidden" id="hd_tbsw" runat="server"/>
<input type="hidden" id="hd_tbw" runat="server"/>
<input type="hidden" id="hd_tbq" runat="server"/>
<input type="hidden" id="hd_tbb" runat="server"/>
<input type="hidden" id="hd_tbs" runat="server"/>
<input type="hidden" id="hd_tby" runat="server"/>
<input type="hidden" id="hd_tbj" runat="server"/>
<input type="hidden" id="hd_tbf" runat="server"/>
</div>
</form>
</body>
</html>