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.

129 lines
8.0 KiB
Plaintext

10 months ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InvoiceBookEdit.aspx.cs" Inherits="DSWeb.Invoice.InvoiceBookEdit" %>
<!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>
<style type="text/css">
.txtTab{border:1px solid #A0A0A4; border-color:#6699CC;}
.btn
{
width:50px;
BORDER-RIGHT: #2C59AA 1px solid;
PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid;
PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5);
BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px;
BORDER-BOTTOM: #2C59AA 1px solid
}
</style>
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
<link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
<link href="../theme/dhtmlxcombo.css" type="text/css" rel="Stylesheet" media="screen"/>
<script src="../js/dhtmlxcommon.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid.js" type="text/javascript"></script>
<script src="../js/dhtmlxgridcell.js" type="text/javascript"></script>
<script src="../js/dhtmlxcombo.js" type="text/javascript"></script>
<script src="../js/dhtmlxcombo_whp.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_keymap_excel.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_drag.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_group.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_mcol.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_excell_link.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_excell_grid.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_excell_tree.js" type="text/javascript"></script>
<script src="../js/TGridCommon.js" type="text/javascript"></script>
<script src="../js/json2.js" type="text/javascript"></script>
<script src="../js/TCombo.js" type="text/javascript" ></script>
<script type="text/javascript" src="../js/browser.js" ></script>
<script type="text/javascript">
window.dhx_globalImgPath="../images/";
function document.onkeydown(){
if(event.keyCode==116){
event.keyCode = 0;
event.cancelBubble = true;
return false;
}
}
</script>
<script src="../js/InvoiceBookEdit.js" type="text/javascript"></script>
</head>
<body style="font-size:12px; background-color:#ecf2ff;" onload="createGrid()">
<form id="form1" runat="server">
<table style="width:98%">
<tr>
<td style="width:110px;"><div id="dvName" runat="server" style="text-align:right;width:110px;font-size:12px;">发票系统名称:</div></td>
<td style="width:40%;"><input type="text" runat="server" id="txt_name" class="txtTab" style="width:98%"/></td>
<td style="width:110px;"><div id="dvDescription" runat="server" style="text-align:right;width:110px;font-size:12px;">发票中文名称:</div></td>
<td style="width:40%;"><input type="text" runat="server" id="txt_description" class="txtTab" style="width:98%"/></td>
<td style="width:50px;"></td>
</tr>
<tr>
<td style="width:110px;"><div id="dvType" runat="server" style="text-align:right;width:110px;font-size:12px;">发票类型:</div></td>
<td style="width:40%;"><select id="sel_type" runat="server" style="width:100%; font-size:12px;" class="txtTab"><option value="1">普通发票</option><option value="2">专用发票</option></select></td>
<td style="width:110px;"><div id="dvImgUrl" runat="server" style="text-align:right;width:110px;font-size:12px;">发票代码号:</div></td>
<td style="width:40%;"><input type="text" runat="server" id="txt_code" class="txtTab" style="width:98%"/></td>
<td style="width:50px;"></td>
</tr>
<tr>
<td style="width:110px;"><div id="dvParent" runat="server" style="text-align:right;width:110px;font-size:12px;">发票起始号码:</div></td>
<td style="width:40%;"><input type="text" runat="server" id="txt_startnum" class="txtTab" style="width:98%" /></td>
<td style="width:110px;"><div id="dvSort" runat="server" style="text-align:right;width:110px;font-size:12px;">发票结束号码:</div></td>
<td style="width:40%;"><input type="text" runat="server" id="txt_endnum" class="txtTab" style="width:98%"/></td>
<td style="width:50px;"></td>
</tr>
<tr>
<td style="width:110px;"><div id="dvState" runat="server" style="text-align:right;width:110px;font-size:12px;">所属公司:</div></td>
<td style="width:40%;"><select id="sel_company" runat="server" style="width:100%; font-size:12px;" class="txtTab" disabled=1></select></td>
<td style="width:110px;"><div id="dvTotal" runat="server" style="text-align:right;width:110px;font-size:12px;">发票总数量:</div></td>
<td style="width:40%;"><input type="text" runat="server" id="txt_total" class="txtTab" style="width:98%"/></td>
<td style="width:50px;"></td>
</tr>
<tr>
<td style="width:110px;"><div id="dvLock" runat="server" style="text-align:right;width:110px;font-size:12px;">是否锁定:</div></td>
<td style="width:20%;"><input type="checkbox" id="ck_lock" runat="server" disabled=1/></td>
<td style="width:110px;"><div id="dvDelete" runat="server" style="text-align:right;width:110px;font-size:12px;">是否删除:</div></td>
<td style="width:20%;"><input type="checkbox" id="ck_delete" runat="server" disabled=1/></td>
<td style="width:50px;"></td>
</tr>
<tr>
<td style="width:110px;"><div id="dvCreateUser" runat="server" style="text-align:right;width:110px;font-size:12px;">创建人:</div></td>
<td style="width:40%;"><div style="width:98%" id="txt_createuser" runat="server"></div></td>
<td style="width:110px;"><div id="dvCreateTime" runat="server" style="text-align:right;width:110px;font-size:12px;">创建时间:</div></td>
<td style="width:40%;"><div style="width:98%" id="txt_createtime" runat="server"></div></td>
<td style="width:50px;"></td>
</tr>
</table>
<div style="padding-top:10px; padding-left:30px; padding-bottom:10px;"><input type="button" id="btn_create" value="生成" class="btn" onclick="createInvoice()" runat="server"/>&nbsp;&nbsp;&nbsp;&nbsp;
<input type="button" id="btn_update" value="保存" class="btn" onclick="updateInvoice()" runat="server"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" id="btn_cancel" value="取消" class="btn" onclick="cancelInvoice()" runat="server"/></div>
<div style="width:100%; height:100%">
<div class="btn-content">
<div class="btn-blank"></div>
<div class="xbtn-img" onclick="addInvoiceBookitem()">
<div class="btnimg"><img src="../images/icons/btn_add.gif" width="16px" height="16px" title="添加新发票"/></div>
</div>
<div class="xbtn-img" onclick="deleteUnpostApplication()">
<div class="btnimg"><img src="../images/icons/remove.gif" width="16px" title="删除发票"/></div>
</div>
<div class="xbtn-img" onclick="printInvoice()">
<div class="btnimg"><img src="../images/icons/print.gif" width="16px" title="打印发票"/></div>
</div>
<div class="xbtn-img" onclick="refreshList()">
<div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新列表"/></div>
</div>
</div>
<div id="mygrid_container_invoiceitem" style="width:750px; height:180px;" runat="server"></div>
<div id="pager" style="width: 100%; margin: 0px; padding: 4px; border: 0px solid #999;">
</div>
<div id="info" style="text-align: center; width: 100%; margin: 0 2px; padding: 4px; border: 1px solid #999;"></div>
</div>
<div>
<input type="hidden" id="h_userid" runat="server" />
<input type="hidden" id="h_bookid" runat="server" />
</div>
</form>
</body>
</html>