⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 docwrite.aspx

📁 java 最出色的报表工具代码,愿分享....
💻 ASPX
📖 第 1 页 / 共 3 页
字号:
  
}
}
//显示被隐藏的标签
function tiannetShowObject(){
for(var i = 0;i < arrTiannetHide.length;i ++){
    //alert(arrTiannetHide[i]);
    arrTiannetHide[i].style.visibility = "";
}
}
//初始化日期。
function tiannetInitDate(strDate){
var arr = strDate.split(tiannetDateSplit);
tiannetYear = arr[0];
tiannetMonth = arr[1];
tiannetDay = arr[2];
}
//清空
function tiannetClear(){
tiannetOutObject.value = "";
tiannetHideControl();
}
//任意点击时关闭该控件
function document.onclick(){ 
    with(window.event.srcElement){ 
if (tagName != "INPUT" && getAttribute("Author") != "tiannet")
      tiannetHideControl();
    }
}
//按ESC键关闭该控件
function document.onkeypress(){
if( event.keyCode == 27 ){
    tiannetHideControl();
}
} 

function keyDown()

{

var keycode=event.keyCode;

var keyChar=String.fromCharCode(keycode);

if(keycode==13)

event.keyCode=9;

};

document.onkeydown=keyDown;

 function openwin(str)
{
    var url="CustomerName.aspx";
    //打开模式窗口,注意模式窗口的样式
    var mydata=showModalDialog(url,null,"dialogWidth:500px;dialogHeight:300px;center:yes;help:No;status:no;resizable:Yes;edge:sunken");
    if(mydata)
    str.value=mydata.value;
}  
</script>
    <style type="text/css">
<!--
#Layer1 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:1;
}
#Layer2 {
	position:absolute;
	width:154px;
	height:22px;
	z-index:2;
	top: 265px;
	left: 338px;
}
.STYLE2 {font-size: 14px}
#Layer3 {
	position:absolute;
	width:188px;
	height:22px;
	z-index:3;
	left: 329px;
	top: 105px;
}
#Layer4 {
	position:absolute;
	width:200px;
	height:5px;
	z-index:4;
	left: 188px;
	top: 63px;
}
-->
    </style>
</head>
<body>
  
    <form id="form1" runat="server">
    
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div id="Layer4">
	    <cc1:WebDialogWindow ID="WebDialogWindow1" runat="server" Height="384px" 
        Width="755px" Modal="True" Font-Size="Medium">
        <Header>
            <MinimizeBox Visible="True" />
        </Header>
        <ContentPane>
            <Template>
                &nbsp;&nbsp;&nbsp;
                <asp:LinkButton ID="lkbAdd" runat="server" onclick="lkbAdd_Click">添 加</asp:LinkButton>
                &nbsp;&nbsp;&nbsp;
                <asp:LinkButton ID="lkbsave" runat="server" onclick="lkbsave_Click">保 存</asp:LinkButton>
                &nbsp;&nbsp;&nbsp;
                <asp:LinkButton ID="lbkLook" runat="server" onclick="lbkLook_Click">报表预览</asp:LinkButton>
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:LinkButton ID="lkbclose" runat="server" onclick="lkbclose_Click">安全退出</asp:LinkButton>
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <div align="center" style="font-size:24px; color:#FF0000">
                    省三混凝土搅拌站混凝土发货单</div>
                <br />
                <span class="STYLE2">合同编号:<asp:TextBox ID="htCode" runat="server" Height="16px" 
                    style="color: rgb(255,0,0); border-left: medium none; border-right: medium none; border-top: medium none; border-bottom: 1px solid rgb(192,192,192)" 
                    Width="78px"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                日期:&nbsp;</span>
                <div id="Layer3">
                    <igsch:WebDateChooser ID="PrintTime" runat="server" Height="14px" 
                        style="color: rgb(255,0,0); border-left: medium none; border-right: medium none; border-top: medium none; border-bottom: 1px solid rgb(192,192,192)" 
                        Value="2009-03-04">
                    </igsch:WebDateChooser>
                </div>
                <span class="STYLE2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;卸载方式&nbsp;:<asp:TextBox 
                    ID="XZMode" runat="server" Height="16px" 
                    style="color: rgb(255,0,0); border-left: medium none; border-right: medium none; border-top: medium none; border-bottom: 1px solid rgb(192,192,192)" 
                    Width="78px"></asp:TextBox>
&nbsp;</span><br />
                <table width="735" border="0" bgcolor="#8EE0EA" style="text-align:center; font-size:medium">
                  <tr bgcolor="#FFFFFF">
                    <td width="86" height="29">客户名称</td>
                    <td colspan="4" style="text-align:left">
                        <igtxt:WebTextEdit ID="CustomerName" runat="server" Height="20px" 
                             onclick="openwin(this)" 
                            Style="background: transparent; border: 1px solid #ffffff" Width="179px">
                        </igtxt:WebTextEdit>
                    </td>
                    <td width="73">工程名称 </td>
                    <td colspan="4" style="text-align:left">
                        <igtxt:WebTextEdit ID="EngineName" runat="server" Height="23px" 
                            Style="background: transparent; border: 1px solid #ffffff" Width="188px">
                        </igtxt:WebTextEdit>
                    </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td height="29">施工部位</td>
                    <td colspan="4" style="text-align:left">
                        <igtxt:WebTextEdit ID="EngineLocal" runat="server" Height="21px" 
                            Style="background: transparent; border: 1px solid #ffffff" Width="206px">
                        </igtxt:WebTextEdit>
                    </td>
                    <td  width="73">送货地点</td>
                    <td colspan="4"  style="text-align:left">
                        <igtxt:WebTextEdit ID="GiveLocal" runat="server" Height="23px" 
                            Style="background: transparent; border: 1px solid #ffffff" Width="215px">
                        </igtxt:WebTextEdit>
                    </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td height="29">配比编号</td>
                    <td width="93"  style="text-align:left">
                        <igtxt:WebTextEdit ID="FiteCode" runat="server" Height="21px" 
                            style="margin-bottom: 0px; background: transparent; border: 1px solid #ffffff" 
                            Width="92px">
                        </igtxt:WebTextEdit>
                    </td>
                    <td width="59">砼强度</td>
                    <td colspan="2"  style="text-align:left">
                        <igtxt:WebTextEdit ID="TongStrong" runat="server" Height="21px" 
                            style="margin-bottom: 0px; background: transparent; border: 1px solid #ffffff" 
                            Width="70px">
                        </igtxt:WebTextEdit>
                    </td>
                    <td  width="73">水泥编号</td>
                    <td colspan="2"  style="text-align:left">
                        <igtxt:WebTextEdit ID="ShuiniCode" runat="server" Height="19px" 
                            style="background: transparent; border: 1px solid #ffffff" Width="66px">
                        </igtxt:WebTextEdit>
                    </td>
                    <td width="59">塌落度</td>
                    <td width="114"  style="text-align:left">
                        <igtxt:WebTextEdit ID="Taluodu" runat="server" Height="20px" 
                            style="background: transparent; border: 1px solid #ffffff" Width="100px">
                        </igtxt:WebTextEdit>
                    </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td height="29">司机姓名</td>
                    <td  style="text-align:left">
                        <igtxt:WebTextEdit ID="SjName" runat="server" Height="19px" 
                            style="background: transparent; border: 1px solid #ffffff" Width="88px">
                        </igtxt:WebTextEdit>
                    </td>
                    <td>车牌号</td>
                    <td colspan="2" style="text-align:left">
                        <igtxt:WebTextEdit ID="CarCode" runat="server" Height="20px" 
                            style="background: transparent; border: 1px solid #ffffff" Width="65px">
                        </igtxt:WebTextEdit>
                    </td>
                    <td  width="73">当车方量</td>
                    <td colspan="2" style="text-align:left">
                        <igtxt:WebTextEdit ID="dCarFl" runat="server" Height="20px" 
                            style="background: transparent; border: 1px solid #ffffff" Width="65px">
                        </igtxt:WebTextEdit>
                    </td>
                    <td>总方量</td>
                    <td style="text-align:left">
                        <igtxt:WebTextEdit ID="TotalFl" runat="server" Height="22px" 
                            style="background: transparent; border: 1px solid #ffffff" Width="102px">
                        </igtxt:WebTextEdit>
                    </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td height="29">出场时间</td>
                    <td colspan="2" style="text-align:left">
                        <igtxt:WebTextEdit ID="StartTime" runat="server" Height="21px" 
                            onclick="setDayHM(this);" 
                            style="background: transparent; border: 1px solid #ffffff" Width="145px">
                        </igtxt:WebTextEdit>
                    </td>
                    <td width="71">到达时间</td>
                    <td colspan="3" style="text-align:left">
                        <div id="Layer2">
                            <igtxt:WebTextEdit ID="EndTime" runat="server" Height="18px" 
                                onclick="setDayHM(this);" 
                                style="background: transparent; border: 1px solid #ffffff" Width="137px">
                            </igtxt:WebTextEdit>
                      </div></td>
                    <td width="65">卸完时间</td>
                    <td colspan="2" style="text-align:left">
                        <igtxt:WebTextEdit ID="XwTime" runat="server" Height="23px" 
                            onclick="setDayHM(this);" 
                            style="background: transparent; border: 1px solid #ffffff" Width="124px">
                        </igtxt:WebTextEdit>
                    </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td height="29">操作员签字</td>
                    <td colspan="2" style="text-align:left">
                        <igtxt:WebTextEdit ID="OperPerson" runat="server" Height="23px" 
                            SelectionOnFocus="SelectAll" 
                            style="background: transparent; border: 1px solid #ffffff" Width="123px">
                        </igtxt:WebTextEdit>
                    </td>
                    <td>调度签字</td>
                    <td colspan="3" style="text-align:left">
                        <igtxt:WebTextEdit ID="DiaoduOper" runat="server" Height="22px" 
                            style="background: transparent; border: 1px solid #ffffff" Width="78px">
                        </igtxt:WebTextEdit>
                    </td>
                    <td>客户签字</td>
                    <td colspan="2" style="text-align:left">&nbsp;</td>
                  </tr>
                </table>
                <br />
               <br />
            </Template>
        </ContentPane>
    </cc1:WebDialogWindow>
    </div>
    <br />
    
    </form>
  
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -