<%@ Page Language="C#" %>
<%@ Register TagPrefix="aspxform" Namespace="XFormDesigner.Framework.Web.UI" Assembly="XFormDesigner.Framework" %>
<script runat="server">

    // Insert page code here
    //

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <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-RIGHT: 0px;
            PADDING-LEFT: 2px;
            PADDING-BOTTOM: 0px;
        }

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

        INPUT {
            HEIGHT: 20px;
        }

            INPUT.UL {
                BORDER-RIGHT: medium none;
                BORDER-TOP: medium none;
                BORDER-LEFT: medium none;
                BORDER-BOTTOM: #33ff33 1px solid;
            }

        TEXTAREA {
            FONT-SIZE: 12px;
        }

        .yz-inp-cnt {
            display: inline;
        }

        .tm {
            width: 8%;
        }
    </style>
    <script type="text/javascript">
        //打印采购处理单
        function clprint()
        {
            var temp = document.getElementById('XLabel3').innerText;
            var temp1 = agent.Eles[document.getElementById("XTextBox6").getAttribute("xform_xele_index")].getValue();
            window.open("采购处理单打印.aspx?serialNum=" + temp+"&InquiryFormNo="+temp1);
        }

        Ext.onReady(function () {

            //无合同下单为"是"，弹窗提示：此单为无合同下单!
            var radio1 = document.getElementById("XRadioButtonList1_0");//是
            var radio2 = document.getElementById("XRadioButtonList1_1");
            if (radio1.checked == true) {
                Ext.MessageBox.alert("提示：", "此单为无合同下单!");
            }

            //获取当前采购员、付款状态
            var table = document.getElementById("PrdtTable");
            var tid = getQueryString("tid");
            //alert(tid);
            for (var i = 2; i < table.rows.length - 1; i++) {
                var row = i;
                var currency = agent.Eles[table.rows[i].cells[17].children[0].getAttribute("xform_xele_index")].getValue();
                var prdtMode = agent.Eles[table.rows[i].cells[5].children[0].getAttribute("xform_xele_index")].getValue();
                var po = agent.Eles[table.rows[i].cells[7].children[0].getAttribute("xform_xele_index")].getValue();
                var poLineNum = agent.Eles[table.rows[i].cells[8].children[0].getAttribute("xform_xele_index")].getValue();
                XFormOnChange(agent.Eles[table.rows[row].cells[8].children[0].getAttribute("xform_xele_index")]);
                //获取采购币种对应人民币汇率
                if (currency != '') {
                    XFormOnChange(agent.Eles[table.rows[row].cells[17].children[0].getAttribute("xform_xele_index")]);

                }
                if (prdtMode != '' && tid != '' && tid != null && tid != undefined) {
                    YZSoft.Ajax.request({
                        url: YZSoft.$url('Oimec/ApiServices/PurchaseAPIHandler.ashx'),
                        method: 'POST',
                        params: {
                            method: 'GetCurrentPurchaser',
                            prdtMode: prdtMode,
                            taskID: tid
                        },
                        success: function (action) {
                            var data = action.result.Value;
                            //alert(data);
                            agent.Eles[table.rows[row].cells[30].children[0].getAttribute("xform_xele_index")].setValue(data[0]);

                        },
                        failure: function (action) {
                            //alert(action.result.Message);
                        }
                    });
                }
            }

        });


        //根据PO号和PO行号获取sap采购订单信息
        function SetPurchaseInfo(PO, PORowNum, row) {

            if (PO != null && PO != '' && PORowNum != 0) {
                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/PurchaseAPIHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'GetPurchaseInfo',
                        poId: PO,
                        poRowNum: PORowNum
                    },
                    success: function (action) {
                        var res = action.result;
                        var data = res.Value;
                        //var count = action.result.count;
                        if (data != null) {
                            //alert(data.length);
                            if (data.length > 0) {
                                var i = row + 1;
                                var table = document.getElementById("PrdtTable");
                                //实际供应商
                                if (data[0].Name1 != undefined && data[0].Name1 != '') {
                                    agent.Eles[table.rows[i].cells[29].children[0].getAttribute("xform_xele_index")].setValue(data[0].Name1);
                                }
                                //采购税描述
                                if (data[0].MWSKZT != undefined && data[0].MWSKZT != '') {
                                    agent.Eles[table.rows[i].cells[27].children[0].getAttribute("xform_xele_index")].setValue(data[0].MWSKZT);
                                }
                                //实际供应商货期
                                if (data[0].EINDT != undefined && data[0].EINDT != '') {
                                    agent.Eles[table.rows[i].cells[25].children[0].getAttribute("xform_xele_index")].setValue(data[0].EINDT);
                                }
                                //已收货数量
                                if (data[0].YSHSL != undefined && data[0].YSHSL != '') {
                                    agent.Eles[table.rows[i].cells[26].children[0].getAttribute("xform_xele_index")].setValue(data[0].YSHSL);
                                }
                                //采购付款条件
                                if (data[0].FKTJWB != undefined && data[0].FKTJWB != '') {
                                    agent.Eles[table.rows[i].cells[31].children[0].getAttribute("xform_xele_index")].setValue(data[0].FKTJWB);
                                }
                                else if (data[0].VTEXT != undefined && data[0].VTEXT != '') {
                                    agent.Eles[table.rows[i].cells[31].children[0].getAttribute("xform_xele_index")].setValue(data[0].VTEXT);
                                }
                                //国际运保费率
                                if (data[0].YFBFB != undefined && data[0].YFBFB != '') {
                                    agent.Eles[table.rows[i].cells[32].children[0].getAttribute("xform_xele_index")].setValue(data[0].YFBFB);
                                }
                                //国际运保费（采购币种）
                                if (data[0].YFZ != undefined && data[0].ZLYF != undefined) {
                                    if (data[0].YFZ != '' && data[0].ZLYF != '') {
                                        agent.Eles[table.rows[i].cells[33].children[0].getAttribute("xform_xele_index")].setValue(data[0].YFZ + data[0].ZLYF);
                                    }
                                    
                                }
                                //国际运保费（人民币）
                                if (data[0].CNY_YFZ != undefined && data[0].CNY_YFZ != '') {
                                    agent.Eles[table.rows[i].cells[34].children[0].getAttribute("xform_xele_index")].setValue(data[0].CNY_YFZ);
                                }
                                if (data[0].TTZFZ != undefined && data[0].TTZFZ != '') {
                                    agent.Eles[table.rows[i].cells[35].children[0].getAttribute("xform_xele_index")].setValue(data[0].TTZFZ);
                                }
                                //关税-关税税率
                                //agent.Eles[table.rows[i].cells[35].children[0].getAttribute("xform_xele_index")].setValue(data[0].GSZ);
                                //供应商联系人
                                if (data[0].LNAME != undefined && data[0].LNAME != '') {
                                    agent.Eles[table.rows[i].cells[37].children[0].getAttribute("xform_xele_index")].setValue(data[0].LNAME);
                                }
                                //供应商电话
                                if (data[0].TELF1 != undefined && data[0].TELF1 != '') {
                                    agent.Eles[table.rows[i].cells[38].children[0].getAttribute("xform_xele_index")].setValue(data[0].TELF1);
                                }
                            }
                        }
                    }
                });
            }
        }

        //根据PO号、PO行号获取信息
        function GetInfoByPO(PO, PORowNum, row) {
           if (PO != '' && PORowNum != 0) {
                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/PurchaseAPIHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'UpdatePOInfo',
                        strPO: PO,
                        strPORowNumber: PORowNum
                    },
                    success: function (action) {
                        var data = action.result;
                        var list = data.list;
                        var count = data.count;
                        if (data != null) {
                            if (count > 0) {
                                var tableObj = document.getElementById("PrdtTable");
                                var i = row + 1;
                                for (var j = 0; j < count; j++) {
                                    if (PO == list[j].PO && PORowNum == list[j].POLineNum) {
                                        agent.Eles[tableObj.rows[i].cells[45].children[0].getAttribute("xform_xele_index")].setValue(list[j].ContractNo);//合同号
                                        agent.Eles[tableObj.rows[i].cells[46].children[0].getAttribute("xform_xele_index")].setValue(list[j].CompanyCode);//采购公司代码
                                    }

                                }
                            }
                        }
                    }
                });

            }
        }

        //更新合同号及公司代码
        function UpdatePOInfo() {
            var strPO;
            var strPORowNumber;
            //遍历table获取对应行PO和PO行号
            var tableObj = document.getElementById("PrdtTable");
            for (var i = 2; i < tableObj.rows.length - 1; i++) {//遍历Table的所有Row //遍历Row中的每一列
                var po = agent.Eles[tableObj.rows[i].cells[7].children[0].getAttribute("xform_xele_index")].getValue();//PO号
                var poLineNum = agent.Eles[tableObj.rows[i].cells[8].children[0].getAttribute("xform_xele_index")].getValue();//PO行号
                if (i == 2) {
                    strPO = po;
                    strPORowNumber = poLineNum;
                }
                else {
                    strPO = strPO + "/" + po;
                    strPORowNumber = strPORowNumber + "/" + poLineNum;
                }
            }
            YZSoft.Ajax.request({
                url: YZSoft.$url('Oimec/ApiServices/PurchaseAPIHandler.ashx'),
                method: 'POST',
                params: {
                    method: 'UpdatePOInfo',
                    strPO: strPO,
                    strPORowNumber: strPORowNumber
                },
                success: function (action) {
                    var data = action.result;
                    var list = data.list;
                    var count = data.count;
                    if (data != null) {
                        if (count > 0) {
                            var tableObj = document.getElementById("PrdtTable");
                            for (var i = 2; i < tableObj.rows.length - 1; i++) {//遍历Table的所有Row //遍历Row中的每一列
                                var po = agent.Eles[tableObj.rows[i].cells[7].children[0].getAttribute("xform_xele_index")].getValue();//PO号
                                var poLineNum = agent.Eles[tableObj.rows[i].cells[8].children[0].getAttribute("xform_xele_index")].getValue();//PO行号
                                for (var j = 0; j < count; j++) {

                                    if (po == list[j].PO && poLineNum == list[j].POLineNum) {
                                        agent.Eles[tableObj.rows[i].cells[45].children[0].getAttribute("xform_xele_index")].setValue(list[j].ContractNo);//合同号
                                        agent.Eles[tableObj.rows[i].cells[46].children[0].getAttribute("xform_xele_index")].setValue(list[j].CompanyCode);//采购公司代码
                                    }
                                }
                            }
                        }
                    }
                }
            });
        }

        //获取地址栏参数
        function getQueryString(name) {
            var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
            var r = window.location.search.substr(1).match(reg);
            if (r != null) {
                return unescape(r[2]);
            }
            return null;
        }


        //表单提交时进行数据及业务逻辑处理
        agent.on('beforeSubmit', function (actname1, actname) {

            //报供应商最终客户为红旗客户时提示
            var tableObj = document.getElementById("PrdtTable");
            for (var i = 2; i < tableObj.rows.length - 1; i++) {//遍历Table的所有Row //遍历Row中的每一列
                var isFlage = agent.Eles[tableObj.rows[i].cells[40].children[1].getAttribute("xform_xele_index")].getValue();//获取对应行 红旗客户信息
                if (isFlage == "是") {
                    var line = i - 1;
                    alert("产品明细第[ " + line + " ]行 报供应商最终客户 为红旗客户,不能提交！");
                    return false;
                }
            }
        });
    </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 width="10" class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 30px">
                        <asp:Label id="XLabel1" runat="server" valuetodisplaytext value text="采购处理单"></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="XLabel2" runat="server" text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel3" runat="server" BackColor="#8AB3DF" XDataBind="DF_MM_Purchase_Info.FormNo" ValueToDisplayText Value Text="--系统自动生成--"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <%--表单抬头信息--%><%--基本信息--%>
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td align="right" colspan="4">
                        <aspxform:XButton id="XButton3" runat="server" Text="打印采购处理单" Width="100px" HiddenExpress="Global.StepName=='业务员发起预审'" Height="25px" OnClientClick="clprint()" align="right"></aspxform:XButton>
                    </td>
                </tr>
                <tr>
                    <td height="15" class="title1" colspan="4">
                        <asp:Label id="XLabel4" runat="server" valuetodisplaytext value text="基本信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox59" runat="server" XDataBind="DF_MM_Purchase_Info.BUID" ValueToDisplayText Value Width="41px" HiddenExpress="1" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False"></aspxform:XTextBox>
                        <%--隐藏字段--%>
                        <aspxform:XTextBox id="XTextBox60" runat="server" XDataBind="DF_MM_Purchase_Info.SalesOfficeID" ValueToDisplayText Value Width="40px" HiddenExpress="1" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox61" runat="server" XDataBind="DF_MM_Purchase_Info.SalesOrgCode" ValueToDisplayText Value Width="39px" HiddenExpress="1" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="130" height="24" class="ts">
                        <asp:Label id="XLabel5" runat="server" valuetodisplaytext value text="申请人"></asp:Label>
                        <aspxform:XTextBox id="XTextBox49" runat="server" XDataBind="DF_MM_Purchase_Info.AppAccount" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:AttendanceKakaNO" Value Width="66px" HiddenExpress="1" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False" DataMap="Name->DF_MM_Purchase_Info.DisplayName"></aspxform:XTextBox>
                    </td>
                    <td width="466" class="ts1">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_MM_Purchase_Info.DisplayName" ValueToDisplayText Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td width="130" class="ts">
                        <asp:Label id="XLabel11" runat="server" valuetodisplaytext value text="创建日期"></asp:Label></td>
                    <td width="466" class="ts1">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_MM_Purchase_Info.CreateDate" Width="49%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="22" class="ts">
                        <asp:Label id="XLabel6" runat="server" valuetodisplaytext value text="业务员"></asp:Label>
                        <aspxform:XTextBox id="XTextBox58" runat="server" XDataBind="DF_MM_Purchase_Info.SaleManID" ValueToDisplayText Value Width="65px" HiddenExpress="1" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False"></aspxform:XTextBox>
                    </td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_MM_Purchase_Info.SalesMan" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel12" runat="server" valuetodisplaytext value text="BPM预审单号"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_MM_Purchase_Info.InquiryFormNo" Width="228px" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                        <aspxform:XHistoryFormLink id="XHistoryFormLink1" runat="server" BackColor="#d4e4fe" XDataBind="DF_MM_Purchase_Info.InquiryTaskID" PopupWndWidth="-1" PopupWndHeight="-1" EmptyText="尚未关联">查看详情</aspxform:XHistoryFormLink>
                    </td>
                </tr>
                <tr>
                    <td height="22" class="ts">
                        <asp:Label id="XLabel7" runat="server" valuetodisplaytext value text="事业部"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_MM_Purchase_Info.BU" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel13" runat="server" valuetodisplaytext value text="销售办公室"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="DF_MM_Purchase_Info.SalesOffice" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="22" class="tsbottomlabel">
                        <asp:Label id="XLabel8" runat="server" valuetodisplaytext value text="开票公司"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_MM_Purchase_Info.BillingCpy" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel14" runat="server" valuetodisplaytext value text="销售组织"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_MM_Purchase_Info.SalesOrg" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="22" class="tsbottomlabel">
                        <asp:Label id="XLabel9" runat="server" valuetodisplaytext value text="无合同下单"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_MM_Purchase_Info.IsNoContract" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem Selected="True">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="tsbottomlabel">
                        <aspxform:XLabel id="XLabel44" runat="server" BackColor="#d4e4fe" ValueToDisplayText Value Text="无合同下单单号" HiddenExpress="DF_MM_Purchase_Info.IsNoContract=='否'"></aspxform:XLabel>
                    </td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="DF_MM_Purchase_Info.NoContractFormNo" Width="228px" HiddenExpress="DF_MM_Purchase_Info.IsNoContract=='否'" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="1"></aspxform:XTextBox>
                        <aspxform:XHistoryFormLink id="XHistoryFormLink2" runat="server" XDataBind="DF_MM_Purchase_Info.NoContractTaskID" HiddenExpress="DF_MM_Purchase_Info.IsNoContract=='否'" PopupWndWidth="-1" PopupWndHeight="-1" EmptyText="尚未关联">查看详情</aspxform:XHistoryFormLink>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label6" runat="server" valuetodisplaytext value text="唛头"></asp:Label></td>
                    <td  colspan="3" class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox78" runat="server" XDataBind="DF_MM_Purchase_Info.Marks" Width="100%" Height="55px" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" CssClass="text" DisableExpress="1" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="57" class="tsbottomlabel">
                        <asp:Label id="XLabel10" runat="server" valuetodisplaytext value text="SO-PR号"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_MM_Purchase_Info.SOPR" Width="70%" Height="55px" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" CssClass="text" DisableExpress="1" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                    <td height="57" class="tsbottomlabel">
                        <asp:Label id="XLabel36" runat="server" valuetodisplaytext value text="SAP报价单号"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox62" runat="server" XDataBind="DF_MM_Purchase_Info.SapQuotationNo" ValueToDisplayText Value Width="70%" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False" DisableBehavior="ReadOnly" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="22" class="tsbottomlabel">
                        <asp:Label id="XLabel71" runat="server" valuetodisplaytext value text="所属地区"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox65" runat="server" XDataBind="DF_MM_Purchase_Info.Area" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label2" runat="server" valuetodisplaytext value text="预付款申请单号"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox71" runat="server" XDataBind="DF_MM_Purchase_Info.PaymentFormNo" Width="228px" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                        &nbsp;<aspxform:XHistoryFormLink id="XHistoryFormLink3" runat="server" BackColor="#d4e4fe" XDataBind="DF_MM_Purchase_Info.PaymentTaskID" PopupWndWidth="-1" PopupWndHeight="-1" EmptyText="尚未关联">查看详情</aspxform:XHistoryFormLink>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <%--售达方信息--%>
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel15" runat="server" valuetodisplaytext value text="售达方信息"></asp:Label></td>
                </tr>
                <tr>
                    <td height="23" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel16" runat="server" valuetodisplaytext value text="售达方客户名称"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_MM_Purchase_Info.SalesCustomerName" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                    </td>
                    <td class="ts1">
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel17" runat="server" valuetodisplaytext value text="售达方地址"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_MM_Purchase_Info.SalesCustomerAddr" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel19" runat="server" valuetodisplaytext value text="红旗客户"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XRadioButtonList id="XRadioButtonList2" runat="server" XDataBind="DF_MM_Purchase_Info.IsFlagSC" DisableExpress="1" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel18" runat="server" valuetodisplaytext value text="售达方电话"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_MM_Purchase_Info.SalesCustomerTel" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel20" runat="server" valuetodisplaytext value text="联系人"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="DF_MM_Purchase_Info.Contact" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <%--付款方信息--%>
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="300" class="title1" colspan="4">
                        <asp:Label id="XLabel21" runat="server" valuetodisplaytext value text="付款方信息"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel22" runat="server" valuetodisplaytext value text="付款方客户名称"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="DF_MM_Purchase_Info.PayerCustomerName" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel23" runat="server" valuetodisplaytext value text="红旗客户"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XRadioButtonList id="XRadioButtonList3" runat="server" XDataBind="DF_MM_Purchase_Info.IsFlagPC" DisableExpress="1" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <%--交易信息--%>
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="300" height="16" class="title1" colspan="4">
                        <asp:Label id="XLabel24" runat="server" valuetodisplaytext value text="交易信息"></asp:Label></td>
                </tr>
                <tr>
                    <td class="ts" style="WIDTH: 10%">
                        <asp:Label id="XLabel25" runat="server" valuetodisplaytext value text="付款条件"></asp:Label></td>
                    <td class="ts1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_MM_Purchase_Info.PayItems" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="ts" style="WIDTH: 10%">
                        <asp:Label id="XLabel32" runat="server" valuetodisplaytext value text="销售合同币种"></asp:Label></td>
                    <td class="ts1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox47" runat="server" XDataBind="DF_MM_Purchase_Info.ContractCurrency" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="12" class="ts">
                        <asp:Label id="XLabel26" runat="server" valuetodisplaytext value text="税种"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_MM_Purchase_Info.TaxType" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel33" runat="server" valuetodisplaytext value text="销售合同总金额"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox48" runat="server" XDataBind="DF_MM_Purchase_Info.TotalAmout" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1" Format="type:number;.2" TextAlign="Right"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="12" class="ts">
                        <asp:Label id="XLabel27" runat="server" valuetodisplaytext value text="客户交货方式"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="DF_MM_Purchase_Info.DeliveryMode" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel34" runat="server" valuetodisplaytext value text="客户交货期"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_MM_Purchase_Info.DeliveryDate" Width="48%" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="1"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="XLabel28" runat="server" valuetodisplaytext value text="直发机场"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_MM_Purchase_Info.NonstopAirport" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel35" runat="server" valuetodisplaytext value text="是否免税"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XRadioButtonList id="XRadioButtonList4" runat="server" XDataBind="DF_MM_Purchase_Info.IsTaxFree" DisableExpress="1" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="XLabel29" runat="server" valuetodisplaytext value text="免税说明"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_MM_Purchase_Info.TaxFreeReason" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel30" runat="server" valuetodisplaytext value text="毛利（不含税）"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="DF_MM_Purchase_Info.GrossProfit" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1" Format="type:currency;pfx:￥;.2" TextAlign="Right"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel31" runat="server" valuetodisplaytext value text="发票类型"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 25%">
                        <aspxform:XTextBox id="XTextBox46" runat="server" XDataBind="DF_MM_Purchase_Info.InvoiceType" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel37" runat="server" valuetodisplaytext value text="毛利率"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox50" runat="server" XDataBind="DF_MM_Purchase_Info.GrossMargin" Width="228px" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" DisableExpress="1" Format="type:number;.2" TextAlign="Right"></aspxform:XTextBox>
                        %</td>
                </tr>
            </tbody>
        </table>
        <%--表单行项目--%>
        <div style="TEXT-ALIGN: center" runat="server">
            <br />
            <div class="scrollDiv" style="HEIGHT: 430px">
                <table width="4602" align="center" class="scrolltable" id="PrdtTable" border="0" cellspacing="0" cellpadding="3" runat="server" menudock="Left" dynamicarea="2,1">
                    <tbody>
                        <tr class="scrollColThead">
                            <th height="26" class="scrollRowThead scrollCR" style="TEXT-ALIGN: left" colspan="49">
                                <asp:Label id="XLabel38" runat="server" valuetodisplaytext value text="产品明细" textalign="left"></asp:Label>
                                <aspxform:XExcelDataExportButton id="XExcelDataExportButton1" runat="server" Text="导出产品明细" Height="25px" ExportTableID="PrdtTable"></aspxform:XExcelDataExportButton>
                                <aspxform:XButton id="XButton1" runat="server" Text="获取SAP-PO数据" XClass="YZSoft.Forms.Field.Button" Height="25px" OnClientClick="UpdatePOInfo();" UseSubmitBehavior="False"></aspxform:XButton>
                            </th>
                        </tr>
                        <tr class="scrollColThead">
                            <th width="48" height="60" class="tds">
                                <asp:Label id="XLabel39" runat="server" valuetodisplaytext value text="序号" font-bold="False"></asp:Label>
                            </th>
                            <th width="80" height="60" class="tds">
                                <asp:Label id="XLabel69" runat="server" valuetodisplaytext value text="取消采购" font-bold="False" width="44px"></asp:Label>
                            </th>
                            <th width="74" class="tds">
                                <asp:Label id="XLabel40" runat="server" valuetodisplaytext value text="业务分类" font-bold="False"></asp:Label>
                            </th>
                            <th width="87" class="tds">
                                <asp:Label id="XLabel41" runat="server" valuetodisplaytext value text="技术服务协议" font-bold="False"></asp:Label>
                            </th>
                            <th width="74" class="tds">
                                <asp:Label id="XLabel42" runat="server" valuetodisplaytext value text="物料类型" font-bold="False"></asp:Label>
                            </th>
                            <th width="100" class="tds">
                                <asp:Label id="XLabel43" runat="server" valuetodisplaytext value text="预审产品型号" font-bold="False"></asp:Label>
                            </th>
                            <th width="94" class="tds">
                                <asp:Label id="XLabel143" runat="server" valuetodisplaytext value text="实际采购型号" font-bold="False" width="92px"></asp:Label>
                            </th>
                            <th width="90" class="tds">
                                <asp:Label id="XLabel158" runat="server" valuetodisplaytext value text="PO号" font-bold="False"></asp:Label>
                            </th>
                            <th width="88" class="tds">
                                <asp:Label id="XLabel159" runat="server" valuetodisplaytext value text="PO行号" font-bold="False"></asp:Label>
                            </th>
                            <th width="120" class="tds">
                                <asp:Label id="XLabel144" runat="server" valuetodisplaytext value text="预审SAP物料号" font-bold="False"></asp:Label>
                            </th>
                            <th width="96" class="tds">
                                <asp:Label id="XLabel243" runat="server" valuetodisplaytext value text="预审产品名称" font-bold="False" width="94px"></asp:Label>
                            </th>
                            <th width="220" class="tds">
                                <asp:Label id="XLabel244" runat="server" valuetodisplaytext value text="预审厂商名称" font-bold="False"></asp:Label>
                            </th>
                            <th width="92" class="tds">
                                <asp:Label id="XLabel45" runat="server" valuetodisplaytext value text="采购模式" font-bold="False"></asp:Label>
                            </th>
                            <th width="120" class="tds">
                                <asp:Label id="XLabel70" runat="server" valuetodisplaytext value text="供应商直发" font-bold="False"></asp:Label>
                            </th>
                            <th width="152" class="tds">
                                <asp:Label id="XLabel72" runat="server" valuetodisplaytext value text="直发原因" font-bold="False"></asp:Label>
                            </th>
                            <th width="92" class="tds">
                                <asp:Label id="XLabel46" runat="server" valuetodisplaytext value text="预审采购数量" font-bold="False"></asp:Label>
                            </th>
                            <th width="92" class="tds">
                                <asp:Label id="XLabel146" runat="server" valuetodisplaytext value text="实际采购数量" font-bold="False"></asp:Label>
                            </th>
                            <th width="86" class="tds">
                                <asp:Label id="XLabel47" runat="server" valuetodisplaytext value text="采购币种" font-bold="False"></asp:Label>
                            </th>
                            <th width="100" class="tds">
                                <asp:Label id="Label1" runat="server" valuetodisplaytext value text="采购币种/人民币汇率" font-bold="False"></asp:Label>
                            </th>
                            <th width="92" class="tds">
                                <asp:Label id="Label5" runat="server" valuetodisplaytext value text="预审含税销售单价(销售币种)" font-bold="False" forecolor="Gray"></asp:Label>
                            </th>
                            <th width="100" class="tds">
                                <asp:Label id="XLabel48" runat="server" valuetodisplaytext value text="预审含税采购单价(采购币种)" font-bold="False"></asp:Label>
                            </th>
                            <th width="108" class="tds">
                                <asp:Label id="XLabel248" runat="server" valuetodisplaytext value text="实际含税采购单价(采购币种)" font-bold="False"></asp:Label>
                            </th>
                            <th width="88" class="tds">
                                <asp:Label id="XLabel49" runat="server" valuetodisplaytext value text="采购折扣%" font-bold="False"></asp:Label>
                            </th>
                            <th width="100" class="tds">
                                <asp:Label id="XLabel250" runat="server" valuetodisplaytext value text="实际含税采购总价(采购币种)" font-bold="False"></asp:Label>
                            </th>
                            <th width="105" class="tds">
                                <asp:Label id="XLabel50" runat="server" valuetodisplaytext value text="预审供应商货期" font-bold="False"></asp:Label>
                            </th>
                            <th width="115" class="tds">
                                <asp:Label id="XLabel51" runat="server" valuetodisplaytext value text="实际供应商货期" font-bold="False"></asp:Label>
                            </th>
                            <th width="107" class="tds">
                                <asp:Label id="XLabel251" runat="server" valuetodisplaytext value text="已收货数量" font-bold="False"></asp:Label>
                            </th>
                            <th width="96" class="tds">
                                <asp:Label id="XLabel52" runat="server" valuetodisplaytext value text="采购发票税点" font-bold="False"></asp:Label>
                            </th>
                            <th width="96" class="tds">
                                <asp:Label id="XLabel53" runat="server" valuetodisplaytext value text="预审供应商" font-bold="False"></asp:Label>
                            </th>
                            <th width="104" class="tds">
                                <asp:Label id="XLabel254" runat="server" valuetodisplaytext value text="实际供应商" font-bold="False"></asp:Label>
                            </th>
                            <th width="86" class="tds">
                                <asp:Label id="XLabel154" runat="server" valuetodisplaytext value text="采购员" font-bold="False"></asp:Label>
                            </th>
                            <th width="99" class="tds">
                                <asp:Label id="XLabel55" runat="server" valuetodisplaytext value text="采购付款方式" font-bold="False"></asp:Label>
                            </th>
                            <th width="96" class="tds">
                                <asp:Label id="XLabel56" runat="server" valuetodisplaytext value text="国际运保费率" font-bold="False" width="94px" height="10px"></asp:Label>
                            </th>
                            <th width="127" class="tds">
                                <asp:Label id="XLabel57" runat="server" valuetodisplaytext value text="国际运保费(采购币种)" font-bold="False"></asp:Label>
                            </th>
                            <th width="92" class="tds">
                                <asp:Label id="XLabel58" runat="server" valuetodisplaytext value text="国际运保费(人民币)" font-bold="False"></asp:Label>
                            </th>
                            <th width="99" class="tds">
                                <asp:Label id="XLabel59" runat="server" valuetodisplaytext value text="报关杂费(人民币)" font-bold="False"></asp:Label>
                            </th>
                            <th width="90" class="tds">
                                <asp:Label id="XLabel60" runat="server" valuetodisplaytext value text="关税税率" font-bold="False"></asp:Label>
                            </th>
                            <th width="95" class="tds">
                                <asp:Label id="XLabel61" runat="server" valuetodisplaytext value text="供应商联系人" font-bold="False"></asp:Label>
                            </th>
                            <th width="71" class="tds">
                                <asp:Label id="XLabel62" runat="server" valuetodisplaytext value text="供应商电话" font-bold="False"></asp:Label>
                            </th>
                            <th width="85" class="tds">
                                <asp:Label id="XLabel63" runat="server" valuetodisplaytext value text="客户保修期" font-bold="False"></asp:Label>
                            </th>
                            <th width="160" class="tds">
                                <asp:Label id="XLabel64" runat="server" valuetodisplaytext value text="报供应商最终客户名称" font-bold="False"></asp:Label>
                            </th>
                            <th width="104" class="tds">
                                <asp:Label id="XLabel160" runat="server" valuetodisplaytext value text="备注" font-bold="False"></asp:Label>
                            </th>
                            <th width="69" class="tds">
                                <asp:Label id="XLabel161" runat="server" valuetodisplaytext value text="付款当前处理人" font-bold="False"></asp:Label>
                            </th>
                            <th width="80" class="tds">
                                <asp:Label id="XLabel162" runat="server" valuetodisplaytext value text="付款当前处理时间" font-bold="False"></asp:Label>
                            </th>
                            <th width="78" class="tds">
                                <asp:Label id="XLabel163" runat="server" valuetodisplaytext value text="当前状态" font-bold="False"></asp:Label>
                            </th>
                            <td width="120" class="tds">
                                <asp:Label id="Label3" runat="server" valuetodisplaytext value text="采购合同号" font-bold="False"></asp:Label></td>
                            <td width="100" class="tds">
                                <asp:Label id="Label4" runat="server" valuetodisplaytext value text="采购公司代码" font-bold="False"></asp:Label></td>
                        </tr>
                        <tbody>
                            <tr>
                                <td height="47" class="tds1" style="TEXT-ALIGN: center">
                                    <aspxform:XGridLineNo id="XGridLineNo1" runat="server" BackColor="Transparent" XDataBind="DF_MM_Purchase_Detail.LineNumber" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                                </td>
                                <td height="47" class="tds1" style="TEXT-ALIGN: center">
                                    <aspxform:XCheckBox id="XCheckBox1" runat="server" XDataBind="DF_MM_Purchase_Detail.IsDelete" name="check"></aspxform:XCheckBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_MM_Purchase_Detail.BusinessClass" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_MM_Purchase_Detail.TSType" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_MM_Purchase_Detail.MaterialType" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox24" runat="server" XDataBind="DF_MM_Purchase_Detail.InitProductModel" ValueToDisplayText Value Width="100%" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox25" runat="server" XDataBind="DF_MM_Purchase_Detail.ProductModel" Width="100%" BorderColor="Gainsboro" BorderWidth="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox140" runat="server" XDataBind="DF_MM_Purchase_Detail.PO" Width="100%" BorderColor="Gainsboro" BorderWidth="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox141" runat="server" XDataBind="DF_MM_Purchase_Detail.PORowNumber" Width="100%" BorderColor="Gainsboro" BorderWidth="1"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox63" runat="server" Width="10px" HiddenExpress="1" BorderColor="#DCDCDC" BorderWidth="1" Express='javascript("SetPurchaseInfo",DF_MM_Purchase_Detail.PO,DF_MM_Purchase_Detail.PORowNumber,DF_MM_Purchase_Detail.LineNumber)'></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox76" runat="server" Width="10px" HiddenExpress="1" BorderColor="#DCDCDC" BorderWidth="1" Express='javascript("GetInfoByPO",DF_MM_Purchase_Detail.PO,DF_MM_Purchase_Detail.PORowNumber,DF_MM_Purchase_Detail.LineNumber)'></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="DF_MM_Purchase_Detail.ProductSAPID" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="DF_MM_Purchase_Detail.ProductName" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableBehavior="ReadOnly" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox64" runat="server" XDataBind="DF_MM_Purchase_Detail.ManufacturerID" ValueToDisplayText Value Width="10px" HiddenExpress="1" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_MM_Purchase_Detail.Manufacturer" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_MM_Purchase_Detail.PurchasingPattern" Width="100%" BorderColor="Gainsboro" BorderWidth="1" TextAlign="Center"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox66" runat="server" XDataBind="DF_MM_Purchase_Detail.IsSupplierSend" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1" TextAlign="Center"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox67" runat="server" XDataBind="DF_MM_Purchase_Detail.SupplierSendReason" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1" TextAlign="Center"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox30" runat="server" XDataBind="DF_MM_Purchase_Detail.InitPruchaseNumber" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1" TextAlign="Center"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox31" runat="server" XDataBind="DF_MM_Purchase_Detail.PruchaseNumber" Width="100%" BorderColor="Gainsboro" BorderWidth="1" TextAlign="Center"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox32" runat="server" XDataBind="DF_MM_Purchase_Detail.PurchaseCurrency" Width="100%" BorderColor="Gainsboro" BorderWidth="1" TextAlign="Center"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox70" runat="server" XDataBind="varCurrency" ValueToDisplayText="TableName:DF_SA_SS_ExchangeRate;FilterColumn:ForeignCurrency;DisplayColumn:ForeignCurrency" Width="10" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="true" DataMap="ComputeRate->DF_MM_Purchase_Detail.ExchageRate" Express="DF_MM_Purchase_Detail.PurchaseCurrency"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox68" runat="server" XDataBind="DF_MM_Purchase_Detail.ExchageRate" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1" TextAlign="Center"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox77" runat="server" XDataBind="DF_MM_Purchase_Detail.SellingTotalvalueRMB" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1" Format="type:number;.2" TextAlign="Right" ReadOnly="true" ForeColor="Gray"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox33" runat="server" XDataBind="DF_MM_Purchase_Detail.InitPurchasePrice" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1" Format="type:number;.2" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox34" runat="server" XDataBind="DF_MM_Purchase_Detail.PurchasePrice" Width="100%" BorderColor="Gainsboro" BorderWidth="1" Format="type:number;.2" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox35" runat="server" XDataBind="DF_MM_Purchase_Detail.PurchaseDiscount" ValueToDisplayText Value Width="58px" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False" Format="type:number;.2" TextAlign="Right"></aspxform:XTextBox>
                                    %</td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox36" runat="server" XDataBind="DF_MM_Purchase_Detail.PurchaseTotalAmount" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1" Format="type:number;.2" TextAlign="Right" Express="DF_MM_Purchase_Detail.PurchasePrice*(1-DF_MM_Purchase_Detail.PurchaseDiscount/100)*DF_MM_Purchase_Detail.PruchaseNumber"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox69" runat="server" XDataBind="DF_MM_Purchase_Detail.PurchaseTotalAmountRMB" Width="70" BorderColor="Gainsboro" BorderWidth="1" HiddenInput="true" DisableExpress="1" Format="type:number;.2" TextAlign="Right" Express="DF_MM_Purchase_Detail.PurchaseTotalAmount*DF_MM_Purchase_Detail.ExchageRate"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox37" runat="server" XDataBind="DF_MM_Purchase_Detail.InitSupplierDelivery" Width="100%" BorderColor="Gainsboro" BorderWidth="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox38" runat="server" XDataBind="DF_MM_Purchase_Detail.SupplierDelivery" Width="100%" BorderColor="Gainsboro" BorderWidth="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox39" runat="server" XDataBind="DF_MM_Purchase_Detail.QuantityReceived" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1" TextAlign="Center"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox40" runat="server" XDataBind="DF_MM_Purchase_Detail.PurchaseInvoiceTaxPoint" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox41" runat="server" XDataBind="DF_MM_Purchase_Detail.InquirySupplier" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableBehavior="ReadOnly" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox42" runat="server" XDataBind="DF_MM_Purchase_Detail.Supplier" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableBehavior="ReadOnly" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox43" runat="server" XDataBind="DF_MM_Purchase_Detail.Purchaser" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox44" runat="server" XDataBind="DF_MM_Purchase_Detail.PurchasePayType" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableBehavior="ReadOnly" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox45" runat="server" XDataBind="DF_MM_Purchase_Detail.InternationCIFRate" ValueToDisplayText Value Width="71px" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False" DisableExpress="1" Format="type:number;.2" TextAlign="Right"></aspxform:XTextBox>
                                    %</td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox132" runat="server" XDataBind="DF_MM_Purchase_Detail.InternationCIF" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1" Format="type:number;.2" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox133" runat="server" XDataBind="DF_MM_Purchase_Detail.InternationCIFRMB" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1" Format="type:currency;pfx:￥;.2" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox134" runat="server" XDataBind="DF_MM_Purchase_Detail.CustomsFees" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1" Format="type:currency;pfx:￥;.2" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox135" runat="server" XDataBind="DF_MM_Purchase_Detail.TariffRate" ValueToDisplayText Value Width="61px" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False" DisableExpress="1" Format="type:number;.2" TextAlign="Right"></aspxform:XTextBox>
                                    %</td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox136" runat="server" XDataBind="DF_MM_Purchase_Detail.SupplierContact" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableBehavior="ReadOnly" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox137" runat="server" XDataBind="DF_MM_Purchase_Detail.SupplierTel" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableBehavior="ReadOnly" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox138" runat="server" XDataBind="DF_MM_Purchase_Detail.WarrantyPeriod" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox139" runat="server" XDataBind="DF_MM_Purchase_Detail.CustomerName" Width="100%" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="False" ReadOnly="True"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox72" runat="server" XDataBind="DF_MM_Purchase_Detail.IsFlag" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox73" runat="server" XDataBind="DF_MM_Purchase_Detail.CustomerSAPID" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                                    <aspxform:XDataBrowserButton id="XDataBrowserButton3" runat="server" Width="21px" DataMap="CustomerNameCH->DF_MM_Purchase_Detail.CustomerName;CustomerSAPID->DF_MM_Purchase_Detail.CustomerSAPID;IsFlag->DF_MM_Purchase_Detail.IsFlag" XDataSource="TableName:V_DF_MasterData_Customer" DisplayColumns="CustomerID:客户编号;CustomerNameCH:客户名称;CustomerSAPID:SAPID;IsFlag:红旗客户;CusLeavel:客户等级"></aspxform:XDataBrowserButton>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox142" runat="server" XDataBind="DF_MM_Purchase_Detail.Remark" Width="100%" BorderColor="Gainsboro" BorderWidth="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox143" runat="server" XDataBind="DF_MM_Purchase_Detail.CurrentHandler" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1"></aspxform:XTextBox>
                                    <aspxform:XDropDownList id="XDropDownList1" runat="server" Width="20px" HiddenExpress="1" DataMap="ReceiveAt->DF_MM_Purchase_Detail.PaymentDate;HandlerName->DF_MM_Purchase_Detail.CurrentHandler;StateValue->DF_MM_Purchase_Detail.PaymentState" XDataSource="ProcedureName:PROC_DF_Purchase_PaymentSate;Filter:@PO -> DF_MM_Purchase_Detail.PO,@PORowNum -> DF_MM_Purchase_Detail.PORowNumber,@Currency -> DF_MM_Purchase_Detail.PurchaseCurrency;BufferType:RuntimeUpdate" DisplayColumn="HandlerName" ValueColumn="HandlerName">
                                        <asp:ListItem>未绑定</asp:ListItem>
                                    </aspxform:XDropDownList>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox144" runat="server" XDataBind="DF_MM_Purchase_Detail.PaymentDate" Width="100%" BorderColor="Gainsboro" BorderWidth="1" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox145" runat="server" XDataBind="DF_MM_Purchase_Detail.PaymentState" ValueToDisplayText Width="100%" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False" DisableExpress="1"></aspxform:XTextBox>
                                    <%--隐藏字段--%>
                                    <aspxform:XTextBox id="XTextBox57" runat="server" XDataBind="DF_MM_Purchase_Detail.ManufacturerID" ValueToDisplayText Value Width="19px" HiddenExpress="1" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox74" runat="server" XDataBind="DF_MM_Purchase_Detail.PurchaseContractNo" Width="100%" BorderColor="Gainsboro" BorderWidth="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox75" runat="server" XDataBind="DF_MM_Purchase_Detail.PurchaseCompanyCode" Width="100%" BorderColor="Gainsboro" BorderWidth="1"></aspxform:XTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td height="25">
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td class="tds">
                                    <asp:Label id="XLabel54" runat="server" valuetodisplaytext value text="合计" width="100%"></asp:Label></td>
                                <td class="tds1q">
                                    <aspxform:XTextBox id="XTextBox51" runat="server" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" Format="type:number;.2" TextAlign="Right" Express="sum(DF_MM_Purchase_Detail.PurchaseTotalAmount)"></aspxform:XTextBox>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox52" runat="server" Width="100%" BorderColor="Gainsboro" BorderWidth="1" Format="type:number;.2" TextAlign="Right" Express="sum(DF_MM_Purchase_Detail.InternationCIF)"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox53" runat="server" Width="100%" BorderColor="Gainsboro" BorderWidth="1" Format="type:currency;pfx:￥;.2" TextAlign="Right" Express="sum(DF_MM_Purchase_Detail.InternationCIFRMB)"></aspxform:XTextBox>
                                </td>
                                <td class="tds1q">
                                    <aspxform:XTextBox id="XTextBox54" runat="server" Width="100%" BorderColor="Gainsboro" BorderWidth="1" Format="type:currency;pfx:￥;.2" TextAlign="Right" Express="sum(DF_MM_Purchase_Detail.CustomsFees)"></aspxform:XTextBox>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td width="79">
                                </td>
                                <td width="93">
                                </td>
                            </tr>
                        </tbody>
                    </tbody>
                </table>
            </div>
        </div>
        <aspxform:XRequiredFieldValidator id="请填写PO号" runat="server" DisableExpress="DF_MM_Purchase_Detail.IsDelete=='1'" ValidationGroup="submit" ControlToValidate="XTextBox140" ErrorMessage="请填写PO号"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="请填写PO行号" runat="server" DisableExpress="DF_MM_Purchase_Detail.IsDelete=='1'" ValidationGroup="submit" ControlToValidate="XTextBox141" ErrorMessage="请填写PO行号" Display="None"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" DisableExpress="DF_MM_Purchase_Detail.IsDelete!='1'" ValidationGroup="submit" ControlToValidate="XTextBox142" ErrorMessage="请填写取消采购备注"></aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr class="title1">
                    <td width="1200" height="12" class="td1">
                        <asp:Label id="XLabel65" runat="server" valuetodisplaytext value text="销售合同附件"></asp:Label></td>
                </tr>
                <tr>
                    <td height="14">
                        <aspxform:XAttachments id="XAttachments1" runat="server" XDataBind="DF_MM_Purchase_Info.ContractAttach" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.GIF;*.PNG,*.msg;*.eml"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr class="title1">
                    <td width="1200" class="td1">
                        <asp:Label id="XLabel66" runat="server" valuetodisplaytext value text="其他附件"></asp:Label></td>
                </tr>
                <tr>
                    <td>
                        <aspxform:XAttachments id="XAttachments2" runat="server" XDataBind="DF_MM_Purchase_Info.OtherAttach" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.GIF;*.PNG;*.msg;*.eml"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr class="title1">
                    <td width="1200" class="td1">
                        <asp:Label id="XLabel96" runat="server" valuetodisplaytext value text="上传其他采购附件"></asp:Label></td>
                </tr>
                <tr>
                    <td>
                        <aspxform:XAttachments id="XAttachments4" runat="server" XDataBind="DF_MM_Purchase_Info.PurchaseOtherAttach" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.GIF;*.PNG;*.msg;*.eml"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200" class="title1">
                        <asp:Label id="XLabel67" runat="server" valuetodisplaytext value text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox55" runat="server" XDataBind="DF_MM_Purchase_Info.Remark" Width="100%" Height="60px" BorderColor="#DCDCDC" BorderWidth="1" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200" class="title1">
                        <aspxform:XLabel id="XLabel68" runat="server" BackColor="#d4e4fe" ValueToDisplayText Value Text="外币直发客户中、英文信息（内容：公司名称、地址、电话、联系人）" HiddenExpress="DF_MM_Purchase_Info.ContractCurrency=='CNY'"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel73" runat="server" BackColor="#d4e4fe" ValueToDisplayText Value Text="直发客户中文信息（内容：公司名称、地址、电话、联系人）" HiddenExpress="DF_MM_Purchase_Info.ContractCurrency!='CNY'"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox56" runat="server" XDataBind="DF_MM_Purchase_Info.SupplierRemark" Width="100%" Height="60px" BorderColor="#DCDCDC" BorderWidth="1" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td>
                        <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderColor="#dcdcdc" BorderWidth="1"></aspxform:XSignTrace>
                    </td>
                </tr>
            </tbody>
        </table>
        <p>
        </p>
    </form>
</body>
</html>
