<%@ 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["serialNum"] != null)
            {
                this.XTextBox16.Text = Request.QueryString["serialNum"].ToString();
            }
        }
    }

</script>
<html xmlns:XForm="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <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>
    <script type="text/javascript">
        function ProductDep(ProductName, ProductModel) {
            var dep = ProductModel + "|" + ProductName;
            return dep;
        }

          function GetPhone(Phone,MobilePhone){
            var ph=Phone+"/"+MobilePhone;
            return ph;
        }

    </script>
</head>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <table width="800" align="center" style="BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="20" style="BORDER-BOTTOM: medium none" colspan="2">
                        <div align="right">
                            <aspxform:XPrintButton id="XPrintButton1" runat="server" PrintOut="False" Orientation="Horizontal"></aspxform:XPrintButton>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="850" height="70" align="center" style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none">
                        <font face="宋体" size="5">北京东方中科集成科技股份有限公司<br />
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 出 库 签 收 单 <font size="2">&nbsp;单号</font> 
                        <aspxform:XTextBox id="XTextBox22" runat="server" Express="FormNo" DisableBehavior="ReadOnly" width="120px" BorderWidth="0px" BorderColor="Gainsboro" Max="0" Min="0" HiddenInput="False" ValueToDisplayText></aspxform:XTextBox>
                        <font size="2">发货日期</font> 
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="SendGoodsDate" DisplayOnly="True"></aspxform:XDateTimePicker>
                        </font></td>
                </tr>
            </tbody>
        </table>
        <table width="850" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td style="HEIGHT: 30px" colspan="8">
                        <font face="宋体" size="3"><strong>交货单号:</strong> 
                        <aspxform:XTextBox id="XTextBox9" runat="server" DisableBehavior="ReadOnly" BorderWidth="0px" BorderColor="Gainsboro" Max="0" Min="0" HiddenInput="False" ValueToDisplayText XDataBind="DeliveryFormNo" Font-Size="Medium"></aspxform:XTextBox>
                        </font></td>
                </tr>
                <tr>
                    <td height="30">
                        <font face="宋体" size="3"><strong>物料凭证号:</strong></font> 
                    </td>
                    <td width="100" align="right" colspan="2">
                        <font face="宋体" size="3">
                        <aspxform:XTextBox id="XTextBox19" runat="server" DisableBehavior="ReadOnly" width="100%" BorderWidth="0px" BorderColor="Gainsboro" XDataBind="MBLNR" Font-Size="Medium"></aspxform:XTextBox>
                        </font></td>
                    <td width="95" align="left">
                        <font face="宋体" size="3"><strong>客户PO号:</strong> </font></td>
                    <td width="120" colspan="3">
                        <aspxform:XTextBox id="XTextBox2" runat="server" DisableBehavior="ReadOnly" width="180px" BorderWidth="0px" BorderColor="Gainsboro" Max="0" Min="0" HiddenInput="False" ValueToDisplayText XDataBind="po" Font-Size="Medium"></aspxform:XTextBox>
                        <font face="宋体" size="3"><strong></strong></font></td>
                    <td width="78" align="right">
                        <font face="宋体" size="3"><strong>业务员:</strong></font></td>
                    <td width="83">
                        <aspxform:XTextBox id="XTextBox4" runat="server" DisableBehavior="ReadOnly" width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="SalesMan" Font-Size="Medium"></aspxform:XTextBox>
                        <font face="宋体" size="3"><strong></strong></font></td>
                </tr>
                <tr>
                    <td>
                        <font face="宋体" size="3" style="HEIGHT: 30px">
                        <aspxform:XCheckBox id="XCheckBox1" runat="server" Text="业务员自提" Font-Bold="True"></aspxform:XCheckBox>
                        </font></td>
                    <td width="100">
                        <font face="宋体" size="3"><strong>提货人签字</strong></font></td>
                    <td>
                        <font face="宋体" size="3"><strong>
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="MBLNR" DisplayOnly="True"></aspxform:XDateTimePicker>
                        </strong></font></td>
                    <td>
                        <font face="宋体" size="3"><strong>日期:</strong></font></td>
                    <td>
                        <aspxform:XTextBox id="XTextBox6" runat="server" DisableBehavior="ReadOnly" width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="po"></aspxform:XTextBox>
                    </td>
                    <td colspan="3">
                    </td>
                    <td>
                        <aspxform:XTextBox id="XTextBox7" runat="server" DisableBehavior="ReadOnly" width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="salesMan"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr style="HEIGHT: 20px">
                    <td height="38">
                        <font face="宋体" size="3">
                        <aspxform:XCheckBox id="XCheckBox2" runat="server" Text="发货" Font-Bold="True"></aspxform:XCheckBox>
                        </font></td>
                    <td>
                        <font face="宋体" size="3"><strong><asp:Label id="Label1" runat="server" text="发货方式："></asp:Label></strong></font></td>
                    <td colspan="6">
                        <aspxform:XCheckBox id="XCheckBox7" runat="server" Text="顺丰" Width="55px"></aspxform:XCheckBox>
                        <aspxform:XCheckBox id="XCheckBox6" runat="server" Text="跨越" Width="55px"></aspxform:XCheckBox>
                        <aspxform:XCheckBox id="XCheckBox3" runat="server" Text="京东" Width="43px" Height="19px"></aspxform:XCheckBox>
                        <aspxform:XCheckBox id="XCheckBox4" runat="server" Text="其他" Width="46px"></aspxform:XCheckBox>
                        (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;) 
                    </td>
                </tr>
                <tr style="HEIGHT: 20px">
                    <td>
                    </td>
                    <td>
                        <font face="宋体" size="3" style="HEIGHT: 30px"><asp:Label id="Label2" runat="server" text="时效：" font-bold="True"></asp:Label></font></td>
                    <td colspan="2">
                        <aspxform:XCheckBox id="XCheckBox5" runat="server" Text="次日达" Width="59px"></aspxform:XCheckBox>
                        &nbsp;<aspxform:XCheckBox id="XCheckBox8" runat="server" Text="隔日达" Width="58px"></aspxform:XCheckBox>
                        &nbsp;&nbsp; 
                    </td>
                    <td colspan="3">
                        <asp:Label id="Label4" runat="server" text="签回单：" font-bold="True"></asp:Label>
                        <aspxform:XCheckBox id="XCheckBox10" runat="server" Text="是" Width="35px"></aspxform:XCheckBox>
                        &nbsp;<aspxform:XCheckBox id="XCheckBox11" runat="server" Text="否" Width="48px"></aspxform:XCheckBox>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 120px">
                        <font face="宋体" size="3"><strong>收货单位名称:</strong></font></td>
                    <td colspan="8">
                        <font face="宋体" size="3">
                        <aspxform:XTextBox id="XTextBox17" runat="server" DisableBehavior="ReadOnly" width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="CompanyName" Font-Size="Medium"></aspxform:XTextBox>
                        </font></td>
                </tr>
                <tr>
                    <td>
                        <font face="宋体" size="3"><strong>收货地址:</strong></font></td>
                    <td colspan="8">
                        <font face="宋体" size="3">
                        <aspxform:XTextBox id="XTextBox5" runat="server" DisableBehavior="ReadOnly" width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="SendGoodsAddr" Font-Size="Medium"></aspxform:XTextBox>
                        </font></td>
                </tr>
                <tr>
                    <td>
                        <font face="宋体" size="3"><strong>收货联系人:</strong> </font></td>
                    <td colspan="2">
                        <font face="宋体" size="3">
                        <aspxform:XTextBox id="XTextBox8" runat="server" DisableBehavior="ReadOnly" width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="Contact" Font-Size="Medium"></aspxform:XTextBox>
                        </font></td>
                    <td align="right">
                        <font face="宋体" size="3"><strong>电话:</strong> </font></td>
                    <td colspan="2">
                        <font face="宋体" size="3"> 
                        <div style="WORD-WRAP: break-word; WIDTH: 100%">
                            <aspxform:XLabel id="XLabel3" runat="server" Express="javascript('GetPhone',Phone,MobilePhone)" Font-Size="Medium" text="Label" Width="100%"></aspxform:XLabel>
                        </div>
                        </font></td>
                    <td align="right">
                        <font face="宋体" size="3"><strong>邮编:</strong> </font></td>
                    <td width="83" height="30" colspan="2">
                        <font face="宋体" size="3">
                        <aspxform:XTextBox id="XTextBox10" runat="server" DisableBehavior="ReadOnly" width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="Code" Font-Size="Medium"></aspxform:XTextBox>
                        </font></td>
                </tr>
            </tbody>
        </table>
        <table width="850" align="center" style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-LEFT: medium none" border="0" cellspacing="0" cellpadding="0" datamap="DeliveryLineNum->SerialNum;Storage->store;ProductModel->ProductModel;ProductName->ProductName;Number->Number;SerialNo->SerialNo" xdatasource="TableName:V_DF_SD_IncrementDelivery_Detail;Filter:FormNo->FormNo" dynamicarea="1,1">
            <tbody>
                <tr align="left" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-LEFT: black 1px solid">
                    <td width="50" height="18">
                        <font face="宋体" size="3"><strong><asp:Label id="Label27" runat="server" text="序号"></asp:Label></strong></font></td>
                    <td width="120">
                        <font face="宋体" size="3"><strong><asp:Label id="Label3" runat="server" text="库存地"></asp:Label></strong></font></td>
                    <td width="250">
                        <font face="宋体" size="3"><strong><asp:Label id="Label31" runat="server" text="产品描述"></asp:Label></strong></font></td>
                    <td width="80">
                        <font face="宋体" size="3"><strong>&nbsp;<asp:Label id="Label33" runat="server" text="数量"></asp:Label></strong></font></td>
                    <td width="300">
                        <font face="宋体" size="3"><strong><asp:Label id="Label34" runat="server" text="序列号"></asp:Label><strong></strong></strong></font></td>
                </tr>
                <tr align="center" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                    <td>
                        <aspxform:XTextBox id="XTextBox11" runat="server" DisableBehavior="ReadOnly" width="50px" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="SerialNum" Font-Size="Medium"></aspxform:XTextBox>
                    </td>
                    <td>
                        <aspxform:XLabel id="XLabel2" runat="server" width="100%" XDataBind="store" Font-Size="Medium" text="Label"></aspxform:XLabel>
                    </td>
                    <td>
                        <aspxform:XTextBox id="XTextBox13" runat="server" Express="javascript('ProductDep',ProductName,ProductModel)" DisableBehavior="ReadOnly" width="100%" BorderWidth="0px" BorderColor="Gainsboro" Max="0" Min="0" HiddenInput="False" ValueToDisplayText Font-Size="Medium"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox12" runat="server" BorderWidth="1" BorderColor="#DCDCDC" XDataBind="ProductName" Font-Size="Medium" Width="20px" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox3" runat="server" BorderWidth="1" BorderColor="#DCDCDC" XDataBind="ProductModel" Font-Size="Medium" Width="20px" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                    <td>
                        <aspxform:XLabel id="XLabel4" runat="server" width="100%" XDataBind="Number" Font-Size="Medium" text="Label"></aspxform:XLabel>
                    </td>
                    <td style="HEIGHT: auto">
                        <div style="WORD-WRAP: break-word; HEIGHT: auto; WIDTH: 350px">
                            <aspxform:XLabel id="XLabel1" runat="server" XDataBind="SerialNo" Font-Size="Medium" text="Label" Width="100%"></aspxform:XLabel>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <div align="center">
            <aspxform:XTextBox id="XTextBox16" runat="server" BorderWidth="1" BorderColor="#DCDCDC" XDataBind="FormNo" Height="10px" HiddenExpress="1"></aspxform:XTextBox>
            <aspxform:XTextBox id="XTextBox18" runat="server" BorderWidth="1" BorderColor="#DCDCDC" XDataBind="TaskID" Height="10px" HiddenExpress="1"></aspxform:XTextBox>
            <aspxform:XTextBox id="XTextBox20" runat="server" DisableBehavior="ReadOnly" width="20px" BorderWidth="0px" BorderColor="Gainsboro" Max="0" Min="0" HiddenInput="True" ValueToDisplayText XDataBind="Phone" Font-Size="Medium"></aspxform:XTextBox>
            <aspxform:XTextBox id="XTextBox21" runat="server" DisableBehavior="ReadOnly" width="20px" BorderWidth="0px" BorderColor="#DCDCDC" HiddenInput="True" XDataBind="MobilePhone" Font-Size="Medium"></aspxform:XTextBox>
            <aspxform:XDropDownList id="XDropDownList1" runat="server" Height="10px" HiddenExpress="1" DataMap="TaskID->TaskID;SalesMan->SalesMan;DeliveryFormNo->DeliveryFormNo;MBLNR->MBLNR;UserCompanyName->CompanyName;Contact->Contact;SendGoodsAddr->SendGoodsAddr;Phone->Phone;MobilePhone->MobilePhone;Code->Code;CustomerContractNo->PO" ValueColumn="FormNo" DisplayColumn="FormNo" XDataSource="TableName:DF_SD_IncrementDelivery_Info;Filter:FormNo->FormNo">
                <asp:ListItem Selected="True">未绑定</asp:ListItem>
            </aspxform:XDropDownList>
        </div>
        <table width="850" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="800">
                        <div><font face="宋体" size="2">尊敬的客户：请收到上述货物时确认规格、型号、数量、序列号、外观完好、附件齐全后在“收货人签字”处签字,</font> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                            <br />
                            <font face="宋体" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; “收货日期”处签署收到货物的日期。</font>&nbsp;<br />
                            <font face="宋体" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如本单随货发运，请您签字后将原件给本次送货的物流公司寄回，非常感谢！ </font>
                        </div>
                        <p>
                            <br />
                            <font face="宋体" size="3"><strong>收货人签字：</strong></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font face="宋体" size="3"><strong>收货日期： </strong></font>
                        </p>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
