<%@ 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)
    {

    }

</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 PrintTD() {
            var temp = document.getElementById('XLabel1').innerText;
            window.open("销售出库单(套打).aspx?serialNum=" + temp);
        }

        function PrintNTD() {
            var temp = document.getElementById('XLabel1').innerText;
            window.open("销售出库单(非套打).aspx?serialNum=" + temp);
        }
        var returnstatus = false;

        //页面加载时获取当前出货库存地值
        Ext.onReady(function () {
            var deliveryStore = agent.Eles[document.getElementById("XDropDownList2").getAttribute("xform_xele_index")].getValue();
            var stepid = request("pid");
            agent.Eles[document.getElementById("XTextBox40").getAttribute("xform_xele_index")].setValue(stepid);
        });

        //更新抬头物料凭证号和行项目序列号
        function UpdateData() {
            //SAP交货单号
            var deliveryNum = agent.Eles[document.getElementById("XTextBox5").getAttribute("xform_xele_index")].getValue();

            YZSoft.Ajax.request({
                async: false,
                url: YZSoft.$url('Oimec/ApiServices/SalesAPIHandler.ashx'),
                params: {
                    method: 'SalesAPIHandler',
                    DeliveryNum: deliveryNum
                },
                success: function (action) {
                    var data = action.result;
                    var count = data.TotalRows;
                    if (count > 0) {
                        var info = data.headInfo;
                        var items = data.lilist;
                        //物料凭证号
                        agent.Eles[document.getElementById("XTextBox27").getAttribute("xform_xele_index")].setValue(info.MBLNR);
                        var row = data.Rows;
                        var rv = new Array();
                        if (data.Rows > 0) {
                            var tableObj = document.getElementById('tablenew');
                            for (var i = 1; i < tableObj.rows.length; i++) {    //遍历Table的所有Row //遍历Row中的每一列
                                // alert(agent.Eles[tableObj.rows[i].cells[1].children[1].getAttribute("xform_xele_index")].getValue());
                                for (var j = 0; j < data.Rows; j++) {
                                    var item = items[j];
                                    if (agent.Eles[tableObj.rows[i].cells[1].children[0].getAttribute("xform_xele_index")].getValue() == item.LineItemNo) {
                                        //序列号
                                        agent.Eles[tableObj.rows[i].cells[8].children[0].getAttribute("xform_xele_index")].setValue(item.SerialNumber);
                                    }
                                }
                            }
                        }
                    }
                },
                failure: function (response) {
                }
            });
        }


        /*
         联系电话拼接
        */
        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;
        }

        var rescode = 0;
        agent.on('Submit', function (action, actionname) {
            var status = false;
            var strText = "";
            if (actionname == "退回重填") {
                var msg;
                msg = returnmsg(msg);
                //var msg = window.prompt("请输入退回理由：", "");
                if (rescode == 0)
                    return false;
                if (rescode == 1)
                    return true;
                //if (msg == undefined)
                //    return true;
                if (msg == null || msg == "null")
                    return false;
                if (msg == "") {
                    // alert("请输入退回理由");
                    return false;
                }
            }

        });

        function returnmsg(msg) {
            msg = window.prompt("请输入退回理由：", "");
            if (msg == null)
                return msg;
            else if (msg == "" || msg == undefined) {
                alert("请输入退回理由");
                returnmsg(msg);
            }
            else if (msg != "" || msg != null)  //记录退回理由
            {
                if (rescode == 0) {
                    return recordMsg(msg);
                }
            }

        }

        function recordMsg(msg) {
            if (msg != "" || msg != null)  //记录退回理由
            {
                rescode++;
                strText = msg;
                var StepID = request("pid");//tid,pid
                var TaskID = agent.Eles[document.getElementById("XTextBox43").getAttribute("xform_xele_index")].getValue();
                //alert(StepID);
                YZSoft.Ajax.request({
                    async: false,
                    url: YZSoft.$url('Oimec/ApiServices/BPMSysAPIHandler.ashx'),
                    params: {
                        method: 'UpdateReturnReason',
                        StepID: StepID,
                        Comments: strText,
                        TaskID: TaskID
                    },
                    success: function (action) {
                        var data = action.result;
                        var code = data.code;
                        return true;

                    },
                    failure: function (response) {
                    }
                });
            }
            else {

                return false;
            }
            return msg;
        }

        function request(paras) {
            var url = location.href;
            var paraString = url.substring(url.indexOf("?") + 1, url.length).split("&");
            var paraObj = {};
            for (i = 0; j = paraString[i]; i++) {
                paraObj[j.substring(0, j.indexOf("=")).toLowerCase()] = j.substring(j.indexOf("=") + 1, j.length);
            }
            var returnValue = paraObj[paras.toLowerCase()];
            if (typeof (returnValue) == "undefined")
            { return ""; }
            else
            { return returnValue; }
        }


    </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" XDataBind="DF_SD_Delivery_Info.FormNo" 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="25" colspan="3">
                        <asp:Label ID="Label10" runat="server" Text="标记*的为申请人必填项" ForeColor="Red" Font-Bold="True"></asp:Label>&nbsp;
                        <asp:Label ID="Label26" runat="server" Text="标记为*的为出货地的仓库主管人员上传" ForeColor="Blue" Font-Bold="True"></asp:Label>&nbsp;&nbsp;</td>
                    <td align="right" colspan="1">
                        <aspxform:XButton ID="XButton1" runat="server" Text="打印【套打】" XClass="YZSoft.Forms.Field.Button" OnClientClick="PrintTD()" UseSubmitBehavior="False" Height="23px"></aspxform:XButton>
                        &nbsp;<aspxform:XButton ID="XButton2" runat="server" Text="打印【非套打】" OnClientClick="PrintNTD()" Height="23px"></aspxform:XButton>
                    </td>
                </tr>
                <tr>
                    <td height="17" class="title1" colspan="4">
                        <asp:Label ID="Label3" runat="server" Text="基本信息"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox40" runat="server" XDataBind="DF_SD_Delivery_Info.ReturnStepID" Width="64px" Min="0" Max="0" ValueToDisplayText HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox42" runat="server" XDataBind="DF_SD_Delivery_Info.Status" Width="64px" Min="0" Max="0" ValueToDisplayText HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox43" runat="server" XDataBind="DF_SD_Delivery_Info.TaskID" Width="64px" Min="0" Max="0" ValueToDisplayText HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></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_Delivery_Info.CreateAccount" Width="20px" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:Account" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" DataMap="DisplayName->DF_SD_Delivery_Info.CreateName"></aspxform:XTextBox>
                    </td>
                    <td width="534" class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox1" runat="server" XDataBind="DF_SD_Delivery_Info.CreateName" BackColor="#E6F1F8" Width="70%" ValueToDisplayText="TableName:V_Users;FilterColumn:DisplayName;DisplayColumn:DisplayName" BorderColor="#DCDCDC" BorderWidth="1" 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" XDataBind="DF_SD_Delivery_Info.CreateDate" BackColor="#E6F1F8" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" 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_Delivery_Info.SalesManID" Width="20px" Min="0" Max="0" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:AttendanceKakaNO" HiddenInput="False" BorderColor="Gainsboro" BorderWidth="1px" DataMap="BUName->DF_SD_Delivery_Info.BU;Region->DF_SD_Delivery_Info.Area" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox2" runat="server" XDataBind="DF_SD_Delivery_Info.SalesMan" BackColor="#E6F1F8" Width="70%" ValueToDisplayText BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XDropDownList ID="XDropDownList4" runat="server" DataMap="Account->DF_SD_Delivery_Info.SalesManID" HiddenExpress="1" Express="DF_SD_Delivery_Info.SalesMan" DisplayColumn="DisplayName" ValueColumn="DisplayName" XDataSource="TableName:V_Users;Filter:DisplayName->DF_SD_Delivery_Info.SalesMan"></aspxform:XDropDownList>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label46" runat="server" Text="事业部"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox18" runat="server" XDataBind="DF_SD_Delivery_Info.BU" BackColor="#E6F1F8" Width="70%" ValueToDisplayText BorderColor="#DCDCDC" BorderWidth="1" 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" XDataBind="DF_SD_Delivery_Info.Area" BackColor="#E6F1F8" Width="70%" ValueToDisplayText BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel"></td>
                    <td class="tsbottomtext"></td>
                </tr>
                <tr>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="38" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label12" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label6" runat="server" Text="出库方式"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 10%">
                        <aspxform:XDropDownList ID="XDropDownList1" runat="server" XDataBind="DF_SD_Delivery_Info.DeliveryWay" Width="100px" DisableExpress="Global.StepName!='申请人发起申请'" PromptText="----请选择----">
                            <asp:ListItem>自提</asp:ListItem>
                            <asp:ListItem>发货</asp:ListItem>
                            <asp:ListItem>消借出</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <aspxform:XLabel ID="XLabel5" runat="server" BackColor="#D4E4FE" Text="*" HiddenExpress='DF_SD_Delivery_Info.DeliveryWay!="消借出"' ForeColor="Red"></aspxform:XLabel>
                        &nbsp;<asp:Label ID="Label22" runat="server" Text="借出申请单号"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox41" runat="server" XDataBind="DF_SD_Delivery_Info.LendAppTaskID" Width="20px" Min="0" Max="0" ValueToDisplayText HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="width: 15%">
                        <aspxform:XTextBox ID="XTextBox39" runat="server" XDataBind="DF_SD_Delivery_Info.LendAppFormNo" BackColor="#E6F1F8" Width="130px" Min="0" Max="0" ValueToDisplayText HiddenInput="False" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                        &nbsp;<aspxform:XDataBrowserButton ID="XDataBrowserButton1" runat="server" Text="查询" Width="40px" DataMap="TaskID->DF_SD_Delivery_Info.LendAppTaskID;SerialNum->DF_SD_Delivery_Info.LendAppFormNo" XDataSource="TableName:DF_ProductLendApp_Info" DisableExpress="Global.StepName!='申请人发起申请'" DisplayColumns="SerialNum:借出申请单号;SalesManName:业务员;LendDate:借出日期;LendReason:借出原因;ExpectReturnDate:预计归还日期"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label36" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label14" runat="server" Text="实物出货库存地"></asp:Label>
                    </td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XDropDownList ID="XDropDownList6" runat="server" XDataBind="DF_SD_Delivery_Info.PhysicalDelivery" DataMap="BPMStorageID->DF_SD_Delivery_Info.PhysicalDeliveryID" DisplayColumn="StorageName" ValueColumn="StorageName" XDataSource="TableName:DF_Logistics_SAPStorage" DisableExpress="Global.StepName!='申请人发起申请'" PromptText="----请选择----"></aspxform:XDropDownList>
                        <aspxform:XDropDownList ID="XDropDownList2" runat="server" XDataBind="DF_SD_Delivery_Info.PhysicalDeliveryID" Width="100px" DataMap="HandlerAcc->DF_SD_Delivery_Info.StoreManager;StorageMangerID->DF_SD_Delivery_Info.StoreManager1" HiddenExpress="1" DisplayColumn="StorageID" ValueColumn="StorageID" XDataSource="TableName:V_DF_Logistics_SAPStorage" DisableExpress="Global.StepName!='申请人发起申请' &amp;&amp; Global.StepName!='物资出库审核员审核'" PromptText="----请选择----"></aspxform:XDropDownList>
                        <aspxform:XTextBox ID="XTextBox23" runat="server" XDataBind="DF_SD_Delivery_Info.StoreManager" Width="53px" Min="0" Max="0" ValueToDisplayText HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox24" runat="server" XDataBind="DF_SD_Delivery_Info.StoreManager1" Width="20px" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="22" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label7" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label15" runat="server" Text="SAP交货单号"></asp:Label>
                        <aspxform:XDropDownList ID="XDropDownList7" runat="server" Width="21px" DataMap="State->state;TaskID->taskID" HiddenExpress="1" XDataSource="TableName:V_DF_SD_DeliveryGoodsApp;Filter:DeliveryFormNo->DF_SD_Delivery_Info.DeliveryFormNo"></aspxform:XDropDownList>
                        <aspxform:XTextBox ID="XTextBox44" runat="server" XDataBind="state" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Width="20px"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox45" runat="server" XDataBind="taskID" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Width="20px"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox5" runat="server" XDataBind="DF_SD_Delivery_Info.DeliveryFormNo" Width="70%" Min="0" Max="0" ValueToDisplayText HiddenInput="False" BorderColor="Gainsboro" BorderWidth="1px" DisableExpress="Global.StepName!='申请人发起申请'"></aspxform:XTextBox>
                        <aspxform:XCustomBrowserButton ID="XCustomBrowserButton1" runat="server" Text="获取数据" XClass="Oimec.Dialogs.SalesDeliveryInfoButton" UseSubmitBehavior="False" Height="22px" Width="70px" DataMap="prdtModel->DF_SD_Delivery_Detail.ProductModel;number->DF_SD_Delivery_Detail.Number;lineItemNo->DF_SD_Delivery_Detail.LineItemNo;prdtSAPID->DF_SD_Delivery_Detail.PrdtSAPID;SerialNumber->DF_SD_Delivery_Detail.SerialNo;storage->DF_SD_Delivery_Detail.Storage;prdtName->DF_SD_Delivery_Detail.ProductName;lineItemCategory->DF_SD_Delivery_Detail.LineItemCategory;plant->DF_SD_Delivery_Detail.Plant" DisableExpress="Global.StepName!='申请人发起申请'" AppendMode="ClearAndAppend" Filter="deliveryNum->DF_SD_Delivery_Info.DeliveryFormNo"></aspxform:XCustomBrowserButton>
                        <aspxform:XTextBox ID="XTextBox38" runat="server" XDataBind="customerName" BackColor="#E6F1F8" Width="20px" Min="0" Max="0" ValueToDisplayText="TableName:DF_MasterData_Customer;FilterColumn:CustomerNameCH;DisplayColumn:CustomerNameCH" HiddenInput="False" BorderColor="Gainsboro" BorderWidth="1px" DisableBehavior="ReadOnly" DataMap="CustomerID->CustomerID" ReadOnly="True" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">&nbsp;<asp:Label ID="Label24" runat="server" Text="SAP出货库存地"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox32" runat="server" XDataBind="sapstorage" Width="20px" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox31" runat="server" XDataBind="plant" Width="20px" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox19" runat="server" XDataBind="DF_SD_Delivery_Info.DeliveryStore" BackColor="#E6F1F8" Width="70%" ValueToDisplayText BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XDropDownList ID="XDropDownList5" runat="server" DataMap="BPMStorageID->DF_SD_Delivery_Info.PhysicalDeliveryID;StorageName->DF_SD_Delivery_Info.PhysicalDelivery" HiddenExpress="1" DisplayColumn="BPMStorageID" ValueColumn="BPMStorageID" XDataSource="TableName:DF_Logistics_SAPStorage;Filter:SAPStorageID->sapstorage,SAPPlant->plant" DisableExpress="Global.StepName!='申请人发起申请' &amp;&amp; Global.StepName!='物资出库审核员审核'" PromptText="----请选择----"></aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label49" runat="server" Text="物料凭证号"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox27" runat="server" XDataBind="DF_SD_Delivery_Info.MBLNR" BackColor="#E6F1F8" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XButton ID="XButton3" runat="server" Text="更新数据" OnClientClick="UpdateData()" Height="22px" Width="70px" HiddenExpress="Global.StepName=='申请人发起申请' || Global.StepName=='物资出库审核员审核'"></aspxform:XButton>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label16" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label17" runat="server" Text="发货日期"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XDateTimePicker ID="XDateTimePicker2" runat="server" XDataBind="DF_SD_Delivery_Info.SendGoodsDate" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="Global.StepName!='申请人发起申请'"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="22" class="tsbottomlabel" style="width: 10%">
                        <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_Delivery_Info.SO" BackColor="#E6F1F8" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label9" runat="server" Text="客户PO号"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox7" runat="server" XDataBind="DF_SD_Delivery_Info.PO" BackColor="#E6F1F8" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="24" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label18" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label19" runat="server" Text="收货客户名称"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox33" runat="server" XDataBind="CustomerID" BackColor="#E6F1F8" Width="20px" Min="0" Max="0" ValueToDisplayText HiddenInput="False" BorderColor="Gainsboro" BorderWidth="1px" DisableBehavior="ReadOnly" ReadOnly="True" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox8" runat="server" XDataBind="DF_SD_Delivery_Info.UserCompanyName" BackColor="#E6F1F8" Width="70%" Min="0" Max="0" ValueToDisplayText HiddenInput="False" BorderColor="Gainsboro" BorderWidth="1px" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                        &nbsp;<aspxform:XCustomBrowserButton ID="XCustomBrowserButton4" runat="server" Text="查询" XClass="Oimec.Dialogs.SelCustomerButton" Height="25px" Width="40px" DataMap="CustomerID->CustomerID;CustomerNameCH->DF_SD_Delivery_Info.UserCompanyName" DisableExpress="Global.StepName!='申请人发起申请'"></aspxform:XCustomBrowserButton>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <aspxform:XLabel ID="XLabel2" runat="server" BackColor="#D4E4FE" Text="*   " HiddenExpress='DF_SD_Delivery_Info.DeliveryWay!="发货"' ForeColor="Red"></aspxform:XLabel>
                        &nbsp;<asp:Label ID="Label21" runat="server" Text="发运详细地址"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox10" runat="server" XDataBind="DF_SD_Delivery_Info.SendGoodsAddr" BackColor="#E6F1F8" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="width: 10%">
                        <aspxform:XLabel ID="XLabel4" runat="server" BackColor="#D4E4FE" Text="*" HiddenExpress='DF_SD_Delivery_Info.DeliveryWay!="发货"' ForeColor="Red"></aspxform:XLabel>
                        <asp:Label ID="Label23" runat="server" Text="联系人"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox34" runat="server" XDataBind="Tel1" BackColor="#E6F1F8" Width="20px" Min="0" Max="0" ValueToDisplayText HiddenInput="False" BorderColor="Gainsboro" BorderWidth="1px" DisableBehavior="ReadOnly" ReadOnly="True" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox35" runat="server" XDataBind="Tel2" BackColor="#E6F1F8" Width="20px" Min="0" Max="0" ValueToDisplayText HiddenInput="False" BorderColor="Gainsboro" BorderWidth="1px" DisableBehavior="ReadOnly" ReadOnly="True" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox36" runat="server" XDataBind="Tel3" BackColor="#E6F1F8" Width="20px" Min="0" Max="0" ValueToDisplayText HiddenInput="False" BorderColor="Gainsboro" BorderWidth="1px" DisableBehavior="ReadOnly" ReadOnly="True" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox9" runat="server" XDataBind="DF_SD_Delivery_Info.Contact" BackColor="#E6F1F8" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton ID="XDataBrowserButton8" runat="server" Text="查询" XClass="YZSoft.Forms.Field.DataBrowserButton" UseSubmitBehavior="False" Height="25px" Width="40px" DataMap="ContactName->DF_SD_Delivery_Info.Contact;ContactTelCode->Tel1;ContactTel->Tel2;ContactTelExt->Tel3;ContactMobile->DF_SD_Delivery_Info.MobilePhone;ContactAddr->DF_SD_Delivery_Info.SendGoodsAddr;ZipCode->DF_SD_Delivery_Info.Code" XDataSource="TableName:DF_MCustomer_Contact;Filter:CustomerID->CustomerID,OwnerAccount->DF_SD_Delivery_Info.SalesManID" DisableExpress="Global.StepName!='申请人发起申请'  || DF_SD_Delivery_Info.UserCompanyName=='' || DF_SD_Delivery_Info.SalesMan==''" DisplayColumns="ContactName:联系人;ContactTel:联系电话;ContactMobile:联系人手机;ContactAddr:地址,260;ZipCode:邮编" PopupWndWidth="-1" PopupWndHeight="-1" PrintOut="False"></aspxform:XDataBrowserButton>
                        <aspxform:XCustomBrowserButton ID="XCustomBrowserButton2" runat="server" Text="新建" XClass="Oimec.Dialogs.ContactAddButton" Height="25px" Width="40px" DisableExpress="Global.StepName!='申请人发起申请'  || DF_SD_Delivery_Info.UserCompanyName=='' || DF_SD_Delivery_Info.SalesMan==''" Filter="OwnerAccount->DF_SD_Delivery_Info.SalesManID,CustomerID->CustomerID" PrintOut="False" BeforePopupCallFunc="MOA" BrowserWindowType="AjaxPanel" NavigateUrl="DFJC/Sales/Dialogs/ContactAdd.js"></aspxform:XCustomBrowserButton>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <aspxform:XLabel ID="XLabel6" runat="server" BackColor="#D4E4FE" Text="*" HiddenExpress='DF_SD_Delivery_Info.DeliveryWay!="发货"' ForeColor="Red"></aspxform:XLabel>
                        <asp:Label ID="Label25" runat="server" Text="电话"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox11" runat="server" XDataBind="DF_SD_Delivery_Info.Phone" BackColor="#E6F1F8" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True" Express="javascript('GetContactPhone',Tel1,Tel2,Tel3)"></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" XDataBind="DF_SD_Delivery_Info.Code" BackColor="#E6F1F8" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <aspxform:XLabel ID="XLabel3" runat="server" BackColor="#D4E4FE" Text="*" HiddenExpress='DF_SD_Delivery_Info.DeliveryWay!="发货"' ForeColor="Red"></aspxform:XLabel>
                        &nbsp;<asp:Label ID="Label13" runat="server" Text="手机"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox37" runat="server" XDataBind="DF_SD_Delivery_Info.MobilePhone" BackColor="#E6F1F8" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator1" runat="server" ForeColor="Red" ValidationGroup="submit" ControlToValidate="XDropDownList1" ErrorMessage="请选择出库方式！" Display="None">请选择出库方式！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator16" runat="server" DisableExpress='DF_SD_Delivery_Info.DeliveryWay!="消借出"' ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox39" ErrorMessage="请选择借出申请单号！" Display="None">请选择借出申请单号！</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator3" runat="server" ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox5" ErrorMessage="请填写SAP交货单号！" Display="None">请填写SAP交货单号！</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator15" runat="server" ForeColor="Red" ValidationGroup="submit" ControlToValidate="XDropDownList6" ErrorMessage="请选择实物出货库存地！" Display="None">请选择实物出货库存地！</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator9" runat="server" ForeColor="Red" ValidationGroup="submit" ControlToValidate="XDateTimePicker2" ErrorMessage="请选择交货日期！" Display="None">请选择交货日期！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator10" runat="server" ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox8" ErrorMessage="请填写用户单位名称！" Display="None">请填写用户单位名称！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator11" runat="server" DisableExpress='DF_SD_Delivery_Info.DeliveryWay!="发货"' ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox10" ErrorMessage="请填写发运详细地址！" Display="None">请填写发运详细地址！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator12" runat="server" DisableExpress='DF_SD_Delivery_Info.DeliveryWay!="发货"' ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox9" ErrorMessage="请填写联系人！" Display="None">请填写联系人！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator13" runat="server" DisableExpress='DF_SD_Delivery_Info.DeliveryWay!="发货" || DF_SD_Delivery_Info.MobilePhone!=""' ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox11" ErrorMessage="请填写电话！" Display="None">请填写电话！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator2" runat="server" DisableExpress='DF_SD_Delivery_Info.DeliveryWay!="发货" || DF_SD_Delivery_Info.Phone!=""' ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox37" ErrorMessage="请填写手机！" Display="None">请填写手机！</aspxform:XRequiredFieldValidator>
        <br />
        <table align="center" class="table" id="tablenew" style="width: 1200px" border="0" cellspacing="0" cellpadding="0" 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="Label29" runat="server" Text="库存地"></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: 150px">
                        <asp:Label ID="Label32" runat="server" Text="产品名称"></asp:Label></td>
                    <td class="tds" style="width: 40px">
                        <asp:Label ID="Label33" runat="server" Text="数量"></asp:Label></td>
                    <td class="tds" style="width: 100px">
                        <asp:Label ID="Label34" runat="server" Text="行项目类别"></asp:Label></td>
                    <td class="tds" style="width: 420px">
                        <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_Delivery_Detail.SerialNum" Width="100%" BorderWidth="1" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="XTextBox30" runat="server" XDataBind="DF_SD_Delivery_Detail.LineItemNo" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox3" runat="server" XDataBind="DF_SD_Delivery_Detail.Plant" BackColor="#E6F1F8" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="XTextBox4" runat="server" XDataBind="DF_SD_Delivery_Detail.Storage" BackColor="#E6F1F8" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="XTextBox12" runat="server" XDataBind="DF_SD_Delivery_Detail.PrdtSAPID" BackColor="#E6F1F8" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="XTextBox13" runat="server" XDataBind="DF_SD_Delivery_Detail.ProductModel" BackColor="#E6F1F8" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="XTextBox14" runat="server" XDataBind="DF_SD_Delivery_Detail.ProductName" BackColor="#E6F1F8" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="XTextBox15" runat="server" XDataBind="DF_SD_Delivery_Detail.Number" BackColor="#E6F1F8" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="border-right-width: 1px">
                        <aspxform:XTextBox ID="XTextBox16" runat="server" XDataBind="DF_SD_Delivery_Detail.LineItemCategory" BackColor="#E6F1F8" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="border-right-width: 1px">
                        <aspxform:XTextBox ID="XTextBox29" runat="server" XDataBind="DF_SD_Delivery_Detail.SerialNo" BackColor="#E6F1F8" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator14" runat="server" ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox4" ErrorMessage="请在SAP交货单里选择库存地并保存，之后在此表单重新获取数据！" Display="None">请在SAP交货单里选择库存地并保存，之后在此表单重新获取数据！</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" 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="XTextBox17" runat="server" XDataBind="DF_SD_Delivery_Info.Remark" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" Rows="5" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" 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></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XDropDownList ID="XDropDownList3" runat="server" XDataBind="DF_SD_Delivery_Info.LogisticsCompany" Width="50%" DisplayColumn="Name" ValueColumn="Name" XDataSource="TableName:V_LogisCompany" DisableExpress="Global.StepName!='出货库存地库管员执行发货'" PromptText="---请选择---"></aspxform:XDropDownList>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label39" runat="server" Text="发运时效"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XRadioButtonList ID="XRadioButtonList1" runat="server" XDataBind="DF_SD_Delivery_Info.SendGoodsWay" DisableExpress="Global.StepName!='出货库存地库管员执行发货'" RepeatDirection="Horizontal">
                            <asp:ListItem>次日达</asp:ListItem>
                            <asp:ListItem>隔日达</asp:ListItem>
                            <asp:ListItem>普货</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td height="16" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label41" runat="server" Text="运单号"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox20" runat="server" XDataBind="DF_SD_Delivery_Info.WaybillNo" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="Global.StepName!='出货库存地库管员执行发货'" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label43" runat="server" Text="包装件数"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox21" runat="server" XDataBind="DF_SD_Delivery_Info.PackNumber" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="Global.StepName!='出货库存地库管员执行发货'"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" 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_Delivery_Info.OtherAttachment" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.gif;*.png"></aspxform:XAttachments>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="width: 10%">
                        <aspxform:XLabel ID="XLabel7" runat="server" BackColor="#D4E4FE" Text="*" HiddenExpress='DF_SD_Delivery_Info.DeliveryWay!="发货" &amp;&amp; DF_SD_Delivery_Info.DeliveryWay!="自提"' ForeColor="Blue"></aspxform:XLabel>
                        &nbsp;<asp:Label ID="Label45" runat="server" Text="签收单上传"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 80%" colspan="3">
                        <aspxform:XAttachments ID="XAttachments1" runat="server" XDataBind="DF_SD_Delivery_Info.Attachment" Width="100%" DisableExpress="Global.StepName!='出库地的仓库主管人员确认签收'  &amp;&amp;  Global.StepName!=&quot;&quot;" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.gif;*.png"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator4" runat="server" ForeColor="Red" ValidationGroup="kgy" ControlToValidate="XDropDownList3" ErrorMessage="请选择物流公司！" Display="None">请选择物流公司！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator5" runat="server" ForeColor="Red" ValidationGroup="kgy" ControlToValidate="XRadioButtonList1" ErrorMessage="请选择发运时效！" Display="None">请选择发运时效！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator7" runat="server" ForeColor="Red" ValidationGroup="kgy" ControlToValidate="XTextBox20" ErrorMessage="请填写运单号！" Display="None">请填写运单号！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator8" runat="server" ForeColor="Red" ValidationGroup="kgy" ControlToValidate="XTextBox21" ErrorMessage="请填写包装件数！" Display="None">请填写包装件数！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator6" runat="server" DisableExpress='DF_SD_Delivery_Info.DeliveryWay!="发货" &amp;&amp; DF_SD_Delivery_Info.DeliveryWay!="自提"' ForeColor="Red" ValidationGroup="ckzg" ControlToValidate="XAttachments1" ErrorMessage="请上传签收单！" Display="None">请上传签收单！</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200">
                        <aspxform:XSignTrace ID="XSignTrace1" runat="server" Width="1200px" BorderColor="#dcdcdc" BorderWidth="1"></aspxform:XSignTrace>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
