<%@ Page Language="C#" %>
<%@ Register TagPrefix="aspxform" Namespace="XFormDesigner.Framework.Web.UI" Assembly="XFormDesigner.Framework" %>
<script runat="server">

    // Insert page code here
    //
    
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack) //首次加载
        {
            if (Request.QueryString["ItemID"] != null)
            {
                this.SalesOpportID.Text = Request.QueryString["ItemID"].ToString();
            }
        }
    }

</script>
<html xmlns:XForm="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <title>BPM Form</title>
    <style>
    BODY {FONT-SIZE: 12px; FONT-FAMILY: verdana;}
    TABLE {border-collapse: collapse; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    P {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    TD {padding:1px}
    TD.NoPadding {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px}
    /*INPUT {height: 15px}*/
    INPUT.UL {BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #33ff33 1px solid}
    TEXTAREA {FONT-SIZE:12px}
    input {vertical-align:middle;/*margin-right:-3px*/}
    </style>
</head>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td width="1000" class="biaoti">
                        <asp:Label id="Label1" runat="server" text="投标项目表"></asp:Label></td>
                    <td width="400" class="formno">
                        <asp:Label id="Label2" runat="server" text="项目编号:"></asp:Label>
                        <aspxform:XLabel id="XLabel1" runat="server" XDataBind="DF_CRM_BidProject.ProjectNumber" ValueToDisplayText Font-Bold="True" BackColor="#8AB3DF" Text="--系统自动生成--"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
			 <tr>
                    <td height="13" colspan="3">
                          <asp:Label id="XLabel191" runat="server" text="标记 * 的为业务员必填项" valuetodisplaytext value forecolor="Red" font-size="8pt"></asp:Label>
                     </td>
                   
                </tr>
                <tr>
                    <td height="22" class="title1" colspan="4">
                        <asp:Label id="Label8" runat="server" text="基本信息"></asp:Label>
                        <aspxform:XTextBox id="SalesOpportID" runat="server" HiddenInput="True" XDataBind="DF_CRM_BidProject.SalesOpportID" BorderWidth="1" BorderColor="#DCDCDC" width="50px" ValueToDisplayText></aspxform:XTextBox>
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" HiddenExpress="1" DataMap="ownerId->DF_CRM_BidProject.AppAccount;ownerName->DF_CRM_BidProject.AppName;BU->DF_CRM_BidProject.BU;Department->DF_CRM_BidProject.Department;Phone->DF_CRM_BidProject.Phone;SalesOrganizationCode->DF_CRM_BidProject.TenderSubject;" XDataSource="TableName:DF_CRM_SalesOpportunities;Filter:ItemId->DF_CRM_BidProject.SalesOpportID"></aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td height="22" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label22" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label21" runat="server" text="项目名称"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_CRM_BidProject.ProjectName" BorderWidth="1" BorderColor="#DCDCDC" width="100%" Rows="2"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label16" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label3" runat="server" text="投标主体"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList5" runat="server"  XDataBind="DF_CRM_BidProject.TenderSubject" XDataSource Width="200px" Font-Bold="False" PromptText="----请选择----">
                            <asp:ListItem Value="1000">东方中科北京</asp:ListItem>
                            <asp:ListItem Value="1010">东方中科上海</asp:ListItem>
                            <asp:ListItem Value="1020">东方中科深圳</asp:ListItem>
                             <asp:ListItem Value="2100">苏州博德</asp:ListItem>
                            <asp:ListItem Value="2000">上海颐合</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label4" runat="server" text="招标编号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_CRM_BidProject.TenderNumber" BorderWidth="1" BorderColor="#DCDCDC" width="70%" Rows="2"></aspxform:XTextBox>
                    </td>
                   <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label7" runat="server" text="业务范围"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList3" XDataBind="DF_CRM_BidProject.BusinessArea" runat="server">
                              <asp:ListItem value="1100">销售业务</asp:ListItem>
                            <asp:ListItem value="1200">租赁业务</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                     
                </tr>
				  <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label25" runat="server" text="创建用户"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XLabel id="XLabel9" runat="server" XDataBind="DF_CRM_BidProject.CreateName" BackColor="#D4E4FE"></aspxform:XLabel>
                         <aspxform:XLabel id="XLabel8" runat="server" HiddenExpress="1" XDataBind="DF_CRM_BidProject.CreateAccount" BackColor="#D4E4FE"></aspxform:XLabel>
                        </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label9" runat="server" text="创建日期"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XLabel id="XLabel5" runat="server" XDataBind="DF_CRM_BidProject.CreateDate" BackColor="#D4E4FE"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label5" runat="server" text="业务员"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XLabel id="XLabel3" runat="server" XDataBind="DF_CRM_BidProject.AppName" BackColor="#D4E4FE"></aspxform:XLabel>
						&nbsp;&nbsp; <aspxform:XLabel id="XLabel7" runat="server" XDataBind="DF_CRM_BidProject.AppAccount" BackColor="#D4E4FE"></aspxform:XLabel>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label6" runat="server" text="部门"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XLabel id="XLabel2" runat="server" XDataBind="DF_CRM_BidProject.Department" BackColor="#D4E4FE"></aspxform:XLabel>
                    </td>
                </tr>
               
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label10" runat="server" text="联系电话"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XLabel id="XLabel4" runat="server" XDataBind="DF_CRM_BidProject.Phone" BackColor="#D4E4FE"></aspxform:XLabel>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label11" runat="server" text="事业部"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XLabel id="XLabel6" runat="server" XDataBind="DF_CRM_BidProject.BU" BackColor="#D4E4FE"></aspxform:XLabel>
                    </td>
                </tr>
                 
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="22" class="title1" colspan="4">
                        <asp:Label id="Label13" runat="server" text="付款信息"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label14" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label15" runat="server" text="收款人名称"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_CRM_BidProject.PayeeName" BorderWidth="1" BorderColor="#DCDCDC" width="75%"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label17" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label18" runat="server" text="收款人开户行"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_CRM_BidProject.PayeeBankAccount" BorderWidth="1" BorderColor="#DCDCDC" width="75%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label23" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label19" runat="server" text="收款人行号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_CRM_BidProject.PayeebankNumber" BorderWidth="1" BorderColor="#DCDCDC" width="75%"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label24" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label20" runat="server" text="收款人账号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_CRM_BidProject.PayeeAccount" BorderWidth="1" BorderColor="#DCDCDC" width="75%"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200">
                        <asp:Label id="Label35" runat="server" text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td>
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_CRM_BidProject.Remark" HiddenInput="False" BorderWidth="1px" BorderColor="Gainsboro" width="100%" ValueToDisplayText Max="0" Min="0" Rows="3" TextMode="MultiLine" Height="52px"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" Display="None" ForeColor="Red" ErrorMessage="请填写项目名称" ControlToValidate="XTextBox1">请填写项目名称</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" Display="None" ForeColor="Red" ErrorMessage="请选择投标主体" ControlToValidate="XDropDownList5">请选择投标主体</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" Display="None" ForeColor="Red" ErrorMessage="请填写收款人名称" ControlToValidate="XTextBox2">请填写收款人名称</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" Display="None" ForeColor="Red" ErrorMessage="请填写收款人开户行" ControlToValidate="XTextBox3">请填写收款人开户行</aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" Display="None" ForeColor="Red" ErrorMessage="请填写收款人行号" ControlToValidate="XTextBox4">请填写收款人行号</aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" Display="None" ForeColor="Red" ErrorMessage="请填写收款人账号" ControlToValidate="XTextBox5">请填写收款人账号</aspxform:XRequiredFieldValidator>
        &nbsp; 
    </form>
</body>
</html>
