<%@ 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 (!string.IsNullOrEmpty(Request.QueryString["SAPSO"]))
        {
            this.XTextBox6.Text = Convert.ToString(Request.QueryString["SAPSO"]);
            this.XTextBox23.Text = Convert.ToString(Request.QueryString["FormNo"]);
        }
    }

</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" />
    <script src="../../../../Oimec/Script/jquery-3.2.1.js"></script>
    <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 GetContactPhone(code, ext, phone) {
            code = agent.Eles[document.getElementById("XTextBox34").getAttribute("xform_xele_index")].getValue();
            ext = agent.Eles[document.getElementById("XTextBox35").getAttribute("xform_xele_index")].getValue();
            phone = agent.Eles[document.getElementById("XTextBox36").getAttribute("xform_xele_index")].getValue();
            if (code.length > 0) {
                code = code;
            }
            if (ext.length > 0 && code.length > 0) {
                code += "-" + ext
            }
            else {
                code += ext
            }

            if (phone.length > 0 && ext.length > 0 && code.length > 0) {
                code += "-" + phone;
            }
            else {
                code += phone
            }
            return code;
        }

        //发运要求
        function checkSendRequire(str) {
            var flag = 0;
            if (str != null && str != undefined && str != '') {
                if (str.indexOf("用户指定文件需要随货发运") != -1)
                    flag = 1;
            }
            return flag;
        }

    </script>
</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 class="biaoti">
                        <asp:Label id="Label1" runat="server" text="增值销售出库申请单"></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="Label2" runat="server" text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel1" runat="server" Text="--系统自动生成--" BackColor="#8AB3DF" XDataBind="DF_SD_IncrementDelivery_Info.FormNo"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="25" colspan="3">
                        <asp:Label id="Label10" runat="server" text="标记*的为申请人必填项" font-bold="True" forecolor="Red"></asp:Label>&nbsp;&nbsp;&nbsp;</td>
                    <td align="right" colspan="1">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td height="17" class="title1" colspan="4">
                        <asp:Label id="Label3" runat="server" text="基本信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox43" runat="server" XDataBind="DF_SD_IncrementDelivery_Info.TaskID" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True" ValueToDisplayText Max="0" Min="0" Width="64px"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="DF_SD_IncrementDelivery_Info.SourceNo" BorderWidth="1" BorderColor="#DCDCDC" ValueToDisplayText="TableName:DF_CRM_SalesOpportunities;FilterColumn:FormNo;DisplayColumn:FormNo" Width="150px" HiddenExpress="1" DataMap="CustomerReceivingName->DF_SD_IncrementDelivery_Info.UserCompanyName;CustomerReceivingContacts->DF_SD_IncrementDelivery_Info.Contact;CustomerReceivingLandline->DF_SD_IncrementDelivery_Info.Phone;CustomerReceivingPhone->DF_SD_IncrementDelivery_Info.MobilePhone;CustomerReceivingAdress->DF_SD_IncrementDelivery_Info.SendGoodsAddr;CustomerReceivingZipCode->DF_SD_IncrementDelivery_Info.Code;CustomerReceivingId->DF_SD_IncrementDelivery_Info.UserCompanyID"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="131" height="24" class="tsbottomlabel">
                        <asp:Label id="Label4" runat="server" text="创建用户"></asp:Label>
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_SD_IncrementDelivery_Info.CreateAccount" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True" ValueToDisplayText Width="20px"></aspxform:XTextBox>
                    </td>
                    <td width="534" class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox1" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Info.CreateName" BorderWidth="1" BorderColor="#DCDCDC" ValueToDisplayText Width="70%" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td width="62" class="tsbottomlabel">
                        <asp:Label id="Label11" runat="server" text="创建日期"></asp:Label></td>
                    <td width="465" class="tsbottomtext">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Info.CreateDate" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="21" class="tsbottomlabel">
                        <asp:Label id="Label5" runat="server" text="业务员"></asp:Label>
                        <aspxform:XTextBox id="XTextBox25" runat="server" XDataBind="DF_SD_IncrementDelivery_Info.SalesManID" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:AttendanceKakaNO" Max="0" Min="0" Width="20px" HiddenExpress="1" DataMap="BUName->DF_SD_IncrementDelivery_Info.BU"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox48" runat="server" XDataBind="StaffSAPNumber" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True" ValueToDisplayText="TableName:DF_SA_SS_SalesPersonnel;FilterColumn:StaffSAPNumber;DisplayColumn:StaffSAPNumber" Max="0" Min="0" Width="20px" DisableBehavior="ReadOnly" DataMap="StaffID->DF_SD_IncrementDelivery_Info.SalesManID;StaffName->DF_SD_IncrementDelivery_Info.SalesMan;Region->DF_SD_IncrementDelivery_Info.Area" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox2" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Info.SalesMan" BorderWidth="1" BorderColor="#DCDCDC" ValueToDisplayText Width="70%" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label46" runat="server" text="事业部"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox18" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Info.BU" BorderWidth="1" BorderColor="#DCDCDC" ValueToDisplayText Width="70%" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label47" runat="server" text="所属地区"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox26" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Info.Area" BorderWidth="1" BorderColor="#DCDCDC" ValueToDisplayText Width="70%" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                    </td>
                    <td class="tsbottomtext">
                    </td>
                </tr>
                <tr>
                </tr>
                <tr>
                    <td height="22" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel9" runat="server" text="*   " forecolor="Red" backcolor="#D4E4FE"></asp:Label><asp:Label id="Label8" runat="server" text="SAP-SO号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_SD_IncrementDelivery_Info.SO" BorderWidth="1" BorderColor="#DCDCDC" Width="150px"></aspxform:XTextBox>
                        &nbsp;<asp:Label id="Label9" runat="server" text="(只能输入一个SO)"></asp:Label> 
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton1" runat="server" Text="获取数据" XClass="Oimec.Dialogs.IncrementDeliveryInfoButton" Width="70px" DataMap="lineItemNo->DF_SD_IncrementDelivery_Detail.SOLineNum;plant->DF_SD_IncrementDelivery_Detail.Plant;storage->DF_SD_IncrementDelivery_Detail.Storage;prdtSAPID->DF_SD_IncrementDelivery_Detail.PrdtSAPID;prdtName->DF_SD_IncrementDelivery_Detail.ProductName;prdtModel->DF_SD_IncrementDelivery_Detail.ProductModel;number->varNumber;lineItemCategory->DF_SD_IncrementDelivery_Detail.LineItemCategory" DisableExpress="Global.StepName!='申请人发起申请'" Filter="SO->DF_SD_IncrementDelivery_Info.SO" AppendMode="ClearAndAppend" Height="22px" UseSubmitBehavior="False"></aspxform:XCustomBrowserButton>
                    </td>
                    <td height="22" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label6" runat="server" text="客户合同号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox20" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Info.CustomerContractNo" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="22" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label15" runat="server" text="SAP交货单号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" colspan="3">
                        <aspxform:XTextBox id="XTextBox5" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Info.DeliveryFormNo" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" ValueToDisplayText Max="0" Min="0" Width="400px" DisableBehavior="ReadOnly" ReadOnly="True" DisableExpress="Global.StepName!='申请人发起申请'"></aspxform:XTextBox>
                        <asp:Label id="XLabel8" runat="server" text="（多个交货单号，以“/”分隔，例如：80012345/80012346）"></asp:Label></td>
                </tr>
                <tr>
                    <td height="22" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label17" runat="server" text="*   " forecolor="Red" backcolor="#D4E4FE"></asp:Label><asp:Label id="Label16" runat="server" text="发货日期"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_SD_IncrementDelivery_Info.SendGoodsDate" BorderWidth="1" BorderColor="#DCDCDC" Width="120px"></aspxform:XDateTimePicker>
                    </td>
                    <td height="22" class="tsbottomlabel" style="WIDTH: 10%">
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                    </td>
                </tr>
                <tr>
                </tr>
                <tr>
                    <td height="24" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel7" runat="server" text="*   " forecolor="Red" backcolor="#D4E4FE"></asp:Label><asp:Label id="Label19" runat="server" text="收货公司名称"></asp:Label>
                        <aspxform:XTextBox id="XTextBox33" runat="server" BackColor="#E6F1F8" XDataBind="CustomerID" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True" ValueToDisplayText="TableName:V_DF_MasterData_Customer;FilterColumn:CustomerSAPID;DisplayColumn:CustomerSAPID" Max="0" Min="0" Width="20px" DisableBehavior="ReadOnly" DataMap="CustomerID->DF_SD_IncrementDelivery_Info.UserCompanyID" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Info.UserCompanyName" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" ValueToDisplayText Max="0" Min="0" Width="70%" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                        &nbsp;<aspxform:XCustomBrowserButton id="XCustomBrowserButton4" runat="server" Text="查询" XClass="Oimec.Dialogs.SelCustomerButton" Width="40px" DataMap="CustomerID->DF_SD_IncrementDelivery_Info.UserCompanyID;CustomerNameCH->DF_SD_IncrementDelivery_Info.UserCompanyName" DisableExpress="Global.StepName!='申请人发起申请'" Height="25px"></aspxform:XCustomBrowserButton>
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="DF_SD_IncrementDelivery_Info.UserCompanyID" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="true" Width="50px"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label12" runat="server" text="*   " forecolor="Red" backcolor="#D4E4FE"></asp:Label><asp:Label id="Label23" runat="server" text="联系人"></asp:Label>
                        <aspxform:XTextBox id="XTextBox34" runat="server" BackColor="#E6F1F8" XDataBind="Tel1" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" ValueToDisplayText Max="0" Min="0" Width="20px" DisableBehavior="ReadOnly" HiddenExpress="1" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox35" runat="server" BackColor="#E6F1F8" XDataBind="Tel2" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" ValueToDisplayText Max="0" Min="0" Width="20px" DisableBehavior="ReadOnly" HiddenExpress="1" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox36" runat="server" BackColor="#E6F1F8" XDataBind="Tel3" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" ValueToDisplayText Max="0" Min="0" Width="20px" DisableBehavior="ReadOnly" HiddenExpress="1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox9" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Info.Contact" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton8" runat="server" Text="查询" XClass="YZSoft.Forms.Field.DataBrowserButton" Width="40px" DataMap="ContactName->DF_SD_IncrementDelivery_Info.Contact;ContactTel->DF_SD_IncrementDelivery_Info.Phone;ContactMobile->DF_SD_IncrementDelivery_Info.MobilePhone;Province->DF_SD_IncrementDelivery_Info.Province;ContactAddr->DF_SD_IncrementDelivery_Info.SendGoodsAddr;ZipCode->DF_SD_IncrementDelivery_Info.Code;City->DF_SD_IncrementDelivery_Info.City" DisableExpress="Global.StepName!='申请人发起申请'  || DF_SD_IncrementDelivery_Info.UserCompanyName=='' || DF_SD_IncrementDelivery_Info.SalesMan==''" Height="25px" UseSubmitBehavior="False" XDataSource="TableName:DF_Partner_ContactZK;Filter:PartnerID->DF_SD_IncrementDelivery_Info.UserCompanyID,ContactType->'客户',OwnerAccount->DF_SD_IncrementDelivery_Info.SalesManID" PopupWndHeight="-1" PopupWndWidth="-1" PrintOut="False" DisplayColumns="ContactName:联系人;ContactTel:联系电话;ContactMobile:联系人手机;ContactAddr:地址,260;ZipCode:邮编"></aspxform:XDataBrowserButton>
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton2" runat="server" Text="新建" XClass="Oimec.Dialogs.ContactAddButton" Width="40px" DisableExpress="Global.StepName!='申请人发起申请'  || DF_SD_IncrementDelivery_Info.UserCompanyName=='' || DF_SD_IncrementDelivery_Info.SalesMan==''" Filter="OwnerAccount->DF_SD_IncrementDelivery_Info.SalesManID,CustomerID->DF_SD_IncrementDelivery_Info.UserCompanyID" Height="25px" PrintOut="False" NavigateUrl="DFJC/Sales/Dialogs/ContactAdd.js" BrowserWindowType="AjaxPanel" BeforePopupCallFunc="MOA"></aspxform:XCustomBrowserButton>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel2" runat="server" text="*   " forecolor="Red" backcolor="#D4E4FE"></asp:Label><asp:Label id="Label21" runat="server" text="发运详细地址"></asp:Label>
                        <aspxform:XTextBox id="XTextBox24" runat="server" XDataBind="ProvinceID" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True" ValueToDisplayText Max="0" Min="0" width="25px"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList19" runat="server" XDataBind="DF_SD_IncrementDelivery_Info.Province" DataMap="ProvinceID->ProvinceID" XDataSource="TableName:DF_Comm_Province" ValueColumn="ProvinceName" DisplayColumn="ProvinceName" PromptText="----请选择----"></aspxform:XDropDownList>
                        <aspxform:XDropDownList id="XDropDownList6" runat="server" XDataBind="DF_SD_IncrementDelivery_Info.City" XDataSource="TableName:DF_Comm_City;Filter:ProvinceID->ProvinceID" ValueColumn="CityName" DisplayColumn="CityName" PromptText="----请选择----"></aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox10" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Info.SendGoodsAddr" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" ValueToDisplayText Max="0" Min="0" Width="240px" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label25" runat="server" text="电话"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Info.Phone" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label50" runat="server" text="邮编"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox28" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Info.Code" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label13" runat="server" text="手机"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox37" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Info.MobilePhone" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator10" runat="server" Display="None" ErrorMessage="请填写收货公司名称！" ControlToValidate="XTextBox8" ValidationGroup="submit" ForeColor="Red">请填写收货公司名称！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" Display="None" ErrorMessage="请选择省份！" ControlToValidate="XDropDownList19" ValidationGroup="submit" ForeColor="Red">请选择省份！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" Display="None" ErrorMessage="请选择市区！" ControlToValidate="XDropDownList6" ValidationGroup="submit" ForeColor="Red">请选择市区！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator11" runat="server" Display="None" ErrorMessage="请填写发运详细地址！" ControlToValidate="XTextBox10" ValidationGroup="submit" ForeColor="Red">请填写发运详细地址！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator12" runat="server" Display="None" ErrorMessage="请填写联系人！" ControlToValidate="XTextBox9" ValidationGroup="submit" ForeColor="Red">请填写联系人！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator13" runat="server" DisableExpress='DF_SD_IncrementDelivery_Info.MobilePhone!=""' Display="None" ErrorMessage="请填写电话！" ControlToValidate="XTextBox11" ValidationGroup="submit" ForeColor="Red">请填写电话！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" DisableExpress=' DF_SD_IncrementDelivery_Info.Phone!=""' Display="None" ErrorMessage="请填写手机！" ControlToValidate="XTextBox37" ValidationGroup="submit" ForeColor="Red">请填写手机！</aspxform:XRequiredFieldValidator>
        &nbsp; 
        <br />
        <table align="center" class="table" id="tablenew" style="WIDTH: 1200px" border="0" cellspacing="0" cellpadding="0" menudock="Left" dynamicarea="1,1">
            <tbody>
                <tr align="center">
                    <td class="tds" style="HEIGHT: 16px; WIDTH: 50px">
                        <asp:Label id="Label27" runat="server" text="序号"></asp:Label></td>
                    <td class="tds" style="WIDTH: 60px">
                        <asp:Label id="Label28" runat="server" text="工厂"></asp:Label></td>
                    <td class="tds" style="WIDTH: 60px">
                        <asp:Label id="Label7" runat="server" text="SO行号"></asp:Label></td>
                    <td class="tds" style="WIDTH: 150px">
                        <asp:Label id="Label30" runat="server" text="销售产品SAPID"></asp:Label></td>
                    <td class="tds" style="WIDTH: 150px">
                        <asp:Label id="Label31" runat="server" text="产品型号"></asp:Label></td>
                    <td class="tds" style="WIDTH: 200px">
                        <asp:Label id="Label32" runat="server" text="产品名称"></asp:Label></td>
                    <td class="tds" style="WIDTH: 40px">
                        <asp:Label id="Label14" runat="server" text="*   " forecolor="Red"></asp:Label><asp:Label id="Label33" runat="server" text="数量"></asp:Label></td>
                    <td class="tds" style="WIDTH: 100px">
                        <asp:Label id="Label34" runat="server" text="SO行项目类别"></asp:Label></td>
                    <td class="tds" style="WIDTH: 220px">
                        <asp:Label id="Label51" runat="server" text="特殊发运说明"></asp:Label></td>
                </tr>
                <tr align="center">
                    <td class="tds1">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_SD_IncrementDelivery_Detail.LineItemNo" BorderWidth="1" Width="100%" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                        <aspxform:XTextBox id="XTextBox7" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Detail.Storage" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="true" Width="10px" DisableBehavior="ReadOnly" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox3" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Detail.Plant" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" DisableBehavior="ReadOnly" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox4" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Detail.SOLineNum" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" DisableBehavior="ReadOnly" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox12" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Detail.PrdtSAPID" BorderWidth="1" BorderColor="#DCDCDC" ValueToDisplayText="TableName:V_DF_MasterData_Product;FilterColumn:SalesSapID;DisplayColumn:SalesSapID" Width="100%" DisableBehavior="ReadOnly" DataMap="ShippingRequirements->DF_SD_IncrementDelivery_Detail.ShippingRequirements" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox13" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Detail.ProductModel" BorderWidth="1" BorderColor="#DCDCDC" ValueToDisplayText Width="100%" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox14" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Detail.ProductName" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_SD_IncrementDelivery_Detail.Number" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" TextAlign="Center" Express="varNumber"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="varNumber" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True" ValueToDisplayText Max="0" Min="0" Width="30px" Format="type:number;.0">0</aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox16" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Detail.LineItemCategory" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="HEIGHT: auto; BORDER-RIGHT-WIDTH: 1px">
                        <aspxform:XTextBox id="XTextBox29" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_IncrementDelivery_Detail.ShippingRequirements" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        &nbsp;<aspxform:XCompareValidator id="XCompareValidator2" runat="server" ErrorMessage="交货数量不能大于可交货数量" ControlToValidate="XTextBox15" ValidationGroup="submit" ForeColor="Red" Operator="LessThanEqual" ValueToCompare="XTextBox21"></aspxform:XCompareValidator>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label37" runat="server" text="发运要求"></asp:Label>
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="varRequire" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True" Width="50px" Express="javascript('checkSendRequire',DF_SD_IncrementDelivery_Info.ShippingRequirements)"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 80%" colspan="3">
                        <aspxform:XCheckBoxList id="XCheckBoxList1" runat="server" XDataBind="DF_SD_IncrementDelivery_Info.ShippingRequirements" RepeatDirection="Horizontal">
                            <asp:ListItem>次日达</asp:ListItem>
                            <asp:ListItem>签收单、运单备注客户PO号</asp:ListItem>
                            <asp:ListItem>用户指定文件需要随货发运</asp:ListItem>
                            <asp:ListItem>周末可正常送货</asp:ListItem>
                        </aspxform:XCheckBoxList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label20" runat="server" text="其他附件"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 80%" colspan="3">
                        <aspxform:XAttachments id="XAttachments2" runat="server" XDataBind="DF_SD_IncrementDelivery_Info.OtherAttachment" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.gif;*.png"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <%--<br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200" class="title1">
                        <asp:Label id="Label35" runat="server" text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="DF_SD_IncrementDelivery_Info.Remark" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" TextMode="MultiLine" Rows="5"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />--%>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" DisableExpress='varRequire!="1"' Display="None" ErrorMessage="请上传其他附件" ControlToValidate="XAttachments2" ValidationGroup="submit" ForeColor="Red">请上传其他附件</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200">
                        <aspxform:XSignTrace id="XSignTrace1" runat="server" BorderWidth="1" BorderColor="#dcdcdc" Width="1200px"></aspxform:XSignTrace>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
