<%@ page language="C#" autoeventwireup="true" inherits="general_Contract_ContractExamine, CrmCommand" %>



<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>合同待审核</title>
   	<style type="text/css">
.style1 {
	font-size: x-small;
}
</style>
   </head>
<body class ="bodycolor" leftmargin="0" topmargin="0">
    <form id="form1" runat="server">
    <div>
        <div id="fgh">
        <table cellSpacing="1"  border="0"  style="width: 800px" align="center">
            <tr>
                <td class="TableData" style="width: 737px" >
            <table align="center" cellpadding="5" cellspacing="0" class="small" style="border-right: #000000 1px groove;
                border-top: #000000 1px groove; border-left: #000000 1px groove; width: 800px;
                border-bottom: #000000 1px groove; height: 100%" border="0">
                <tr>
                    <td colspan="2" style="height: 75px">
                        <fieldset name="Group1">
                            <legend class="style1">基本信息</legend>
                            <table cellpadding="0" cellspacing="0" style="width: 100%; height: 65px">
                                <tr>
                                    <td style="width: 98px; height: 19px;" class="style1">
                                        合同编号:</td>
                                    <td colspan="3" style="height: 19px">
                                        <asp:Label ID="lblContract_Num" runat="server" Text="合同编号" Width="142px" ForeColor="Red" Font-Size="X-Small"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 98px; height: 22px;" class="style1">
                                        签约日期:</td>
                                    <td colspan="3" style="height: 22px">
            <asp:Label ID="lblTracd_Time" runat="server" Text="签约日期" Width="111px" Font-Size="X-Small"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 98px; height: 22px" class="style1">
                                        结束日期:</td>
                                    <td colspan="3" style="height: 22px">
                                        <asp:Label ID="LblEndData" runat="server" Width="111px" Font-Size="X-Small"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 98px; height: 22px" class="style1">
                                        合同类型:</td>
                                    <td colspan="3" style="height: 22px">
                                        <asp:Label ID="LblType" runat="server" Width="111px" Font-Size="X-Small"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 98px" class="style1">
                                        付款方式:</td>
                                    <td style="width: 236px">
                                        &nbsp;
										<asp:Label ID="lblPay_Method" runat="server" Text="付款方式" Width="75px" Font-Size="X-Small"></asp:Label></td>
                                    <td style="width: 182px">
                                        <span class="style1">合同状态:</span>
										<asp:Label ID="lblstate" runat="server" Text="付款方式" Width="75px" Font-Size="X-Small"></asp:Label>
                                    </td>
                                    <td>
                                       <span class="style1">产品合计:</span>
										<asp:Label ID="LblTotal" runat="server" ForeColor="Red" Text="Label" Font-Size="X-Small"></asp:Label></td>
                                </tr>
                            </table>
                        </fieldset><span class="style1"> </span> </td>
                </tr>
                <tr>
                    <td style="width: 400px; height: 160px" valign="top">
                        <fieldset >
                            <legend class="style1">买方(乙方)</legend>
                            <table cellpadding="0" cellspacing="0" style="height: 150px; width: 370px;">
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        公司名称</td>
                                    <td>
                                        <asp:Label ID="lblClient_Name" runat="server" Text="客户名称" Font-Size="X-Small" ></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        公司地址</td>
                                    <td>
                                        <asp:Label ID="LblAddr" runat="server" Text="Label" Font-Size="X-Small"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        联系电话</td>
                                    <td>
                <asp:Label ID="lblContact_Tel" runat="server" Text="联系电话" Font-Size="X-Small" ></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        公司传真</td>
                                    <td>
                                        <asp:Label ID="lblfax" runat="server" Text="Label" Font-Size="X-Small" ></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        联系人</td>
                                    <td>
                                        <asp:Label ID="lblContact_Name" runat="server" Text="联系人名称" Font-Size="X-Small"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        签约人</td>
                                    <td >
                                        <asp:Label ID="lblbuyin" runat="server" Text="Label" Font-Size="X-Small" ></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        联系手机</td>
                                    <td>
                                        <asp:Label ID="lblContact_Mobile" runat="server" Text="联系人手机" Font-Size="X-Small" ></asp:Label></td>
                                </tr>
                            </table>
                        </fieldset><span class="style1"> </span>
                        </td>
                    <td style="width: 400px; height: 160px" valign="top">
                        <fieldset>
                            <legend class="style1">卖方(甲方)</legend>
                            <table cellpadding="0" cellspacing="0" style="height: 150px; width: 370px;">
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        公司名称</td>
                                    <td>
                                        <asp:Label ID="lblMy_ComName" runat="server" Text="Label" Font-Size="X-Small"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        公司地址</td>
                                    <td>
                                        <asp:Label ID="Label2" runat="server" Text="Label" Font-Size="X-Small"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        联系电话</td>
                                    <td>
                                        <asp:Label ID="lblmytel" runat="server" Text="Label" Font-Size="X-Small" ></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        公司传真</td>
                                    <td>
                                        &nbsp;
										<asp:Label ID="Label3" runat="server" Text="Label" Font-Size="X-Small"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        联系人</td>
                                    <td >
                                        <asp:Label ID="lblUser_Name" runat="server" Text="Label" Font-Size="X-Small" ></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        签约人</td>
                                    <td>
                                        <asp:Label ID="lblsalein" runat="server" Text="Label" Font-Size="X-Small" ></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 80px" class="style1">
                                        联系手机</td>
                                    <td>
                                        <asp:Label ID="lblMy_ContactMobile" runat="server" Text="Label" Font-Size="X-Small" ></asp:Label></td>
                                </tr>
                            </table>
                        </fieldset><span class="style1"> </span>
                        </td>
                </tr>
                <tr>
				<td class="TableData" style="width: 800px; " colspan="2" >
				<fieldset > <legend class="style1"> 
产品列表
</legend>
                    <table style="width: 100%" cellspacing="0" cellpadding="10">
						<tr>
							<td align="center" valign="middle">
                    <asp:GridView ID="GridView1" runat="server" Width="750px" AutoGenerateColumns="False" Font-Size="X-Small">
                        <Columns>
							<asp:boundfield DataField="Product_Name" HeaderText="产品名称">
								<ItemStyle HorizontalAlign="Center" />
							</asp:boundfield>
							<asp:boundfield DataField="Product_Num" HeaderText="产品数量">
								<ItemStyle HorizontalAlign="Center" />
							</asp:boundfield>
							<asp:boundfield DataFormatString="{0:c}" DataField="Product_SinglePrice" HeaderText="产品价格">
								<ItemStyle HorizontalAlign="Center" />
							</asp:boundfield>
							<asp:boundfield DataFormatString="{0:c}" DataField="Product_TotalPrice" HeaderText="产品总价">
								<ItemStyle HorizontalAlign="Center" />
							</asp:boundfield>
							<asp:templatefield HeaderText="开始日期">
								<ItemStyle HorizontalAlign="Center" />
								<ItemTemplate>
									<%#string.Format("{0:d}", Eval("Product_BeginTime"))%>
								</ItemTemplate>
							</asp:templatefield>
							<asp:templatefield HeaderText="结束日期">
								<ItemStyle HorizontalAlign="Center" />
								<ItemTemplate>
									<%#string.Format("{0:d}", Eval("Product_EndTime"))%>
								</ItemTemplate>
							</asp:templatefield>
						</Columns>
                    
                    </asp:GridView>

							</td>
						</tr>
				</table>

</fieldset></td></tr>
                <tr>
                    <td colspan="2">
                        <fieldset name="Group1">
                            <legend class="style1">附加及其他</legend>
                            <table cellpadding="0" cellspacing="0" style="width: 100%; height: 100%">
                                <tr>
                                    <td style="width: 72px" class="style1">
                                        付款日期</td>
                                    <td>
            <asp:Label ID="lblPay_Time" runat="server" Text="Label" Width="164px" Font-Size="X-Small"></asp:Label></td>
                                    <td class="style1">
                                        &nbsp;</td>
                                    <td style="width: 16px" class="style1">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 72px; height: 19px" class="style1">
                                        发票</td>
                                    <td style="height: 19px">
                                        <asp:Label ID="lblBill" runat="server" Text="Label" Width="73px" Font-Size="X-Small"></asp:Label></td>
                                    <td style="height: 19px" class="style1">
                                        &nbsp;</td>
                                    <td style="width: 16px; height: 19px" class="style1">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 72px" class="style1">
                                        其他说明</td>
                                    <td>
                                        <asp:Label ID="lblRemark" runat="server" Text="Label" Font-Size="X-Small"></asp:Label></td>
                                    <td class="style1">
                                        &nbsp;</td>
                                    <td style="width: 16px" class="style1">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td align="right" colspan="4">
                                        <span class="style1">创建者:
            </span>
            <asp:Label ID="lblCreate" runat="server" Text="Label" Font-Size="X-Small"></asp:Label>
            							<span class="style1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 创建日期:</span>
										<asp:Label ID="LblCreateDate"
                runat="server" Text="Label" Font-Size="X-Small"></asp:Label>
                                        <span class="style1">&nbsp; &nbsp;</span></td>
                                </tr>
                            </table>
                        </fieldset><span class="style1"> </span> </td>
                </tr>
                
            
<tr><td class="TableData" style="width: 737px;" colspan="2" ><fieldset style="width:800px" align="left"> 
	<legend class="style1"> 
审批意见
</legend>
<TABLE class="small" cellSpacing="1" cellPadding="1" align="center" border="0"  style="width: 766px">
<tr><td class="TableData" colspan="2" style="width: 764px" >
	<span class="style1">审批人:</span>
	<asp:Label ID="LblAgrUser" runat="server" Text="Label" Font-Size="X-Small"></asp:Label>
    <span class="style1">
    <!--<asp:TextBox ID="TxtCheck" runat="server" CssClass="BigInput" Enabled="False"></asp:TextBox>-->
	</span></td></tr>
    <tr>
        <td class="TableData" colspan="2" style="width: 764px">
            <table style="width: 100%" cellspacing="0" cellpadding="0">
				<tr>
					<td style="width: 80px" class="style1">
					审批意见:</td>
					<td>
					<asp:TextBox ID="TxtCheckSuggest" CssClass="BigInput" runat="server" Height="64px" TextMode="MultiLine" Width="382px" BorderStyle="Solid" BorderWidth="1px" BorderColor="Silver" Font-Size="X-Small"></asp:TextBox>
					</td>
				</tr>
			</table>
		</td>
    </tr>
    <tr>
        <td align="center" class="TableData" colspan="2" style="width: 764px">
            <asp:Button ID="Button1" runat="server" CssClass="BigButton" OnClick="Button1_Click"
                Text="通过" Width="59px" Font-Size="X-Small" />
            <span class="style1">&nbsp;&nbsp;
            </span>
            <asp:Button ID="Button2" runat="server" CssClass="BigButton" OnClick="Button2_Click"
                Text="未通过" Font-Size="X-Small" /></td>
    </tr>
</TABLE>
</fieldset></td></tr>
        </table>
        </td>
        </tr>
          </table>
          
    </div>
    </div>
    </form>
</body>
</html>
