<%@ Page Language="C#" %>

<%@ Register TagPrefix="aspxform" Namespace="XFormDesigner.Framework.Web.UI" Assembly="XFormDesigner.Framework" %>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <link href="/Oimec/Styles/CSS/StyleSheet.css" rel="Stylesheet" type="text/css" />
    <title>BPM Form</title>
    <style>
        BODY {
            FONT-SIZE: 12px;
            FONT-FAMILY: verdana;
        }

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

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

        TD {
            padding: 1px;
        }

            TD.NoPadding {
                PADDING-RIGHT: 0px;
                PADDING-LEFT: 0px;
                PADDING-BOTTOM: 0px;
                PADDING-TOP: 0px;
            }
        /*INPUT {height: 15px}*/
        INPUT.UL {
            BORDER-RIGHT: medium none;
            BORDER-TOP: medium none;
            BORDER-LEFT: medium none;
            BORDER-BOTTOM: #33ff33 1px solid;
        }

        TEXTAREA {
            FONT-SIZE: 12px;
        }

        input {
            vertical-align: middle; /*margin-right:-3px*/
        }
    </style>
    <script src="../../../../Oimec/Script/jquery-3.2.1.js"></script>
    <script src="../../../../Oimec/Script/jquery-3.2.1.min.js"></script>
    <script type="text/javascript">

        function getXValue(id) {
            return agent.Eles[document.getElementById(id).getAttribute("xform_xele_index")].getValue();
        }


        agent.on('beforeSubmit', function (action, actionname) {

            //重新获取交货日期
            var stepName = getXValue("XTextBox3");  //步骤名

            if ((stepName == "物资入库审核员确认" && actionname == "已确认") || (stepName == "地区商务助理确认收货" || actionname == "可以收货") || (stepName == "物资入库审核员确认1" && actionname == "已确认")) {

                //var tableObj = document.getElementById("");
                //var divsPO = document.getElementsByName("PO");  //PO    
                //var divsPORow = document.getElementsByName("PORowNumber");   //PO行号
                var divsDeliveyDate = document.getElementsByName("DeliveryDate");     //SO交货日期
                var divsSO = document.getElementsByName("SO");  //SO    

                var SO;

                //获取SO交货日期
                if (divsSO.length > 0) {
                    var divSO = divsSO[0];
                    //var idSO = divSO.getElementsByTagName('input')[0].id;
                    //SO = document.getElementById(idSO).value;
                    SO = divSO.getElementsByTagName('input')[0].value;
                }

                for (var i = 0; i < divsSO.length; i++) {

                    //var divPO = divsPO[i];
                    //var idPO = divPO.getElementsByTagName('input')[0].id;
                    //var po = document.getElementById(idPO).value;

                    //var divPORow = divsPORow[i];
                    //var idPORow = divPORow.getElementsByTagName('input')[0].id;
                    //var porow = document.getElementById(idPORow).value;
                    var divDeliveryDate = divsDeliveyDate[i];
                    var idDeliveryDate = divDeliveryDate.getElementsByTagName('input')[0].id;


                    if (SO != null && SO != "") {
                        YZSoft.Ajax.request({
                            async: false,
                            url: YZSoft.$url('Oimec/ApiServices/SalesAPIHandler.ashx'),
                            params: {
                                method: 'GetDeliveryDateBySO',
                                voucherNo: SO
                            },
                            success: function (action) {
                                var data = action.result;
                                var res;
                                if (data != "")
                                    res = data.substring(0, 4) + "-" + data.substring(6, 4) + "-" + data.substring(8, 6);
                                divDeliveryDate.getElementsByTagName('input')[0].value = res;

                                //alert(data);

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

            }


            if (actionname == "提交") {

                //数据控制验证
                var SCompanyName = getXValue("XTextBox45");
                var SCompanyAddr = getXValue("XTextBox46");
                var SContacts = getXValue("XTextBox48");
                var SPhone = getXValue("XTextBox49");
                var STel = getXValue("SendTel");
                var RCompanyName = getXValue("XTextBox50");
                var RCompanyAddr = getXValue("XTextBox51");
                var RContacts = getXValue("XTextBox53");
                var RPhone = getXValue("XTextBox54");
                var RTel = getXValue("ReceiveTel");
                var way = $("input[name='XRadioButtonList1']:checked").val();//运输方式
                var XAttachments1 = getXValue("XAttachments1"); //客户签收单
                //var XAttachments2 = getXValue("XAttachments2"); //供应商发货单据
                //var XAttachments3 = getXValue("XAttachments3"); //供应商发货单据
                if (way == "其他") {
                    //未上传客户签收单时 收货信息必填
                    if (XAttachments1 == "") {
                        if (SCompanyName == "") {
                            Ext.Msg.alert("提示", "请填写发货公司名称！");
                            return false;
                        }
                        if (RCompanyName == "") {
                            Ext.Msg.alert("提示", "请填写收货客户名称！");
                            return false;
                        }
                        if (RCompanyAddr == "") {
                            Ext.Msg.alert("提示", "请填写收货地址！");
                            return false;
                        }
                        if (RContacts == "") {
                            Ext.Msg.alert("提示", "请填写收货联系人！");
                            return false;
                        }
                        if (RPhone == "" && RTel == "") {
                            Ext.Msg.alert("提示", "请填写收货电话！");
                            return false;
                        }
                    }
                    else {
                        if (SCompanyName == "") {
                            Ext.Msg.alert("提示", "请填写发货公司名称！");
                            return false;
                        }
                        if (RCompanyName == "") {
                            Ext.Msg.alert("提示", "请填写收货客户名称！");
                            return false;
                        }
                    }
                }
                if (way == "东方中科安排物流") {
                    if (SCompanyName == "") {
                        Ext.Msg.alert("提示", "请填写发货公司名称！");
                        return false;
                    }
                    if (SCompanyAddr == "") {
                        Ext.Msg.alert("提示", "请填写发货地址！");
                        return false;
                    }
                    if (SContacts == "") {
                        Ext.Msg.alert("提示", "请填写发货联系人！");
                        return false;
                    }
                    if (SPhone == "" && STel == "") {
                        Ext.Msg.alert("提示", "请填写发货电话！");
                        return false;
                    }
                    if (RCompanyName == "") {
                        Ext.Msg.alert("提示", "请填写收货客户名称！");
                        return false;
                    }
                    if (RCompanyAddr == "") {
                        Ext.Msg.alert("提示", "请填写收货地址！");
                        return false;
                    }
                    if (RContacts == "") {
                        Ext.Msg.alert("提示", "请填写收货联系人！");
                        return false;
                    }
                    if (RPhone == "" && RTel == "") {
                        Ext.Msg.alert("提示", "请填写收货电话！");
                        return false;
                    }
                }

                var currency = getXValue("XTextBox15");//采购币种
                var IsReceipt = $("input[name='IsReceipt']:checked").val();//已有客户签收单
                var ConfirmShipmentAttach = getXValue("ConfirmShipmentAttach"); //供应商确认发货邮件或证明
                var ReceiptAttch = getXValue("ReceiptAttch"); //上传货运/快递到货截屏或证明
                var InternationalAttach = getXValue("InternationalAttach"); //上传国际运单


                if (currency == "CNY") {
                    if (IsReceipt == "有") {
                        if (XAttachments1 == "") {
                            Ext.Msg.alert("提示", "请上传客户验收单！");
                            return false;
                        }
                    }
                    else {
                        if (ConfirmShipmentAttach == "" && ReceiptAttch == "") {
                            Ext.Msg.alert("提示", "请上传供应商确认发货邮件或证明或上传货运/快递到货截屏或证明！");
                            return false;
                        }
                    }
                }
                else {
                    if (InternationalAttach == "") {
                        Ext.Msg.alert("提示", "请上传国际运单!");
                        return false;
                    }
                }

                var table = document.getElementById("tableItems");
                if (table.rows.length > 1) {
                    for (var i = 2; i < table.rows.length - 1; i++) {
                        //实际直发数量
                        var ActNum = agent.Eles[table.rows[i].cells[12].children[0].getAttribute("xform_xele_index")].getValue();
                        //alert(ActNum);
                        //可直发数量
                        var EnableNum = agent.Eles[table.rows[i].cells[12].children[1].getAttribute("xform_xele_index")].getValue();
                        //alert(EnableNum);

                        //if (ActNum > EnableNum) {
                        if (Number(ActNum) > Number(EnableNum)) {
                            Ext.MessageBox.alert("提示：", "产品明细第[" + (i - 1) + "]行实际直发数量大于可直发数量,请重新输入");
                            return false;
                        }
                    }
                }


            }
        });

        //获取第一行PO采购公司代码、采购币种
        function GetPoCompy(companyCode) {
            companyCode = companyCode + ",";
            return companyCode.split(",")[0];
        }

        //获取物料凭证号
        function GetVoucher() {
            //SAP交货单号
            var deliveryNum = agent.Eles[document.getElementById("XTextBox25").getAttribute("xform_xele_index")].getValue();
            if (deliveryNum != '') {
                YZSoft.Ajax.request({
                    async: false,
                    url: YZSoft.$url('Oimec/ApiServices/SalesAPIHandler.ashx'),
                    params: {
                        method: 'GetDeliveryInfo',
                        DeliveryNum: deliveryNum
                    },
                    success: function (action) {
                        var data = action.result;
                        var count = data.TotalRows;
                        if (count > 0) {
                            var info = data.headInfo;
                            //物料凭证号
                            agent.Eles[document.getElementById("XTextBox27").getAttribute("xform_xele_index")].setValue(info.MBLNR);
                        }
                    },
                    failure: function (response) {
                    }
                });
            }
        }

    </script>
</head>
<body>
    <form runat="server">
        <br />
        <!-- 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" BackColor="#8AB3DF" XDataBind="DF_MM_SupplierDeliver_Info.FormNo" 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="21" colspan="4">
                        <asp:Label ID="Label10" runat="server" Text="标记*的为申请人必填项" Font-Bold="True" ForeColor="Red"></asp:Label></td>
                </tr>
                <tr>
                    <td height="17" class="title1" colspan="4">
                        <asp:Label ID="Label3" runat="server" Text="基本信息"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox3" runat="server" XDataBind="Global.StepName" HiddenInput="True" Width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="10%" class="tsbottomlabel">
                        <asp:Label ID="Label4" runat="server" Text="申请人"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox1" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.AppAccount" HiddenInput="True" Width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td width="35%" class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox2" runat="server" BackColor="#E6F1F8" XDataBind="DF_MM_SupplierDeliver_Info.AppName" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td width="10%" class="tsbottomlabel">
                        <asp:Label ID="Label5" runat="server" Text="创建日期"></asp:Label></td>
                    <td width="35%" class="tsbottomtext">
                        <aspxform:XDateTimePicker ID="XDateTimePicker1" runat="server" BackColor="#E6F1F8" XDataBind="DF_MM_SupplierDeliver_Info.CreateDate" BorderWidth="1" BorderColor="#DCDCDC" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label42" runat="server" Text="采购公司代码"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox42" runat="server" BackColor="#E6F1F8" XDataBind="varCompanyCode" Width="30px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" Express="CompanyCode" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox24" runat="server" BackColor="#E6F1F8" XDataBind="DF_MM_SupplierDeliver_Info.CompanyCode" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" Express="javascript('GetPoCompy',varCompanyCode)"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label6" runat="server" Text="采购币种"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox41" runat="server" BackColor="#E6F1F8" XDataBind="varCurrency" Width="30px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" Express="Currency" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox15" runat="server" BackColor="#E6F1F8" XDataBind="DF_MM_SupplierDeliver_Info.Currency" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" Express="javascript('GetPoCompy',varCurrency)"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label7" runat="server" Text="SAP交货单号"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XTextBox ID="XTextBox25" runat="server" BackColor="#E6F1F8" XDataBind="DF_MM_SupplierDeliver_Info.DeliveryNo" Width="500px" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="Global.StepName!='物资入库审核员确认' &amp;&amp; Global.StepName!='物资入库审核员确认1'"></aspxform:XTextBox>
                        &nbsp;
                        <asp:Label ID="Label8" runat="server" Text="（多个交货单以“/”分隔）"></asp:Label></td>
                </tr>
                <tr>
                    <td height="23" class="tsbottomlabel">
                        <asp:Label ID="Label9" runat="server" Text="SAP物料凭证号"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XTextBox ID="XTextBox27" runat="server" BackColor="#E6F1F8" XDataBind="DF_MM_SupplierDeliver_Info.MaterialVoucher" Width="500px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                        &nbsp;
                        <asp:Label ID="Label41" runat="server" Text="（多个SAP物料凭证号以“/”分隔）"></asp:Label>
                        <aspxform:XButton ID="XButton3" runat="server" Text="更新SAP凭证" Width="100px" Height="22px" OnClientClick="GetVoucher()"></aspxform:XButton>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label44" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label48" runat="server" Text="运输方式"></asp:Label></td>
                    <td class="tsbottomtext" xclass="Oimec.Dialogs.GetPOInfoSupplierDirectButton">
                        <aspxform:XRadioButtonList ID="XRadioButtonList1" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.TransWay" RepeatDirection="Horizontal">
                            <asp:ListItem Selected="True">其他</asp:ListItem>
                            <asp:ListItem>东方中科安排物流</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label46" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label36" runat="server" Text="已有客户验收单"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XRadioButtonList ID="IsReceipt" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.IsReceipt" RepeatDirection="Horizontal">
                            <asp:ListItem Selected="True">有</asp:ListItem>
                            <asp:ListItem>无</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label49" runat="server" Text="发货公司名称"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox45" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.SendComapnyName" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label51" runat="server" Text="发货地址"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox46" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.SendAddress" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label57" runat="server" Text="邮编"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox47" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.SendZipCode" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label59" runat="server" Text="座机"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="SendTel" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.SendTel" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="22" class="tsbottomlabel">
                        <asp:Label ID="Label50" runat="server" Text="联系人"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox48" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.SendContacts" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label52" runat="server" Text="手机"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox49" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.SendPhone" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label60" runat="server" Text="Email"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="SendEmail" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.SendEmail" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                    <td class="tsbottomtext"></td>
                </tr>
                <tr>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label53" runat="server" Text="收货客户名称"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox50" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.ReceiveCustomerName" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label55" runat="server" Text="收货地址"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox51" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.ReceiveAddress" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label58" runat="server" Text="邮编"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox52" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.ReceiveZipCode" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label61" runat="server" Text="座机"></asp:Label>
                    </td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="ReceiveTel" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.ReceiveTel" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label54" runat="server" Text="联系人"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox53" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.ReceiveContacts" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label56" runat="server" Text="手机"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox54" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.ReceivePhone" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label ID="Label62" runat="server" Text="Email"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="ReceiveEmail" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.ReceiveEmail" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                    <td class="tsbottomtext"></td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator4" runat="server" ValidationGroup="sb" ControlToValidate="XRadioButtonList1" ErrorMessage="请选择运输方式" ForeColor="Red">请选择运输方式</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp; 
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator2" runat="server" ValidationGroup="sb" ControlToValidate="IsReceipt" ErrorMessage="请选择已有客户验收单" ForeColor="Red">请选择已有客户验收单</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator5" runat="server" ValidationGroup="rkshy" ControlToValidate="XTextBox25" ErrorMessage="请填写SAP交货单号" ForeColor="Blue">请填写SAP交货单号</aspxform:XRequiredFieldValidator>
        <br />
        <div align="center" id="scrollDiv" style="border-top: #93a1ae 1px solid; height: auto; border-right: #93a1ae 1px solid; width: 1200px; overflow-x: scroll; border-bottom: #93a1ae 1px solid; text-align: center; clear: both; border-left: #93a1ae 1px solid">
            <table width="2450" align="center" class="scrolltable" id="tableItems" style="border-top: medium none" border="0" cellspacing="0" cellpadding="0" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1">
                <tbody>
                    <tr>
                        <td height="17" class="title1" style="border-top: medium none" colspan="25">
                            <asp:Label ID="Label11" runat="server" Text="产品明细"></asp:Label>&nbsp;<aspxform:XCustomBrowserButton ID="XCustomBrowserButton2" runat="server" Text="获取SAP-PO信息" XClass="Oimec.Dialogs.SupplierDeliverDetailButton" Width="120px" HiddenExpress="Global.StepName!='采购员发起到货申请'" Height="22px" UseSubmitBehavior="False" AppendMode="Append" DataMap="SODeliveryDate->DF_MM_SupplierDeliver_Detail.SODeliveryDate;HandlerTaskID->DF_MM_SupplierDeliver_Detail.HandlerTaskID;HandlerFormNo->DF_MM_SupplierDeliver_Detail.HandlerFormNo;PO->DF_MM_SupplierDeliver_Detail.PO;PORowNumber->DF_MM_SupplierDeliver_Detail.PORowNumber;PurchaseContractNo->DF_MM_SupplierDeliver_Detail.PurchaseContractNo;SupplierName->DF_MM_SupplierDeliver_Detail.SupplierName;Plant->DF_MM_SupplierDeliver_Detail.Plant;Storage->DF_MM_SupplierDeliver_Detail.Storage;ProductSAPID->DF_MM_SupplierDeliver_Detail.ProductSAPID;ProductModel->DF_MM_SupplierDeliver_Detail.ProductModel;ProductName->DF_MM_SupplierDeliver_Detail.ProductName;PurchaseQuantity->DF_MM_SupplierDeliver_Detail.PurchaseQuantity;UnitPrice->DF_MM_SupplierDeliver_Detail.UnitPrice;SalesMan->DF_MM_SupplierDeliver_Detail.SalesMan;SalesManID->DF_MM_SupplierDeliver_Detail.SalesManID;SO->DF_MM_SupplierDeliver_Detail.SO;SORowNumber->DF_MM_SupplierDeliver_Detail.SORowNumber;SellerCustomerName->DF_MM_SupplierDeliver_Detail.SellerCustomerName;DeliveryDate->DF_MM_SupplierDeliver_Detail.DeliveryDate;ManufacturerName->DF_MM_SupplierDeliver_Detail.ManufacturerName;CompanyCode->CompanyCode;CurrencyCode->Currency;ActNum->DF_MM_SupplierDeliver_Detail.DeliverNumber;EnabelNum->DF_MM_SupplierDeliver_Detail.ActDeliverNumber;IsBatch->DF_MM_SupplierDeliver_Detail.IsBatch;SerialCode->DF_MM_SupplierDeliver_Detail.SerialCode;FKFCustomerName->DF_MM_SupplierDeliver_Detail.FKFCustomerName;PlantName->DF_MM_SupplierDeliver_Detail.PlantName;Plant1->Plant1;StorageName->DF_MM_SupplierDeliver_Detail.StorageName;Storage1->Storage1"></aspxform:XCustomBrowserButton>
                            &nbsp;
                            <asp:Label ID="Label47" runat="server" Text="（注：暂时只能选择一个PO）" ForeColor="Blue" Font-Size="9"></asp:Label></td>
                    </tr>
                    <tr>
                        <td width="54" height="15" class="tds">
                            <asp:Label ID="Label12" runat="server" Text="行号"></asp:Label></td>
                        <td width="80" class="tds">&nbsp;<asp:Label ID="Label13" runat="server" Text="PO号"></asp:Label></td>
                        <td width="60" class="tds">&nbsp;<asp:Label ID="Label14" runat="server" Text="PO行号"></asp:Label></td>
                        <td width="150" class="tds">
                            <asp:Label ID="Label15" runat="server" Text="采购合同号"></asp:Label></td>
                        <td width="200" class="tds">
                            <asp:Label ID="Label43" runat="server" Text="供应商名称"></asp:Label></td>
                        <td width="120" class="tds">
                            <asp:Label ID="Label16" runat="server" Text="工厂"></asp:Label></td>
                        <td width="120" class="tds">&nbsp;<asp:Label ID="Label17" runat="server" Text="库存地"></asp:Label></td>
                        <td width="100" class="tds">
                            <asp:Label ID="Label20" runat="server" Text="产品SAPID"></asp:Label></td>
                        <td width="150" class="tds">
                            <asp:Label ID="Label24" runat="server" Text="厂商名称"></asp:Label></td>
                        <td width="100" class="tds">
                            <asp:Label ID="Label22" runat="server" Text="产品型号"></asp:Label></td>
                        <td width="150" class="tds">
                            <asp:Label ID="Label23" runat="server" Text="产品名称"></asp:Label></td>
                        <td width="100" class="tds">
                            <asp:Label ID="Label26" runat="server" Text="实际采购数量"></asp:Label></td>
                        <td width="110" class="tds">
                            <asp:Label ID="Label39" runat="server" Text="* " ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label27" runat="server" Text="实际直发数量"></asp:Label></td>
                        <td width="150" class="tds">
                            <asp:Label ID="Label29" runat="server" Text="含税采购单价(采购币种)"></asp:Label></td>
                        <td width="150" class="tds">
                            <asp:Label ID="Label30" runat="server" Text="含税采购总价(采购币种)"></asp:Label></td>
                        <td width="80" class="tds">
                            <asp:Label ID="Label32" runat="server" Text="业务员"></asp:Label></td>
                        <td width="80" class="tds">
                            <asp:Label ID="Label33" runat="server" Text="SO号"></asp:Label></td>
                        <td width="80" class="tds">
                            <asp:Label ID="Label34" runat="server" Text="SO行号"></asp:Label></td>
                        <td width="200" class="tds">
                            <asp:Label ID="Label35" runat="server" Text="售达方客户名称"></asp:Label></td>
                        <td width="120" class="tds">&nbsp;<asp:Label ID="Label37" runat="server" Text="供应商发货日期"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="tds1">
                            <aspxform:XGridLineNo ID="XGridLineNo1" runat="server" XDataBind="DF_MM_SupplierDeliver_Detail.LineNumber" Width="100%" BorderWidth="1" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                            <aspxform:XTextBox ID="XTextBox39" runat="server" BackColor="#D4E4FE" XDataBind="CompanyCode" HiddenInput="true" Width="10px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                            <aspxform:XTextBox ID="XTextBox40" runat="server" BackColor="#D4E4FE" XDataBind="Currency" HiddenInput="true" Width="10px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                            <aspxform:XTextBox ID="XTextBox34" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.HandlerTaskID" HiddenInput="true" Width="10px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                            <aspxform:XTextBox ID="XTextBox37" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.HandlerFormNo" HiddenInput="true" Width="10px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                            <aspxform:XTextBox ID="XTextBox38" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.IsBatch" HiddenInput="true" Width="10px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                            <aspxform:XTextBox ID="XTextBox44" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.SerialCode" HiddenInput="true" Width="10px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="PO" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.PO" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" name="PO"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="PORowNumber" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.PORowNumber" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" TextAlign="Center" name="PORowNumber"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox5" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.PurchaseContractNo" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox14" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.SupplierName" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox33" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.Plant" HiddenInput="True" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                            <aspxform:XTextBox ID="XTextBox56" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.PlantName" HiddenInput="False" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                            <aspxform:XTextBox ID="XTextBox58" runat="server" BackColor="#D4E4FE" XDataBind="Plant1" HiddenInput="True" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox7" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.Storage" HiddenInput="True" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                            <aspxform:XTextBox ID="XTextBox59" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.StorageName" HiddenInput="False" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                            <aspxform:XTextBox ID="XTextBox60" runat="server" BackColor="#D4E4FE" XDataBind="Storage1" HiddenInput="True" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox8" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.ProductSAPID" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox35" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.ManufacturerName" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox9" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.ProductModel" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox10" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.ProductName" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox30" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.PurchaseQuantity" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" TextAlign="Center" Format="type:number;.0"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox31" runat="server" XDataBind="DF_MM_SupplierDeliver_Detail.ActDeliverNumber" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="Global.StepName!='采购员发起到货申请'" TextAlign="Center" Format="type:number;.0"></aspxform:XTextBox>
                            <aspxform:XTextBox ID="XTextBox6" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.DeliverNumber" HiddenInput="False" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" HiddenExpress="1" Format="type:number;.0">0</aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox16" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.UnitPrice" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox17" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.TotalPrice" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" Express="DF_MM_SupplierDeliver_Detail.ActDeliverNumber*DF_MM_SupplierDeliver_Detail.UnitPrice" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox19" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.SalesMan" HiddenInput="False" Width="100%" BorderWidth="1px" BorderColor="Gainsboro" Max="0" Min="0" ReadOnly="True" Height="21px" TextAlign="Center" ValueToDisplayText></aspxform:XTextBox>
                            <aspxform:XTextBox ID="XTextBox13" runat="server" XDataBind="DF_MM_SupplierDeliver_Detail.SalesManID" HiddenInput="true" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox20" name="SO" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.SO" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox21" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.SORowNumber" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox22" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.SellerCustomerName" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                            <aspxform:XTextBox ID="XTextBox55" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.FKFCustomerName" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" HiddenExpress="1"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XDateTimePicker ID="XDateTimePicker2" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.DeliveryDate" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisplayOnly="True"></aspxform:XDateTimePicker>
                            <aspxform:XDateTimePicker ID="DeliveryDate" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Detail.SODeliveryDate" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" DisplayOnly="True" HiddenExpress="1" name="DeliveryDate"></aspxform:XDateTimePicker>
                        </td>

                    </tr>
                    <tr>
                        <td height="14" class="tds1" colspan="14"></td>
                        <td class="tds1">
                            <aspxform:XTextBox ID="XTextBox36" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_Info.Total" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" Express="sum(DF_MM_SupplierDeliver_Detail.TotalPrice)" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                        </td>
                        <td class="tds1" colspan="5"></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <aspxform:XCompareValidator ID="XCompareValidator2" runat="server" Type="Integer" ValidationGroup="sb" ControlToValidate="XTextBox31" ErrorMessage="实际直发数量必须大于0" ForeColor="Red" ValueToCompare="0" SetFocusOnError="True" Operator="GreaterThan"></aspxform:XCompareValidator>
        <br />
        <table width="1200" align="center" class="table" id="tableSerial" border="0" cellspacing="0" cellpadding="0" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td height="17" class="title1" style="border-top: medium none" colspan="8">
                        <aspxform:XCustomBrowserButton ID="XCustomBrowserButton1" runat="server" Text="产品批次和序列号" XClass="Oimec.Dialogs.SupplierDeliverSerialButton" Width="120px" DisableExpress="Global.StepName!='采购员发起到货申请'" UseSubmitBehavior="False" AppendMode="ClearAndAppend" DataMap="ProductSAPID->DF_MM_SupplierDeliver_SerialDetail.ProductSAPID;ProductModel->DF_MM_SupplierDeliver_SerialDetail.ProductModel;PO->DF_MM_SupplierDeliver_SerialDetail.PO;PORowNumber->DF_MM_SupplierDeliver_SerialDetail.PORowNumber;Batch->DF_MM_SupplierDeliver_SerialDetail.Batch;SerialParam->DF_MM_SupplierDeliver_SerialDetail.SerialParam;SerialParamDes->DF_MM_SupplierDeliver_SerialDetail.SerialParamDes" DisabledExpress="Global.StepName!='采购员发起到货申请'"></aspxform:XCustomBrowserButton>
                        &nbsp;
                        <asp:Label ID="Label45" runat="server" Text="（注：若对应产品无批次或无序列号管理，则此列表不显示数据）" ForeColor="Blue" Font-Size="9"></asp:Label></td>
                </tr>
                <tr align="center">
                    <td width="50" height="17" class="tds">
                        <asp:Label ID="Label18" runat="server" Text="行号"></asp:Label></td>
                    <td width="110" class="tds">
                        <asp:Label ID="Label19" runat="server" Text="产品SAPID"></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label ID="Label31" runat="server" Text="产品型号"></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label ID="Label21" runat="server" Text="PO号"></asp:Label></td>
                    <td width="80" class="tds">
                        <asp:Label ID="Label25" runat="server" Text="PO行号"></asp:Label></td>
                    <td width="80" class="tds">
                        <asp:Label ID="Label28" runat="server" Text="批次"></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label ID="Label38" runat="server" Text="序列号"></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label ID="Label40" runat="server" Text="序列号参数"></asp:Label></td>
                </tr>
                <tr align="center">
                    <td class="tds1">
                        <aspxform:XGridLineNo ID="XGridLineNo2" runat="server" XDataBind="DF_MM_SupplierDeliver_SerialDetail.LineNunber" Width="100%" BorderWidth="1" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="XTextBox11" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_SerialDetail.ProductSAPID" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="XTextBox28" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_SerialDetail.ProductModel" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="XTextBox29" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_SerialDetail.PO" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="XTextBox12" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_SerialDetail.PORowNumber" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="XTextBox18" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_SerialDetail.Batch" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="XTextBox26" runat="server" XDataBind="DF_MM_SupplierDeliver_SerialDetail.SerialNo" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="Global.StepName=='地区商务助理确认收货'||DF_MM_SupplierDeliver_SerialDetail.SerialParam==''||DF_MM_SupplierDeliver_SerialDetail.SerialParam=='Z002'"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="XTextBox43" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_SerialDetail.SerialParamDes" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox32" runat="server" BackColor="#D4E4FE" XDataBind="DF_MM_SupplierDeliver_SerialDetail.SerialParam" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" HiddenExpress="1" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator1" runat="server" DisableExpress="DF_MM_SupplierDeliver_SerialDetail.SerialParam!='Z003'&amp;&amp;DF_MM_SupplierDeliver_SerialDetail.SerialParam!='Z001'" ValidationGroup="sb" ControlToValidate="XTextBox26" ErrorMessage="请填写序列号" ForeColor="Red"></aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200" class="title1">
                        <asp:Label ID="Label83" runat="server" Text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox23" runat="server" XDataBind="DF_MM_SupplierDeliver_Info.Remark" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" TextAlign="left" Rows="5" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1192" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="180" class="tsbottomlabel">
                        <asp:Label ID="Label82" runat="server" Text="上传客户验收单附件"></asp:Label></td>
                    <td width="1061" class="tsbottomtext">
                        <aspxform:XAttachments ID="XAttachments1" runat="server" BackColor="#d4e4fe" XDataBind="DF_MM_SupplierDeliver_Info.ReceiptAttch" Width="100%" FileTypes="*.JPEG;*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.gif,*.png;*.eml;*.msg"></aspxform:XAttachments>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">上传供应商确认发货邮件或证明</td>
                    <td class="tsbottomtext">
                        <aspxform:XAttachments ID="ConfirmShipmentAttach" runat="server" BackColor="#d4e4fe" XDataBind="DF_MM_SupplierDeliver_Info.ConfirmShipmentAttach" Width="100%" FileTypes="*.JPEG;*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.gif,*.png;*.eml;*.msg"></aspxform:XAttachments>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">上传货运/快递到货截屏或证明</td>
                    <td class="tsbottomtext">
                        <aspxform:XAttachments ID="ReceiptAttch" runat="server" BackColor="#d4e4fe" XDataBind="DF_MM_SupplierDeliver_Info.FreightAttach" Width="100%" FileTypes="*.JPEG;*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.gif,*.png;*.eml;*.msg"></aspxform:XAttachments>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">上传国际运单</td>
                    <td class="tsbottomtext">
                        <aspxform:XAttachments ID="InternationalAttach" runat="server" BackColor="#d4e4fe" XDataBind="DF_MM_SupplierDeliver_Info.InternationalAttach" Width="100%" FileTypes="*.JPEG;*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.gif,*.png;*.eml;*.msg"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        &nbsp;<aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator3" runat="server" DisableExpress='DF_MM_SupplierDeliver_Info.Currency!="CNY"' ValidationGroup="sb" ControlToValidate="XAttachments1" ErrorMessage="请上传客户验收单" ForeColor="Red">请上传客户验收单</aspxform:XRequiredFieldValidator>
        <br />
        <aspxform:XSignTrace ID="XSignTrace1" runat="server" Width="1200px" BorderWidth="1" BorderColor="#dcdcdc"></aspxform:XSignTrace>
    </form>
</body>
</html>
