<head>
<meta HTTP-EQUIV="Content-Type" content="text/html; charset=gb2312">
<OBJECT id="WebBrowser" height="0" width="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">
<PARAM NAME="ExtentX" VALUE="7938">
<PARAM NAME="ExtentY" VALUE="3969">
<PARAM NAME="ViewMode" VALUE="0">
<PARAM NAME="Offline" VALUE="0">
<PARAM NAME="Silent" VALUE="0">
<PARAM NAME="RegisterAsBrowser" VALUE="0">
<PARAM NAME="RegisterAsDropTarget" VALUE="1">
<PARAM NAME="AutoArrange" VALUE="0">
<PARAM NAME="NoClientEdge" VALUE="0">
<PARAM NAME="AlignLeft" VALUE="0">
<PARAM NAME="NoWebView" VALUE="0">
<PARAM NAME="HideFileNames" VALUE="0">
<PARAM NAME="SingleClick" VALUE="0">
<PARAM NAME="SingleSelection" VALUE="0">
<PARAM NAME="NoFolders" VALUE="0">
<PARAM NAME="Transparent" VALUE="0">
<PARAM NAME="ViewID" VALUE="{0057D0E0-3573-11CF-AE69-08002B2E1262}">
<PARAM NAME="Location" VALUE="">
</OBJECT>
<LINK href="/UI/Css/default.css" type="text/css" rel="stylesheet">
<style> @media print { .notprint { display:none; }}
@media screen { .notprint { display:inline; cursor:hand; }}
</style>
</head>
<body>
<div id="myhead" align="center">
<h3>武汉歌蒂诗服饰有限公司</h3>
<!--h4>采购单</h4-->
</div>
<div id="myprint"></div>
<div id="myfoot" align="center">
<table cellspacing="0" rules="all" bordercolor="#cccccc" border="1" id="dg_stork" style="BORDER-RIGHT:#cccccc 1px;BORDER-TOP:#cccccc 1px;BORDER-LEFT:#cccccc 1px;WIDTH:95%;BORDER-BOTTOM:#cccccc 1px;BORDER-COLLAPSE:collapse;BACKGROUND-COLOR:#f8f8f8">
<tr>
<td width="50" align="center">大写:</td>
<td width="30" align="center" height="30" id="wy">零</td>
<td width="50" align="center">万</td>
<td width="30" align="center" id="qy">
零</td>
<td width="50" align="center">仟</td>
<td width="30" align="center" id="by">零</td>
<td width="50" align="center">佰</td>
<td width="30" align="center" id="sy">零</td>
<td width="50" align="center">拾</td>
<td width="30" id="yy" align="center">零</td>
<td width="50" align="center">元</td>
<td width="30" align="center"></td>
<td width="50" align="center">合计:
</td>
<td width="50" id="result"></td>
</tr>
<tr>
<td width="50" height="30">收货人:</td>
<td width="30" colSpan="3"> </td>
<td width="50">发货人:</td>
<td width="30" colSpan="5"></td>
<td width="50">收款人:</td>
<td width="30" colSpan="3"></td>
</tr>
<tr>
<td width="50">备注:</td>
<td colSpan="13" height="50"></td>
</tr>
</table>
</div>
<script>
function window.onload(){
var printArea=opener.document.all.printArea;
window.document.getElementById("myprint").innerHTML=printArea.innerHTML;
window.focus();
//alert(getQueryString("id"));
var mymoney =getQueryString("id");
var mydx = DX(mymoney);
//alert(mydx);
writeTd(mydx);
window.document.getElementById("result").innerText =mymoney;
window.document.all.WebBrowser.ExecWB(7,1);
window.close();
}
function printsetup(){
// 打印页面设置
wb.execwb(8,1);
}
function printpreview(){
// 打印页面预览
wb.execwb(7,1);
}
//根据大写字串修改相应的记录
function writeTd(mydxstr)
{
var mywy=getallstr(mydxstr,"万");
//alert(mywy);
if (mywy!="")
{
window.document.getElementById("wy").innerText=mywy;
}
var myqy = getonestr(mydxstr,"千");
if (myqy!="")
{
window.document.getElementById("qy").innerText=myqy;
}
var myby = getonestr(mydxstr,"百");
if (myby!="")
{
window.document.getElementById("by").innerText=myby;
}
var mysy = getonestr(mydxstr,"拾");
if (mysy!="")
{
window.document.getElementById("sy").innerText=mysy;
}
var myyy = getonestr(mydxstr,"元");
if (myyy!="")
{
window.document.getElementById("yy").innerText=myyy;
}
}
//取得指定字串的前一个中文
function getonestr(str,unit)
{
var intPos = str.lastIndexOf(unit);
//alert(intPos);
var tempstr = str.substring(intPos-1,intPos);
return tempstr ;
}
//取得指定字串的前所有中文
function getallstr(str,unit)
{
var intPos = str.lastIndexOf(unit);
var tempstr = str.substring(0,intPos);
return tempstr ;
}
function DX(n) {
var strOutput = "";
var strUnit = '千百拾亿千百拾万千百拾元角分';
//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);
//alert(strUnit);
for (var i=0; i < n.length; i++)
strOutput += '零壹贰叁肆伍陆柒捌玖'.substr(n.substr(i,1),1) + strUnit.substr(i,1);
return strOutput;
}
function printit()
{
if (confirm('确定打印吗?')) {
wb.execwb(6,6)
}
}
function getQueryString(name)
{
// 如果链接没有参数,或者链接中不存在我们要获取的参数,直接返回空
if(location.href.indexOf("?")==-1 || location.href.indexOf(name+'=')==-1)
{ return ''; }
// 获取链接中参数部分
var queryString = location.href.substring(location.href.indexOf("?")+1);
// 分离参数对 ?key=value&key2=value2
var parameters = queryString.split("&");
var pos, paraName, paraValue;
for(var i=0; i<parameters.length; i++) {
// 获取等号位置
pos = parameters[i].indexOf('=');
if(pos == -1) { continue; }
// 获取name 和 value
paraName = parameters[i].substring(0, pos);
paraValue = parameters[i].substring(pos + 1);
// 如果查询的name等于当前name,就返回当前值,同时,将链接中的+号还原成空格
if(paraName == name)
{
return unescape(paraValue.replace(/\+/g, " "));
}
}
return '';
}
</script>
</body>
没有合适的资源?快使用搜索试试~ 我知道了~
ASP.NET项目实例
共269个文件
aspx:172个
gif:54个
jpg:14个
4星 · 超过85%的资源 需积分: 10 19 下载量 102 浏览量
2009-05-13
18:01:43
上传
评论 1
收藏 2.05MB ZIP 举报
温馨提示
ASP.NET项目实例,采用web服务开发
资源推荐
资源详情
资源评论
收起资源包目录
ASP.NET项目实例 (269个子文件)
Global.asax 78B
StorageSearch.ascx 14KB
FirmSearchPub.ascx 9KB
SaleFormSearch.ascx 9KB
FirmSearch.ascx 9KB
FirmSearchPubClient.ascx 9KB
FormSearch.ascx 8KB
Scan.ascx 3KB
MainLeft.aspx 76KB
ClientLeft.aspx 39KB
Consignment_Scan_Add.aspx 22KB
StockApply_Scan_Add.aspx 21KB
StockApply_UI_Add.aspx 20KB
Consignment_UI_Add.aspx 20KB
Membersell_Scan_Add.aspx 20KB
StockApply_Scan_Quit.aspx 20KB
StoreQuit_Scan_Add_zb.aspx 20KB
HQSell_Scan_Add.aspx 20KB
StockApply_UI_Quit.aspx 19KB
ClientQuit_UI_Add.aspx 19KB
StoreQuit_UI_Add_zb.aspx 19KB
Membersell_UI_Add.aspx 19KB
HQSell_UI_Add.aspx 19KB
StoreQuit_Scan_Add.aspx 19KB
DoorStorePre_Scan_Add.aspx 18KB
StoreQuit_UI_Add.aspx 18KB
StorageInitialize_UI.aspx 18KB
StockAttaint_UI_Add.aspx 18KB
StorageAttaint_UI_Add.aspx 17KB
StorageApply_UI_Add.aspx 17KB
DoorStorePre_UI_Add.aspx 17KB
MemberQuit_Quit_UI.aspx 14KB
Employee_UI_Add.aspx 13KB
Employee_UI_update.aspx 12KB
MainWork.aspx 12KB
ClientWork.aspx 12KB
StorageApply_UI_View.aspx 11KB
Associator_UI_Add.aspx 11KB
HQSell_UI_See.aspx 11KB
Product_UI.aspx 10KB
MemberQuitSearch_See_UI.aspx 10KB
Associator_UI_Update.aspx 10KB
Consignment_UI_See.aspx 10KB
StorageAttaint_UI_See.aspx 10KB
ShopSize_UI_Update.aspx 10KB
StorageApply_UI_See.aspx 10KB
ConsignAu_see.aspx 10KB
Client_UI_Add.aspx 9KB
StorageAttaint_UI_View.aspx 9KB
StockApply_UI_See.aspx 9KB
StorageLi_UI.aspx 9KB
Client_UI_update.aspx 9KB
Membersell_See_UI.aspx 9KB
StockApplyQuit_See_UI.aspx 9KB
Product_Sum_UI.aspx 9KB
DoorStorePro_UI_See.aspx 9KB
ConsignmentDetail_UI.aspx 9KB
StorageUpdatePrice_UI.aspx 9KB
Frim_UI_Add.aspx 9KB
StorageExist_UI_See.aspx 8KB
DoorStore_UI.aspx 8KB
ClientQuit_UI_See.aspx 8KB
StockJoinStoreage_UI.aspx 8KB
HQSellDetail_UI.aspx 8KB
Consignment_UI.aspx 8KB
StorageApplyAudit_UI.aspx 8KB
Frim_UI_Update.aspx 8KB
BarCode_update.aspx 8KB
BarCode_Add.aspx 8KB
MessageSend_UI.aspx 8KB
Associator_UI.aspx 8KB
StockAttaint_UI_See.aspx 8KB
Membersell_UI.aspx 8KB
HQSellReport.aspx 7KB
CrystalRptForPresent.aspx 7KB
StockJoinStoreage_UI_See.aspx 7KB
ClientQuitb.aspx 7KB
ClientQuit_UI_Bar.aspx 7KB
AttaintForm_UI.aspx 7KB
ApplyForm_UI.aspx 7KB
Supply_UI_Add.aspx 7KB
CrystalRptForConsignMent.aspx 7KB
Supply_UI_update.aspx 7KB
StockAttaint.aspx 7KB
StockApplyQuitAuditing_UI.aspx 7KB
Employee_UI_Modif.aspx 7KB
StoreQuit_UI_See.aspx 7KB
StockApply.aspx 7KB
HQSellBursar_UI.aspx 7KB
StorageAttaint_UI.aspx 7KB
StockBursar_UI.aspx 7KB
BarCode.aspx 7KB
StockMgr_UI.aspx 7KB
StorageAttaintAudit_UI.aspx 7KB
Associator_Log.aspx 7KB
StockApply_UI_QuitList.aspx 7KB
StorageAttaint_UI_Detail.aspx 7KB
StorageApplyDetailForm_UI.aspx 7KB
Client_UI.aspx 7KB
Supply_UI.aspx 7KB
共 269 条
- 1
- 2
- 3
资源评论
- 风吟先生2013-12-30看了一下,还不错,值得新手一看
haikuols
- 粉丝: 0
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功