ERP合同列表页面自动导航(二十八)
Posted 石
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ERP合同列表页面自动导航(二十八)相关的知识,希望对你有一定的参考价值。
合同审核完成页面:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CRMContractOver.aspx.cs" Inherits="BioErpWeb.CRMSystem.CRMContract.CRMContractOver" %> <!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> <link href="../../Styles/ERPBaseStyle.css" rel="stylesheet" type="text/css" /> <script src="../../JS/CheckUserName.js" type="text/javascript"></script> <script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script> <script src="../../Scripts/jquery.validate.js" type="text/javascript"></script> <script src="../../Scripts/validateExtender.js" type="text/javascript"></script> <script src="../../Scripts/ValidateMessage_ZW.js" type="text/javascript"></script> <script src="../../Scripts/jquery.metadata.js" type="text/javascript"></script> <script src="../../JS/CustomerName.js" type="text/javascript"></script> <link href="../../Styles/InputStyle1.css" rel="stylesheet" type="text/css" /> <script src="../../JS/CheckDepartMent.js" type="text/javascript"></script> <script src="../../Scripts/jquery-ui-1.7.custom.min.js" type="text/javascript"></script> <link href="../../Scripts/jquery-ui-1.7.custom.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> $(document).ready(function () { $("#form1").validate(); }); </script> <style type="text/css"> .style1 { width: 73px; } </style> </head> <body> <form id="form1" runat="server"> <div> <table class="maintable Inupttable" style=" width:900px;"> <tr> <td colspan="8" class="titlebar">合同完成</td> </tr> <tr> <td class="style1">合同名称</td><td class="style3"><asp:TextBox ID="txtName" CssClass="required" runat="server"></asp:TextBox></td> <td class="style4">合同负责人</td><td><asp:TextBox ID="txtUser2" CssClass="{required:true,digits:true, min:1}" runat="server"></asp:TextBox> </td> <td class="style7">所属部门</td><td class="style6"> <asp:TextBox ID="txtDepartMentID" CssClass="{required:true,digits:true, min:1}" runat="server"></asp:TextBox> </td> <td>合同创建时间</td><td> <asp:TextBox ID="txtCreatTime" CssClass="{required:true,dateISO:true}" runat="server"></asp:TextBox> </td> </tr> <tr> <td class="style1">签约客户</td><td class="style3"><asp:TextBox ID="txtCustomer" CssClass="{required:true,digits:true, min:1}" runat="server"></asp:TextBox> </td> <td class="style4">签约金额</td><td><asp:TextBox ID="txtSum" CssClass="{required:true,number:true}" runat="server"></asp:TextBox>元(RMB)</td> <td class="style7">计划签约时间</td><td class="style6"><asp:TextBox ID="txtSinTime" CssClass="{required:true,dateISO:true}" runat="server"></asp:TextBox></td> <td>生效时间</td><td><asp:TextBox ID="txtEffectiveTime" CssClass="{required:true,dateISO:true}" runat="server"></asp:TextBox></td> </tr> <tr> <td class="style1">截止时间</td><td class="style3" ><asp:TextBox ID="txtEndTime" CssClass="{required:true,dateISO:true}" runat="server"></asp:TextBox></td> <td class="style4"> </td><td colspan="5"> </td> </tr> <tr> <td class="style1">合同内容</td><td colspan="7"> <asp:TextBox ID="txtDesc" CssClass="required" runat="server" Height="300px" Width="100%" Rows="10" TextMode="MultiLine"></asp:TextBox></td> </tr> <tr> <td class="style1">合同附件</td><td colspan="5"> <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Web/images/files.gif" Width="26px" Height="24px" onclick="ImageButton1_Click"/> (下载)</td> <td>合同类型</td><td> <asp:DropDownList ID="ddlType" runat="server"> <asp:ListItem>买卖合同</asp:ListItem> <asp:ListItem>运输合同</asp:ListItem> <asp:ListItem>技术合同</asp:ListItem> <asp:ListItem>保管合同</asp:ListItem> <asp:ListItem>仓储合同</asp:ListItem> <asp:ListItem>委托合同</asp:ListItem> </asp:DropDownList> </td> </tr> <tr> <td class="style1">历史意见</td><td colspan="7"> <asp:Label ID="lbHistory" Width="99%" runat="server" Text=""></asp:Label> </td> </tr> <tr> <td class="style1">审批意见</td><td colspan="5"> <asp:TextBox ID="txtMind" Width="80%" runat="server"></asp:TextBox> </td> <td> <asp:Label ID="lbIsCheck" runat="server" Text="法律顾问意见"></asp:Label> </td><td> <asp:CheckBox ID="cbIsCheck" Text="符合法律效应" BorderStyle="None" runat="server" /></td> </tr> <tr> <td colspan="8" class="bottomtd"> <asp:Button ID="btnSubmit" runat="server" BackColor="#51C600" Text="结束流程" onclick="btnSubmit_Click" /> </td> </tr> <tr> <td colspan="8"> <asp:HiddenField ID="hf_FirstAccepter" runat="server" /> <asp:HiddenField ID="hf_FirstTransmitter" runat="server" /> <asp:HiddenField ID="hf_FirstDateTime" runat="server" /> <asp:HiddenField ID="hfFileName" runat="server" /> </td> </tr> </table> </div> </form> </body> </html>
是否符合法律效应:
if (this.cbIsCheck.Checked == false) { ClientScript.RegisterStartupScript(this.GetType(), "test", "alert(‘无法律资质审核不能执行‘)", true); return; }
以上是关于ERP合同列表页面自动导航(二十八)的主要内容,如果未能解决你的问题,请参考以下文章