<%@ 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)//首次加载
        //{
        //    string currency ="DFZK"+ DateTime.Now.Year.ToString()+DateTime.Now.Month.ToString()+DateTime.Now.Day.ToString()+DateTime.Now.Hour.ToString()+DateTime.Now.Minute.ToString()+DateTime.Now.Second.ToString();
        //    this.XTextBox44.Text = currency;
        //}
    }

</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" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti">
                        <asp:Label id="Label1" runat="server" text="待入库到货信息表"></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="Label15" runat="server" text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel1" runat="server" Text="--系统自动生成--" XDataBind="DF_MM_TobeWarehousing.WarehousingNumber" BackColor="#8AB3DF"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="18" class="title1" colspan="4">
                        <asp:Label id="Label3" runat="server" text="基本信息"></asp:Label></td>
                </tr>
                <tr>
                    <td height="12" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label4" runat="server" text="创建人"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_MM_TobeWarehousing.CreateName" ReadOnly="true" ValueColumn="Apply1" DisplayColumn="Apply1" Width="80%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_MM_TobeWarehousing.Account" ReadOnly="true" Width="80%" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="true"></aspxform:XTextBox>
                    </td>
                    <td height="12" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label2" runat="server" text="创建时间"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_MM_TobeWarehousing.CreateDate" ReadOnly="true" Width="80%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="18" class="title1" colspan="4">
                        <asp:Label id="Label5" runat="server" text="到货信息"></asp:Label></td>
                </tr>
                <tr>
                    <td height="12" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label6" runat="server" text="货运方式"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="ArrivalType" runat="server" XDataBind="DF_MM_TobeWarehousing.ArrivalType" Width="80%" PromptText="--请选择--">
                            <asp:ListItem Value="快递">快递</asp:ListItem>
                            <asp:ListItem Value="同城闪送">同城闪送</asp:ListItem>
                            <asp:ListItem Value="供应商自送">供应商自送</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%" hiddenexpress='DF_MM_TobeWarehousing.ArrivalType !="快递"'>
                        <asp:Label id="Label16" runat="server" text="快递公司名称"></asp:Label> 
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%" hiddenexpress='DF_MM_TobeWarehousing.ArrivalType !="快递"'>
                        <aspxform:XTextBox id="CourierServicesCompany" runat="server" XDataBind="DF_MM_TobeWarehousing.CourierServicesCompany" Width="80%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="12" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label9" runat="server" text="运单号"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="DF_MM_TobeWarehousing.WaybillNo" Width="35%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="12" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label7" runat="server" text="发货单位名称"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XTextBox id="XTextBoxSendCompany" runat="server" XDataBind="DF_MM_TobeWarehousing.SendCompany" Width="80%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="12" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label8" runat="server" text="发货地址"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XTextBox id="XTextBoxAdd" runat="server" XDataBind="DF_MM_TobeWarehousing.SendAddress" Width="80%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label10" runat="server" text="到货库存地"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList21" runat="server" XDataBind="DF_MM_TobeWarehousing.Storage" ValueColumn="Storage" DisplayColumn="Storage" Width="150px" XDataSource="TableName:DF_SD_ExchangeStore;Filter:StorageManger->DF_MM_TobeWarehousing.CreateName"></aspxform:XDropDownList>
                        <%-- <aspxform:XDropDownList id="Storage" runat="server" Width="80%" XDataBind="DF_MM_TobeWarehousing.Storage" PromptText="--请选择--">
                            <asp:ListItem Value="北京">北京</asp:ListItem>
                            <asp:ListItem Value="深圳">深圳</asp:ListItem>
                            <asp:ListItem Value="上海">上海</asp:ListItem>
                        </aspxform:XDropDownList>--%></td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label11" runat="server" text="到货日期"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_MM_TobeWarehousing.ArrivalDate" Width="80%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="12" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label110" runat="server" text="产品型号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox48" runat="server" XDataBind="DF_MM_TobeWarehousing.PrdtModel" Width="80%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label12" runat="server" text="数量"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_MM_TobeWarehousing.Number" Width="80%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBoxFormState" runat="server" XDataBind="DF_MM_TobeWarehousing.FormState" Width="10%" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBoxDeletedState" runat="server" XDataBind="DF_MM_TobeWarehousing.DeletedState" Width="10%" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBoxTaskID" runat="server" XDataBind="DF_MM_TobeWarehousing.TaskID" Width="10%" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="12" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label14" runat="server" text="上传附件"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XAttachments id="Attachement" runat="server" XDataBind="DF_MM_TobeWarehousing.Attachmnet" FileTypesDescription="Word,Excel,Pdf" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.png;*.jpg;*.jpeg;*.gif" RepeatDirection="Horizontal" width="100%"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="18" class="title1" colspan="4">
                        <asp:Label id="Label13" runat="server" text="备注"></asp:Label></td>
                </tr>
                <tr>
                </tr>
                <tr>
                    <td class="tsbottomtext" style="WIDTH: 40%" colspan="4">
                        <aspxform:XTextBox id="XTextBoxRemarks" runat="server" XDataBind="DF_MM_TobeWarehousing.Remarks" BorderColor="#DCDCDC" BorderWidth="1" width="100%" Height="50" Rows="4"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
