<%@ 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.XTextBox2.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: 16px;
            FONT-FAMILY: verdana;
        }

        TABLE {
            border-collapse: collapse;
            FONT-SIZE: 16px;
            FONT-FAMILY: verdana;
        }

        P {
            PADDING-RIGHT: 0px;
            PADDING-LEFT: 0px;
            PADDING-BOTTOM: 0px;
            MARGIN: 0px;
            PADDING-TOP: 0px;
            FONT-SIZE: 16px;
            FONT-FAMILY: verdana;
        }

        TD {
            PADDING-RIGHT: 0px;
            PADDING-LEFT: 2px;
            PADDING-BOTTOM: 0px;
            font-size:16px;
        }

            TD.NoPadding {
                PADDING-RIGHT: 0px;
                PADDING-LEFT: 0px;
                PADDING-BOTTOM: 0px;
                PADDING-TOP: 0px;
                font-size:16px;
            }

        INPUT {
            font-size:16px;
                                }



        TEXTAREA {
            FONT-SIZE: 16px;
        }

    </style>
</head>
<body style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none">
    <form runat="server">
        <!-- Insert content here -->
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="20" align="right" colspan="3">
                        <aspxform:XPrintButton id="XPrintButton1" runat="server" Orientation="Horizontal"></aspxform:XPrintButton>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td width="950" height="37" align="center">
                        &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;
                        <aspxform:XLabel id="XLabel1" runat="server" Font-Bold="True" align="center" Font-Size="20pt" Value ValueToDisplayText Text="产品交接单"></aspxform:XLabel>
                    </td>
                    <td width="250">
                        <aspxform:XLabel id="XLabel23" runat="server" Font-Bold="True" Value ValueToDisplayText text="表单号："></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel28" runat="server" XDataBind="formNo"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td align="right" colspan="2">
                    </td>
                    <td width="250">
                        <aspxform:XLabel id="XLabel26" runat="server" Font-Bold="True" Value ValueToDisplayText text="日期："></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel27" runat="server" XDataBind="appDate"></aspxform:XLabel>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    </td>
                </tr>
                <tr>
                </tr>
                <tr>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="10%" height="27" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel41" runat="server" Font-Bold="True" Value ValueToDisplayText text="客户名称："></aspxform:XLabel>
                    </td>
                    <td width="90%" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid" colspan="5">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="customerName" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="27" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel2" runat="server" Font-Bold="True" Value ValueToDisplayText text="联系地址："></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid" colspan="5">
                        <aspxform:XTextBox id="XTextBox45" runat="server" XDataBind="contactaddress" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="10%" height="27" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel4" runat="server" Font-Bold="True" Value ValueToDisplayText text="联系人："></aspxform:XLabel>
                    </td>
                    <td width="20%" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="contacts" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td width="10%" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel5" runat="server" Font-Bold="True" Value ValueToDisplayText Text="移动电话:"></aspxform:XLabel>
                    </td>
                    <td width="25%" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="mobile" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td width="10%" height="27" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel20" runat="server" Font-Bold="True" Value ValueToDisplayText text="联系电话："></aspxform:XLabel>
                    </td>
                    <td width="25%" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="telphone" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="27" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel8" runat="server" Font-Bold="True" Value ValueToDisplayText text="SAP-SO号："></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid" colspan="3">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="so" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel9" runat="server" Font-Bold="True" Value ValueToDisplayText Text="出货库存地:"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="returnStore" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0" xdatasource="TableName:DF_ProductLendApp_Detail;Filter:TaskID->taskID;BufferType:RuntimeUpdate" deletelastrow="Denied" datamap="ProductSAPID->sapID;ProductModel->prdtModel;ProductName->prdtName;Nunmber->number;SerialNo->serialNo;DeliveryMode->outType" dynamicarea="1,1">
            <tbody>
                <tr>
                    <td width="70" height="30" align="center" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel62" runat="server" Font-Bold="True" Value ValueToDisplayText Text="序号"></aspxform:XLabel>
                    </td>
                    <td width="150" align="center" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel38" runat="server" Font-Bold="True" Value ValueToDisplayText Text="销售产品SAPID"></aspxform:XLabel>
                    </td>
                    <td width="200" align="center" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel39" runat="server" Font-Bold="True" Value ValueToDisplayText Text="产品型号"></aspxform:XLabel>
                    </td>
                    <td width="200" align="center" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel40" runat="server" Font-Bold="True" Value ValueToDisplayText Text="产品名称"></aspxform:XLabel>
                    </td>
                    <td width="70" align="center" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel63" runat="server" Font-Bold="True" Value ValueToDisplayText Text="数量"></aspxform:XLabel>
                    </td>
                    <td width="400" align="center" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel22" runat="server" Font-Bold="True" Value ValueToDisplayText Text="序列号"></aspxform:XLabel>
                    </td>
                    <td width="100" align="center" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel24" runat="server" Font-Bold="True" Value ValueToDisplayText Text="出库方式"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td height="24" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XGridLineNo id="XGridLineNo3" runat="server" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC" TextAlign="Center" BorderStyle="None" BackColor="Transparent">1</aspxform:XGridLineNo>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox37" runat="server" XDataBind="sapID" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox38" runat="server" XDataBind="prdtModel" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox39" runat="server" XDataBind="prdtName" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC" TextAlign="Center" HiddenInput="False"></aspxform:XTextBox>
                    </td>
                    <td valign="middle" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid" textalign="Center">
                        <aspxform:XTextBox id="XTextBox58" runat="server" XDataBind="number" BorderWidth="0px" BorderColor="#DCDCDC" TextAlign="Center" width="100%"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid" textalign="Center">
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="serialNo" BorderWidth="0px" BorderColor="#DCDCDC" TextAlign="Center" width="100%"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid" textalign="Center">
                        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="outType" BorderWidth="0px" BorderColor="#DCDCDC" TextAlign="Center" width="100%"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td>
                        <asp:Label id="Label1" runat="server" text="尊敬的客户：请收到上述货物以后，确认型号、数量、序列号、外观完好、附件齐全后在收货人处签字。" font-bold="True"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label id="Label2" runat="server" text="            如本单随货发运，请您签字后扫描回传至对应我司销售工程师邮箱内，或者转交给送货人员寄回我司，非常感谢。" font-bold="True"></asp:Label></td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="495">
                        <asp:Label id="Label3" runat="server" text="收货人签字：" font-bold="True"></asp:Label></td>
                    <td width="701">
                        <asp:Label id="Label4" runat="server" text="收货日期:" font-bold="True"></asp:Label></td>
                </tr>
            </tbody>
        </table>
        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="serialNum" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True"></aspxform:XTextBox>
        <aspxform:XDropDownList id="XDropDownList1" runat="server" ValueColumn="TaskID" DisplayColumn="SerialNum" XDataSource="TableName:DF_ProductLendApp_Info;Filter:SerialNum->serialNum" DataMap="CreateDate->appDate;ContactTel->telphone;TaskID->taskid;ContactMobile->mobile;CustomerName->customerName;ContactAddress->contactaddress;OutStorage->returnStore;SO->so;Contact->contacts;SerialNum->formNo" HiddenExpress="1">
            <asp:ListItem Selected="True">未绑定</asp:ListItem>
        </aspxform:XDropDownList>
        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="taskid" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True"></aspxform:XTextBox>
    </form>
</body>
</html>
