100 lines
5.5 KiB
Plaintext
100 lines
5.5 KiB
Plaintext
|
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cgfk_edit.aspx.cs" Inherits="DemandSheet_Form" %>
|
||
|
|
||
|
<!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">
|
||
|
<script type="text/javascript"></script>
|
||
|
<script src="../Jquery-ui/js/jquery-1.10.2.js" type="text/javascript"></script>
|
||
|
<script src="../Js/screen.js" type="text/javascript"></script>
|
||
|
<script src="../Js/Calendar3.js" type="text/javascript"></script>
|
||
|
<link href="../Css/index.css" rel="stylesheet" type="text/css" />
|
||
|
<link href="../Css/edit.css" rel="stylesheet" type="text/css" />
|
||
|
<script src="../Jquery-ui/js/jquery-ui-1.10.4.custom.js" type="text/javascript"></script>
|
||
|
<link href="../Jquery-ui/css/pepper-grinder/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" />
|
||
|
<script src="../Js/commonality.js" type="text/javascript"></script>
|
||
|
<script src="../Js/XiaoGuo.js" type="text/javascript"></script>
|
||
|
<script type="text/javascript">
|
||
|
var beforval="";
|
||
|
function pd() {
|
||
|
if ($("#fkje").val() == "") {
|
||
|
$("#z_error").html("付款金额不能为空");
|
||
|
return false;
|
||
|
} else if ($("#jsr").val() == "") {
|
||
|
$("#z_error").html("经手人不能为空");
|
||
|
return false;
|
||
|
} else
|
||
|
|
||
|
if ($("#fpje").val() == "") {
|
||
|
$("#z_error").html("发票金额不能为空");
|
||
|
return false;
|
||
|
}
|
||
|
else {
|
||
|
$("#z_error").html("");
|
||
|
}
|
||
|
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<form id="form1" runat="server">
|
||
|
<div>
|
||
|
<div class="add-top" ><div id="div_daohang" runat=server> </div></div>
|
||
|
<div id="dd_kong" style=" overflow:auto; ">
|
||
|
<table width="100%" id="mytab" border="1" class="bule">
|
||
|
<tr> <td colspan="6" class="biaotou">采购付款明细</td></tr>
|
||
|
<tr>
|
||
|
<td class="head">采购单号</td><td class="content_hx" ><asp:TextBox id="cgdbianhao" runat="server" CssClass="text_content_hx" Text="自动生成" ForeColor="Gray" Enabled=false AutoCompleteType=none BorderStyle=None ></asp:TextBox></td>
|
||
|
<td class="head">入库编号</td><td class="content_hx" ><asp:TextBox id="rkbh" runat="server" ReadOnly CssClass="text_content_hx"></asp:TextBox></td>
|
||
|
<td class="head">供应商号</td><td class="content_hx"><asp:TextBox id="gysh" runat="server" ReadOnly CssClass="text_content_hx"></asp:TextBox></td>
|
||
|
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="head">供货单位</td><td class="content_hx" ><asp:TextBox type=text id="ghdw" ReadOnly runat="server" class="text_content_hx" /></td>
|
||
|
<td class="head">付款人</td><td class="content_hx" ><asp:TextBox type=text id="fkr" ReadOnly runat="server" class="text_content_hx" /></td>
|
||
|
<td class="head">付款日期</td><td class="content_hx"><asp:TextBox type=text id="fkrq" ReadOnly runat="server" class="text_content_hx" /></td>
|
||
|
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="head">付款金额</td><td class="content"><asp:TextBox type=text id="fkje" onkeyup="doubleshuru(this)" runat="server" class="text_content" /> </td>
|
||
|
<td class="head">抹账金额</td><td class="content"><asp:TextBox type=text id="mzje" onkeyup="doubleshuru(this)" runat="server" class="text_content" /> </td>
|
||
|
|
||
|
<td class="head">付款方式</td><td class="content"><asp:dropdownlist id="fkfs" runat="server" CssClass="drop_content"></asp:dropdownlist></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="head">发票类型</td><td class="content"><asp:dropdownlist id="fplx" runat="server" CssClass="drop_content"></asp:dropdownlist></td>
|
||
|
<td class="head">发票号</td><td class="content"><asp:TextBox type=text id="fph" runat="server" class="text_content" /></td>
|
||
|
<td class="head">发票金额</td><td class="content"><asp:TextBox type=text id="fpje" onkeyup="doubleshuru(this)" runat="server" class="text_content" /></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="head">经手人</td><td class="content"><asp:TextBox type=text id="jsr" runat="server" class="text_content" /></td>
|
||
|
<td class="head">状态</td><td class="content_hx"><asp:TextBox type=text id="zt" ReadOnly runat="server" class="text_content_hx"/></td>
|
||
|
<td class="head"></td><td class="content"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="head">备注</td><td class="content" colspan="5"><asp:TextBox id="bz" runat="server" CssClass="text_content"></asp:TextBox></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr> <td height="10px" align="center"><asp:label id="z_error" CssClass="error" runat="server"></asp:label></td></tr>
|
||
|
<tr><td align="center">
|
||
|
<asp:button id="bt_tj" runat="server" CssClass="button bluez small" Text="保存"
|
||
|
OnClientClick="return pd()" OnClick="bt_tj_Click" ></asp:button>   
|
||
|
|
||
|
<BUTTON class="button bluez small" onclick="form.reset();" type="button">重置</BUTTON>     
|
||
|
<BUTTON class="button bluez small" onclick="history.back();" type="button">返回</BUTTON>
|
||
|
</td></tr></table>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<asp:HiddenField ID="id" runat="server" Value="" />
|
||
|
<asp:HiddenField ID="sg_hidden" runat="server" Value="" />
|
||
|
<asp:HiddenField ID="pagename" runat="server" Value="sg" />
|
||
|
<asp:HiddenField ID="wlidhidden" runat="server" Value="" />
|
||
|
<asp:HiddenField ID="scdidhidden" runat="server" Value="" />
|
||
|
<script src="../Js/messageshow.js" type="text/javascript"></script>
|
||
|
</form>
|
||
|
</body>
|
||
|
</html>
|