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

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

    // Insert page code here
    //
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        { //首次加载

            string formstate = Request.QueryString["formstate"];

            if (formstate == "New")
            {
                //taskid
                string taskid = Request.QueryString["taskid"];
                this.taskid.Text = taskid;

                string strid = Request.QueryString["strid"];
                this.strid.Text = strid;
                int i = strid.IndexOf(',');
                if (i != -1)
                {
                    this.id.Text = strid.Substring(0, i);
                }
                else
                    this.id.Text = strid;
            }
            else if (formstate == "Edit")
            {
                string strid = Request.QueryString["strid"];
                this.strid.Text = strid;
                int i = strid.IndexOf(',');
                if (i != -1)
                {
                    this.id.Text = strid.Substring(0, i);
                }
                else
                    this.id.Text = strid;
            }
            else
            {
                string strid = Request.QueryString["strid"];
                //this.strid.Text = strid;
                int i = strid.IndexOf(',');
                if (i != -1)
                {
                    this.id.Text = strid.Substring(0, i);
                }
                else
                    this.id.Text = strid;
            }

            this.companyCode.Text = Request.QueryString["code"];
            this.contractTemplate.Text = Request.QueryString["type"];
            this.customerSales.Text = Request.QueryString["csSalesman"];
        }
    }

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <%--<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>
    <style>
        .tdStyle {
            WIDTH: 12%;
            font-size: 14px;
            text-align: left;
            margin-left: 20px;
            height: 30px;
        }

        .tdStyle01 {
            WIDTH: 35%;
            font-size: 14px;
            text-align: left;
            margin-left: 20px;
            height: 30px;
        }

        .tdStyle1 {
            WIDTH: 10%;
            font-size: 14px;
            text-align: left;
        }

        .tdStyle2 {
            WIDTH: 10%;
            font-size: 14px;
            text-align: left;
            margin-left: 20px;
            height: 20px;
        }

        .cfont {
            font-size: 16px;
        }
    </style>
    <script>
        function getXValue(id) {
            return agent.Eles[document.getElementById(id).getAttribute("xform_xele_index")].getValue();
        }

        function setXValue(id, value) {
            agent.Eles[document.getElementById(id).getAttribute("xform_xele_index")].setValue(value);
        }

        function FormXOnChange(id) {
            XFormOnChange(agent.Eles[document.getElementById(id).getAttribute("xform_xele_index")]);

        }


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

            var che = SaveCheckInfo(getXValue("contractTemplate"));
            //alert(che);
            if (!che)
                return false;

        });

        Ext.onReady(function () {
            var state = request("formstate");

            //采购公司代码
            var companyCode = getXValue("companyCode");
            if (state == "New" || state == "Edit")
                FormXOnChange('companyCode');
            var obj = MailInvoiceInfo(companyCode);
            if (obj != null) {
                setXValue("invoiceReceivingAddress", obj.address);
                setXValue("invoiceZipCode", obj.zipCode);
                setXValue("invoiceZipCode", obj.zipCode);
            }

            //alert(getXValue("newid"));
            if (state == "New" || state == "Edit")
                FormXOnChange('id');
            setXValue("newid", getXValue('id'));
            FormXOnChange('newid');

            setXValue('PTaskID', getXValue("taskid"));
            if (state == "New" || state == "Edit")
                FormXOnChange('PTaskID');

            //显示合同信息
            ShowContractInfo(getXValue("contractTemplate"));
        });


        //显示合同信息
        function ShowContractInfo(value) {

            //默认全部隐藏
            document.getElementById("div_01").style.display = "none";
            document.getElementById("div_02").style.display = "none";
            document.getElementById("div_03").style.display = "none";
            document.getElementById("div_04").style.display = "none";
            switch (value) {
                case "01": //通用模板
                    document.getElementById("div_01").style.display = "";
                    break;
                case "02"://技术服务计量
                    document.getElementById("div_02").style.display = "";
                    break;
                case "03"://技术服务维修
                    document.getElementById("div_03").style.display = "";
                    break;
                case "04"://技术服务延保
                    document.getElementById("div_04").style.display = "";
                    break;
                    //case "05"://菊水
                    //    document.getElementById("div_05").style.display = "";
                    //    break;
                default:
                    break;
            }
        }


        //保存检查数据信息
        function SaveCheckInfo(value) {

            //合同模板类型
            switch (value) {
                case "01":
                    //通用模板
                    //if (getXValue("warrantyPeriod1") == "") {
                    //    getLocation("warrantyPeriod1", "input");
                    //    Ext.MessageBox.alert("提示", "请填写质保期【 】个月");
                    //    return false;
                    //}
                    return true;
                    break;
                default:
                    return true;
                    break;
            }
        }


        //获取邮寄发票信息
        function MailInvoiceInfo(value) {
            var obj = {};
            //switch (value) {
            //    case "1000":
            //        obj.address = "北京市海淀区阜成路67号银都大厦12层";
            //        obj.zipCode = "100142";
            //        break;
            //    default:
            //}

            obj.address = "北京市海淀区阜成路67号银都大厦12层";
            obj.zipCode = "100142";

            return obj;
        }

        //发票税点
        function GetPurchaseInvoiceTax(PurchaseInvoiceTaxPoint) {
            var v = getXValue("purchaseInvoiceTaxPoint");
            PurchaseInvoiceTaxPoint = v;
            //XFormOnChange(agent.Eles[document.getElementById('InvoiceTax').getAttribute("xform_xele_index")]);
            if (PurchaseInvoiceTaxPoint == "6%增值税发票") {

                return "0.06";
            }
            if (PurchaseInvoiceTaxPoint == "17%增值税发票") {

                return "0.17";
            }
            if (PurchaseInvoiceTaxPoint == "13%增值税发票") {

                return "0.13";
            }
            if (PurchaseInvoiceTaxPoint == "16%增值税发票") {

                return "0.16";
            }
            if (PurchaseInvoiceTaxPoint == "4%增值税发票") {

                return "0.04";
            }
            if (PurchaseInvoiceTaxPoint == "3%增值税发票") {

                return "0.03";
            }
            if (PurchaseInvoiceTaxPoint == "1%增值税发票") {

                return "0.01";
            }
        }

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

        //保存时如果为空 就定位到该位置并至红色
        function getLocation(xid, type) {
            var id = document.getElementById(xid).getElementsByTagName(type)[0].id;
            document.getElementById(xid).getElementsByTagName("div")[0].style.borderColor = "red";
            document.querySelector('#' + id + '').focus();

            document.getElementById(xid).getElementsByTagName(type)[0].onblur = function blur() {
                var value = agent.Eles[document.getElementById(xid).getAttribute("xform_xele_index")].getValue();
                if (value != "") {
                    document.getElementById(xid).getElementsByTagName("div")[0].style.borderColor = "Gainsboro";
                }
                else {
                    document.getElementById(xid).getElementsByTagName("div")[0].style.borderColor = "red";
                }
            }
            document.getElementById(xid).getElementsByTagName(type)[0].onfocus = function focus() {
                var value = agent.Eles[document.getElementById(xid).getAttribute("xform_xele_index")].getValue();
                if (value != "") {
                    document.getElementById(xid).getElementsByTagName("div")[0].style.borderColor = "Gainsboro";
                } else {
                    document.getElementById(xid).getElementsByTagName("div")[0].style.borderColor = "red";
                }

            }

        }

        //保存时如果为空 就定位到该位置并至红色
        function getLocationH(div, id, type) {
            div.getElementsByTagName("div")[0].style.borderColor = "red";
            document.querySelector('#' + id + '').focus();


            div.getElementsByTagName(type)[0].onblur = function blur() {

                var id = div.getElementsByTagName(type)[0].id;
                var v = document.getElementById(id).value;
                var value = v;
                if (value != "") {
                    div.getElementsByTagName("div")[0].style.borderColor = "Gainsboro";
                }
                else {
                    div.getElementsByTagName("div")[0].style.borderColor = "red";
                }
            }
            div.getElementsByTagName(type)[0].onfocus = function focus() {
                var id = div.getElementsByTagName(type)[0].id;
                var v = document.getElementById(id).value;
                var value = v;
                if (value != "") {
                    div.getElementsByTagName("div")[0].style.borderColor = "Gainsboro";
                } else {
                    div.getElementsByTagName("div")[0].style.borderColor = "red";
                }

            }

        }

    </script>
</head>
<body>
    <form runat="server">
        <br />
        <table width="1000" align="center" border="0" cellspacing="0" cellpadding="0" runat="server">
            <tbody>
                <tr>
                    <td height="27" class="title1" style="font-size: 20px; text-align: center" colspan="2">
                        <asp:Label ID="Label3" Style="text-align: center" runat="server" Text="采购订单"></asp:Label></td>
                </tr>
                <tr class="tdStyle1">
                    <td style="width: 70%">
                        <aspxform:XLabel ID="taskid" runat="server" HiddenExpress="1" XDataBind="DF_MM_ContractInfo.PTaskID"></aspxform:XLabel>
                        <aspxform:XLabel ID="PTaskID" runat="server" HiddenExpress="1" XDataBind="PTaskID"></aspxform:XLabel>
                        <aspxform:XLabel ID="strid" runat="server" HiddenExpress="1" XDataBind="strid"></aspxform:XLabel>
                        <aspxform:XLabel ID="id" runat="server" HiddenExpress="1" XDataBind="id"></aspxform:XLabel>
                        <aspxform:XLabel ID="newid" runat="server" HiddenExpress="1" XDataBind="newid"></aspxform:XLabel>
                        <aspxform:XLabel ID="companyCode" runat="server" HiddenExpress="1" XDataBind="companyCode"></aspxform:XLabel>
                        <aspxform:XLabel ID="contractTemplate" runat="server" HiddenExpress="1" XDataBind="contractTemplate"></aspxform:XLabel>
                        <aspxform:XTextBox ID="XTextBox4" runat="server" HiddenExpress="1" XDataBind="splict" HiddenInput="true" Min="0" Max="0" BorderColor="Gainsboro" BorderWidth="1px" Width="39px">,</aspxform:XTextBox>
                        <aspxform:XDropDownList ID="XDropDownList1" runat="server" HiddenExpress="1" Width="67px" XDataSource="TableName:DF_MM_NewPurchase_Detail;Filter:ItemID->id" DataMap="PurchaseCurrency->purchaseCurrencyy;SupplierContact->sContacts;SupplierTel->sTelephone;CustomerName->DF_MM_ContractInfo.customerName;Stockpile->SAPStorageID;Plant->SAPPlant;ZSupplier->sCompanyName;PartnerSAPID->sSAPID;PurchaseInvoiceTaxPointCode->purchaseInvoiceTaxPoint"></aspxform:XDropDownList>
                        <aspxform:XDropDownList ID="XDropDownList13" runat="server" HiddenExpress="1" Width="67px" XDataSource="TableName:DF_MM_NewPurchase_Detail;Filter:ItemID->newid" DataMap="PurchaseCurrency->purchaseCurrencyy;SupplierContact->sContacts;SupplierTel->sTelephone;PurchaseInvoiceTaxPointCode->purchaseInvoiceTaxPoint"></aspxform:XDropDownList>
                        <aspxform:XDropDownList ID="XDropDownList2" runat="server" HiddenExpress="1" Width="67px" XDataSource="TableName:DF_MM_NewPurchase_Info;Filter:TaskID->DF_MM_ContractInfo.PTaskID" DataMap="Salesman->DF_MM_ContractInfo.ourSales;CreateDate->DF_MM_ContractInfo.orderDate;ActualPaymentTerms->DF_MM_NewPurchase_Info.ActualPaymentTerms;PurchaseContractNo->DF_MM_ContractInfo.orderNum"></aspxform:XDropDownList>
                    </td>
                    <td style="width: 30%; text-align: left">采购合同号: 
                        <aspxform:XLabel ID="XLabel2" runat="server" XDataBind="DF_MM_ContractInfo.orderNum"></aspxform:XLabel>
                        <%--<aspxform:XLabel id="XLabel10" runat="server" XDataBind="DF_MM_ContractInfo.NewPurchaseContractNo"></aspxform:XLabel>--%></td>
                </tr>
            </tbody>
        </table>
        <table width="1000" align="center" border="0" cellspacing="0" cellpadding="0" runat="server">
            <tbody>
                <tr style="height: 20px">
                </tr>
                <tr>
                    <td style="font-size: 18px; border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; text-align: left; border-left: black 1px solid" colspan="4">供应商信息&nbsp; 
                        <aspxform:XLabel ID="customerName" runat="server" HiddenExpress="1" XDataBind="DF_MM_ContractInfo.customerName"></aspxform:XLabel>
                        &nbsp;<aspxform:XLabel ID="customerSales" runat="server" HiddenExpress="1" XDataBind="DF_MM_ContractInfo.customerSales"></aspxform:XLabel>
                        &nbsp;<aspxform:XLabel ID="ourSales" runat="server" HiddenExpress="1" XDataBind="DF_MM_ContractInfo.ourSales"></aspxform:XLabel>
                        <aspxform:XDropDownList ID="XDropDownList7" runat="server" HiddenExpress="1" XDataSource='TableName:V_DF_Partner_ContactZK;Filter:ContactName->sContacts,ContactType->"供应商",PartnerSAPID->sSAPID' DataMap="ContactAddr->sAddress;Fax->sFax"></aspxform:XDropDownList>
                        <%--<aspxform:XDropDownList id="XDropDownList6" runat="server" HiddenExpress="1" DataMap="ContactAddr->sAddress;Fax->sFax" XDataSource='TableName:V_DF_Partner_ContactZK;Filter:ContactName->sContacts,ContactType->"供应商",PartnerSAPID->sSAPID'></aspxform:XDropDownList>--%></td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 12%; border-bottom: black 1px solid; border-left: black 1px solid">供应商名称 
                        <aspxform:XLabel ID="sSAPID" runat="server" HiddenExpress="1" XDataBind="sSAPID"></aspxform:XLabel>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 35%; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XLabel ID="XLabel3" runat="server" XDataBind="sCompanyName"></aspxform:XLabel>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 12%; border-bottom: black 1px solid; border-left: black 1px solid">传真 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 35%; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XLabel ID="XLabel8" runat="server" XDataBind="sFax"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">收件人 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XLabel ID="XLabel4" runat="server" XDataBind="sContacts"></aspxform:XLabel>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">电话 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XLabel ID="XLabel9" runat="server" XDataBind="sTelephone"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">地址</td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XLabel ID="XLabel5" runat="server" XDataBind="sAddress"></aspxform:XLabel>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid"></td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none"></td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1000" align="center" border="0" cellspacing="0" cellpadding="0" runat="server">
            <tbody>
                <%--<tr style="height: 20px"></tr>--%>
                <tr>
                    <td style="font-size: 18px; border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; text-align: left; border-left: black 1px solid" colspan="4">邮寄货物信息 
                        <aspxform:XDropDownList ID="XDropDownList3" runat="server" HiddenExpress="1" Width="133px" XDataSource="TableName:V_DF_Logistics_SAPStorage;Filter:SAPStorageID->SAPStorageID,SAPPlant->SAPPlant" DataMap="StorageID->DF_MM_ContractInfo.storageID;StorageName->DF_MM_ContractInfo.storageName" Height="25px" PromptText="----请选择----" ValueColumn="StorageName" DisplayColumn="StorageName"></aspxform:XDropDownList>
                        &nbsp;<aspxform:XTextBox ID="XTextBox3" runat="server" XDataBind="SAPStorageID" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Width="50px" CssClass="text"></aspxform:XTextBox>
                        &nbsp;<aspxform:XTextBox ID="XTextBox5" runat="server" XDataBind="SAPPlant" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Width="50px" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 12%; border-bottom: black 1px solid; border-left: black 1px solid">收货库存地 
                        <aspxform:XTextBox ID="XTextBox17" runat="server" HiddenExpress="1" XDataBind="DF_MM_ContractInfo.storageID" HiddenInput="False" BorderColor="#DCDCDC" BorderWidth="1" Width="50px" CssClass="text"></aspxform:XTextBox>
                        <aspxform:XDropDownList ID="XDropDownList10" runat="server" HiddenExpress="1" XDataSource="TableName:DF_Logistics_StorageAddress;Filter:StorageID->DF_MM_ContractInfo.storageID" DataMap="CompanyName->DF_MM_ContractInfo.receiptCompanyName;Address->DF_MM_ContractInfo.receiptAddress;Code->DF_MM_ContractInfo.receiptZipCode"></aspxform:XDropDownList>
                        <aspxform:XDropDownList ID="XDropDownList11" runat="server" HiddenExpress="1" XDataSource="TableName:DF_Logistics_StorageContact;Filter:StorageID->DF_MM_ContractInfo.storageID" DataMap="ContactName->DF_MM_ContractInfo.receiptContacts;ContactTelPhone->DF_MM_ContractInfo.receiptTelephone;ContactMobile->DF_MM_ContractInfo.receiptMobilePhone"></aspxform:XDropDownList>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 35%; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XDropDownList ID="XDropDownList12" runat="server" XDataBind="DF_MM_ContractInfo.storageName" Width="50%" XDataSource="TableName:V_DF_Logistics_Storage1" DataMap="StorageID->DF_MM_ContractInfo.storageID" Height="25px" PromptText="----请选择----" ValueColumn="StorageName" DisplayColumn="StorageName"></aspxform:XDropDownList>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 12%; border-bottom: black 1px solid; border-left: black 1px solid"></td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 35%; border-bottom: black 1px solid; border-left: medium none"></td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">收货公司名称 
                        <aspxform:XDataBrowserButton ID="XDataBrowserButton4" runat="server" Text="查询" Width="35px" XDataSource="TableName:DF_Logistics_StorageAddress;Filter:StorageID->DF_MM_ContractInfo.storageID" DataMap="CompanyName->DF_MM_ContractInfo.receiptCompanyName;Address->DF_MM_ContractInfo.receiptAddress;Code->DF_MM_ContractInfo.receiptZipCode" DisableExpress="DF_MM_ContractInfo.storageID==''" DisplayColumns="CompanyName:公司名称;Address:地址;Code:邮编"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox9" runat="server" XDataBind="DF_MM_ContractInfo.receiptCompanyName" BorderColor="Gainsboro" BorderWidth="1px" Width="100%" Height="100%" DisableExpress='DF_MM_ContractInfo.storageID!="0"'></aspxform:XTextBox>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">收件人 
                        <aspxform:XDataBrowserButton ID="XDataBrowserButton5" runat="server" Text="查询" Width="35px" XDataSource="TableName:DF_Logistics_StorageContact;Filter:StorageID->DF_MM_ContractInfo.storageID" DataMap="ContactName->DF_MM_ContractInfo.receiptContacts;ContactTelPhone->DF_MM_ContractInfo.receiptTelephone;ContactMobile->DF_MM_ContractInfo.receiptMobilePhone" DisableExpress="DF_MM_ContractInfo.storageID==''" DisplayColumns="ContactName:联系人姓名;ContactTelPhone:联系人手机;ContactMobile:联系人电话"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox10" runat="server" XDataBind="DF_MM_ContractInfo.receiptContacts" BorderColor="Gainsboro" BorderWidth="1px" Width="100%" Height="100%" DisableExpress='DF_MM_ContractInfo.storageID!="0"'></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">收货地址 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox11" runat="server" XDataBind="DF_MM_ContractInfo.receiptAddress" BorderColor="Gainsboro" BorderWidth="1px" Width="100%" Height="100%" DisableExpress='DF_MM_ContractInfo.storageID!="0"'></aspxform:XTextBox>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">联系人座机 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox12" runat="server" XDataBind="DF_MM_ContractInfo.receiptTelephone" BorderColor="Gainsboro" BorderWidth="1px" Width="100%" Height="100%" DisableExpress='DF_MM_ContractInfo.storageID!="0"'></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">邮编 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox13" runat="server" XDataBind="DF_MM_ContractInfo.receiptZipCode" BorderColor="Gainsboro" BorderWidth="1px" Width="100%" Height="100%" DisableExpress='DF_MM_ContractInfo.storageID!="0"'></aspxform:XTextBox>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">联系人手机 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox14" runat="server" XDataBind="DF_MM_ContractInfo.receiptMobilePhone" BorderColor="Gainsboro" BorderWidth="1px" Width="100%" Height="100%" DisableExpress='DF_MM_ContractInfo.storageID!="0"'></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1000" align="center" border="0" cellspacing="0" cellpadding="0" runat="server">
            <tbody>
                <tr>
                    <td style="font-size: 18px; border-top: black 1px solid; border-right: black 1px solid; width: 5%; border-bottom: black 1px solid; text-align: left; border-left: black 1px solid" colspan="4">邮寄发票信息 
                    </td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 5%; border-bottom: black 1px solid; border-left: black 1px solid">地址 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 35%; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XLabel ID="invoiceReceivingAddress" runat="server" XDataBind="DF_MM_ContractInfo.invoiceReceivingAddress"></aspxform:XLabel>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">收件人 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="invoiceReceiver" runat="server" XDataBind="DF_MM_ContractInfo.invoiceReceiver" BorderColor="Gainsboro" BorderWidth="1px" Width="100%" Height="100%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">邮编 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XLabel ID="invoiceZipCode" runat="server" XDataBind="DF_MM_ContractInfo.invoiceZipCode"></aspxform:XLabel>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 5%; border-bottom: black 1px solid; border-left: black 1px solid">电话 
                        <aspxform:XDropDownList ID="XDropDownList4" runat="server" HiddenExpress="1" XDataSource="TableName:BPMSysUsers;Filter:DisplayName->DF_MM_ContractInfo.invoiceReceiver" DataMap="OfficePhone->DF_MM_ContractInfo.invoiceReceiverTel"></aspxform:XDropDownList>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 35%; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="invoiceReceiverTel" runat="server" XDataBind="DF_MM_ContractInfo.invoiceReceiverTel" BorderColor="Gainsboro" BorderWidth="1px" Width="100%" Height="100%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid"></td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none"></td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 5%; border-bottom: black 1px solid; border-left: black 1px solid">直线传真 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 35%; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="directFax" runat="server" XDataBind="DF_MM_ContractInfo.directFax" BorderColor="Gainsboro" BorderWidth="1px" Width="100%" Height="100%"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1000" align="center" border="0" cellspacing="0" cellpadding="0" runat="server">
            <tbody>
                <tr>
                    <td style="font-size: 18px; border-top: black 1px solid; border-right: black 1px solid; width: 5%; border-bottom: black 1px solid; text-align: left; border-left: black 1px solid" colspan="4">开票信息 
                        <aspxform:XDropDownList ID="XDropDownList9" runat="server" HiddenExpress="1" Width="133px" XDataSource="TableName:DF_SA_SS_Company;Filter:CompanyCode->companyCode" DataMap="Demander->invoiceCompanyName;Deposit->invoiceBank;Account->invoiceAccount;TaxpayerNo->taxNumber;Address->invoiceAddress;Telphone->invoiceTel" Height="25px" PromptText="----请选择----"></aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 5%; border-bottom: black 1px solid; border-left: black 1px solid">公司 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 35%; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XLabel ID="XLabel6" runat="server" XDataBind="invoiceCompanyName"></aspxform:XLabel>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">开户行 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox15" runat="server" XDataBind="invoiceBank" BorderColor="Gainsboro" BorderWidth="1px" Width="100%" Height="100%" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">地址 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XLabel ID="XLabel7" runat="server" XDataBind="invoiceAddress"></aspxform:XLabel>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 5%; border-bottom: black 1px solid; border-left: black 1px solid">账号 
                        <aspxform:XDropDownList ID="XDropDownList8" runat="server" HiddenExpress="1" XDataSource="TableName:BPMSysUsers;Filter:DisplayName->DF_MM_ContractInfo.invoiceReceiver" DataMap="OfficePhone->DF_MM_ContractInfo.invoiceReceiverTel"></aspxform:XDropDownList>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 35%; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox16" runat="server" XDataBind="invoiceAccount" BorderColor="Gainsboro" BorderWidth="1px" Width="100%" Height="100%" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">电话 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox19" runat="server" XDataBind="invoiceTel" BorderColor="Gainsboro" BorderWidth="1px" Width="100%" Height="100%" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 5%; border-bottom: black 1px solid; border-left: black 1px solid">税号 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 35%; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox18" runat="server" XDataBind="taxNumber" BorderColor="Gainsboro" BorderWidth="1px" Width="100%" Height="100%" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1000" align="center" border="0" cellspacing="0" cellpadding="0" runat="server">
            <tbody>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 12%; border-bottom: black 1px solid; border-left: black 1px solid">付款条件 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 35%; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XLabel ID="XLabel22" runat="server" XDataBind="DF_MM_NewPurchase_Info.ActualPaymentTerms"></aspxform:XLabel>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 12%; border-bottom: black 1px solid; border-left: black 1px solid">发票情况 
                        <aspxform:XLabel ID="PurchaseInvoiceTax" runat="server" HiddenExpress="1" XDataBind="PurchaseInvoiceTax" Express="javascript('GetPurchaseInvoiceTax',PurchaseInvoiceTaxPoint)"></aspxform:XLabel>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; width: 35%; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XLabel ID="purchaseInvoiceTaxPoint" runat="server" XDataBind="purchaseInvoiceTaxPoint"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">采购币种 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XLabel ID="XLabel19" runat="server" XDataBind="purchaseCurrencyy"></aspxform:XLabel>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid"></td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none"></td>
                </tr>
                <tr>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">采购员姓名 
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XLabel ID="XLabel21" runat="server" Express="DF_MM_ContractInfo.invoiceReceiver"></aspxform:XLabel>
                    </td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">
                        <%--订单日期--%></td>
                    <td class="tdStyle" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XDateTimePicker ID="XDateTimePicker1" runat="server" HiddenExpress="1" XDataBind="DF_MM_ContractInfo.orderDate" BorderColor="White" BorderWidth="1" Height="100%" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1000" align="center" border="0" cellspacing="0" cellpadding="0" runat="server" xdatasource="ProcedureName:Proc_DF_MM_NegotiationPrdtList;Filter:@strID->strid,@taskid->DF_MM_ContractInfo.PTaskID,@split->splict" dynamicarea="1,1" menudock="Left" datamap="ItemID->DF_MM_ContractProduct.PItemID;ProductName->DF_MM_ContractProduct.productName;ProductModel->DF_MM_ContractProduct.productModel;PruchaseNumber->DF_MM_ContractProduct.number;TotalDiscountIncludingTax->DF_MM_ContractProduct.totalPrice;ContractDeliveryDate->DF_MM_ContractProduct.deliveryDate;ProductSAPID->DF_MM_ContractProduct.productID">
            <tbody>
                <tr class="tdStyle" style="text-align: center">
                    <td width="30" height="28" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">序号</td>
                    <td width="128" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">制造厂商</td>
                    <td width="110" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">产品名称</td>
                    <td width="110" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">产品型号</td>
                    <td width="110" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">序列号</td>
                    <td width="30" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">数量</td>
                    <td width="80" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">含税单价</td>
                    <td width="80" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">未税总价</td>
                    <td width="80" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">含税总价</td>
                    <td width="100" style="border-top: black 1px solid; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">交货日</td>
                </tr>
                <tr>
                    <td height="27" style="border-top: medium none; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid">
                        <aspxform:XGridLineNo ID="XGridLineNo1" runat="server" XDataBind="DF_MM_ContractProduct.serialNum" BorderWidth="1" Width="100%" Height="100%" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td width="128" style="border-top: medium none; border-right: black 1px solid; border-bottom: black 1px solid; text-align: center; border-left: medium none">
                        <aspxform:XLabel ID="manufacturer" runat="server" XDataBind="DF_MM_ContractProduct.manufacturer"></aspxform:XLabel>
                        <aspxform:XDropDownList ID="XDropDownList5" runat="server" HiddenExpress="1" XDataSource="ProcedureName:Proc_V_DF_PRODUCTS_ProductManagement;Filter:@SAPID->DF_MM_ContractProduct.productID" DataMap="ManufacturerName->DF_MM_ContractProduct.manufacturer"></aspxform:XDropDownList>
                        <aspxform:XLabel ID="XLabel24" runat="server" HiddenExpress="1" XDataBind="manufacturerID"></aspxform:XLabel>
                        <aspxform:XLabel ID="XLabel10" runat="server" HiddenExpress="1" XDataBind="DF_MM_ContractProduct.PItemID"></aspxform:XLabel>
                        <aspxform:XDropDownList ID="XDropDownList6" runat="server" HiddenExpress="1" XDataSource="ProcedureName:Proc_DF_MM_NegotiationPrdtList;Filter:@strID->DF_MM_ContractProduct.PItemID,@taskid->PTaskID,@split->splict" DataMap="ProductName->DF_MM_ContractProduct.productName;ProductModel->DF_MM_ContractProduct.productModel;PruchaseNumber->DF_MM_ContractProduct.number;PurchasePrice->DF_MM_ContractProduct.unitPrice;TotalDiscountIncludingTax->DF_MM_ContractProduct.totalPrice;ContractDeliveryDate->DF_MM_ContractProduct.deliveryDate;ProductSAPID->DF_MM_ContractProduct.productID"></aspxform:XDropDownList>
                    </td>
                    <td height="27" style="border-top: medium none; border-right: black 1px solid; border-bottom: black 1px solid; text-align: center; border-left: medium none">
                        <aspxform:XLabel ID="XLabel1" runat="server" XDataBind="DF_MM_ContractProduct.productName"></aspxform:XLabel>
                        <aspxform:XLabel ID="XLabel17" runat="server" HiddenExpress="1" XDataBind="DF_MM_ContractProduct.productID"></aspxform:XLabel>
                    </td>
                    <td height="27" style="border-top: medium none; border-right: black 1px solid; border-bottom: black 1px solid; text-align: center; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox6" Style="height: 100%; width: 100%" runat="server" XDataBind="DF_MM_ContractProduct.productModel" HiddenInput="False" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" DisableBehavior="ReadOnly" Height="100%" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td height="27" style="border-top: medium none; border-right: black 1px solid; border-bottom: black 1px solid; text-align: right; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox7" runat="server" XDataBind="DF_MM_ContractProduct.serialNo" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" Height="100%"></aspxform:XTextBox>
                    </td>
                    <td height="27" style="border-top: medium none; border-right: black 1px solid; border-bottom: black 1px solid; text-align: right; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox8" runat="server" XDataBind="DF_MM_ContractProduct.number" HiddenInput="False" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" Height="100%" ReadOnly="True" TextAlign="Center" Format="type:number;.0"></aspxform:XTextBox>
                    </td>
                    <td height="27" style="border-top: medium none; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="WarrantyPeriod" runat="server" XDataBind="DF_MM_ContractProduct.unitPrice" HiddenInput="False" BorderColor="#DCDCDC" BorderWidth="1" Express="DF_MM_ContractProduct.totalPrice/DF_MM_ContractProduct.number" Width="100%" Height="100%" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td height="27" style="border-top: medium none; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox1" runat="server" XDataBind="DF_MM_ContractProduct.notTaxTotalPrice" HiddenInput="False" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" Height="100%" ReadOnly="True" Express="DF_MM_ContractProduct.totalPrice/(1+PurchaseInvoiceTax)" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td height="27" style="border-top: medium none; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XTextBox ID="XTextBox2" runat="server" XDataBind="DF_MM_ContractProduct.totalPrice" HiddenInput="False" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" Height="100%" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td height="27" style="border-top: medium none; border-right: black 1px solid; border-bottom: black 1px solid; border-left: medium none">
                        <aspxform:XDateTimePicker ID="XDateTimePicker2" runat="server" XDataBind="DF_MM_ContractProduct.deliveryDate" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" Height="100%" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr class="tdStyle">
                    <td height="27" style="border-top: medium none; border-right: black 1px solid; border-bottom: black 1px solid; font-weight: bold; text-align: right; border-left: black 1px solid" colspan="8">合计 
                    </td>
                    <td align="right" style="border-top: medium none; border-right: black 1px solid; border-bottom: black 1px solid; font-weight: bold; border-left: black 1px solid">
                        <aspxform:XLabel ID="XLabel23" runat="server" XDataBind="DF_MM_ContractInfo.totalAmount" Express="sum(DF_MM_ContractProduct.totalPrice)" Format="type:currency;.2"></aspxform:XLabel>
                    </td>
                    <td style="border-top: medium none; border-right: black 1px solid; border-bottom: black 1px solid; font-weight: bold; border-left: black 1px solid"></td>
                </tr>
            </tbody>
        </table>
        <br />
        <%--通用模板显示--%>
        <div id="div_01">
            <table width="1000" align="center" border="0" cellspacing="0" cellpadding="0" runat="server">
                <tbody>
                    <tr>
                        <td class="cfont">备注：以上价格已含
                        <aspxform:XLabel ID="XLabel11" runat="server" Express="purchaseInvoiceTaxPoint"></aspxform:XLabel>
                            税点以及发运货物、快递发票所产生的各项运输、保险费，需方无需再额外支付任何相关费用。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;2. 技术支持及售后服务：符合原厂标准且能够满足该单终端客户的要求，如后附技术协议具体参见协议； 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;3. 质量要求标准：供方提供的产品必须符合国家和行业相关质量要求，并符合制造厂商出厂质量技术标准。 
                        </td>
                    </tr>
                    <tr>
                        <td height="18" class="cfont">&nbsp;4. 保质期：从需方验收合格之日起，质保期 
                            <aspxform:XTextBox ID="warrantyPeriod1" runat="server" XDataBind="DF_MM_ContractInfo.warrantyPeriod1" BorderColor="#DCDCDC" BorderWidth="1" Width="5%" TextAlign="Right" Format="type:currency;0" name="warrantyPeriod1"></aspxform:XTextBox>
                            月；如无规定则默认24个月。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;5. 运输要求： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp; 1) 发货前：供方通知需方负责人，并告知运输公司名称及运输单号。如合同项下产品体积超过1立方米且重量超过100公斤的，务必于发货前2日联系我司收货人员；如未通知就先行发货，由此产生的相关费用（如转运费等）由供方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp; 2) 供方需依照规定交期将产品发运到需方指定地点（门到门），发票单独寄至需方收票地址。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp; 3) 包装要求：原厂原包装外须加上适合的包装并加以填充，以保证适合远程运输，防湿，防潮，防震，耐粗暴搬运。如由于包装不当或不充分造成的损失由供方负责赔偿。发货产品须有二次包装，如无二次包装时，发生产品外观破损等问题，需方有权拒收并要求供方换货。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp; 4) 运输单据：货物运输/快递单或送货单上，需注明收货公司名称、此合同编号、主要产品型号、品名、数量。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp; 5) 随货文件：随货不带发票，否则造成遗失责任由供方负责。随货必须附装箱单（不体现产品价格），如因未附清单而发生货物短缺乃至遗失，需方不承担责任。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp; 6) 货物签收：货物必须由本人签收，如因代收而发生货物遗失的，需方不承担责任。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;6. 验收标准、方法及提出异议的期限：以原制造厂商的技术指标进行验收。供方需保证按订单要求供货给需方，如果该订单涉及的产品不符合约定，需方有权拒收货物，并要求供方换货或退货，如因退换货产生相关费用，由供方承担。如因换货使得供方向需方交货迟延，供方应按照本合同第11条规定向需方承担违约责任。提出异议的期限：系交货后一个月。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;7. 计量：如产品计量合格，计量费用由需方承担；如产品计量不合格，计量费用由供方承担，直至产品计量合格为止。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;9. 发票：供方提供 
                            <aspxform:XLabel ID="XLabel25" runat="server" Express="purchaseInvoiceTaxPoint"></aspxform:XLabel>
                            ，应以开发票当日国家规定之税率为准，如与本合同含税总价不一致，供需双方统一按新税率重新核算总价并多退少补；交付时间为出货后1个月内，延迟提供发票的情况，则每迟延一周,供方应按总货值的1%向需方支付违约金，不足一周的按一周计算。
                            开票信息见合同落款；所开发票产品明细需与合同内容一致；发票备注栏注明此合同编号。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;10. 违约条款：除受不可抗力事件外供方延迟交货的情况，则每迟延一周,供方应按总货值的1%向需方支付违约金，不足一周的按一周计算，如迟延交货超过原定期限30天，需方有权选择终止本合同，并有权要求供方承担由此造成的一切损失(包括直接及间接损失)。如迟延交货超过原定期限30天，需方有权选择退货，则供方应向需方承担相当于该货物价值的10%的违约金。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;11. 争议的处理：凡因执行本合同所发生的一切争议，双方应通过友好协商解决；如果协商不成，任何一方可依照中华人民共和国《合同法》和相关法律法规向需方所在地的人民法院提起诉讼，费用由败诉方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;12. 合同生效：本合同经供需双方授权代表盖章之日起生效，电子章与物理章有同等效力。。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;13. 合同有效期：至本合同双方权利、义务全部完成时止。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;14. 本合同如有附件，附件是合同不可分割的组成部分，与合同条款具有同等效力。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;15. 本合同未尽事宜，供需双方可另行订立补充协议，补充协议与本合同具有同等效力。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;16. 本合同一式两份，供需双方各执一份，盖章后传真件、复印件、扫描件与原件有同等效力。 
                        </td>
                    </tr>
                    <%--  <tr>
                        <td class="cfont">
                            四、开票信息：所开发票产品明细需与合同内容一致；发票备注栏注明此合同编号。
                        </td>
                    </tr>--%><%--  <tr>
                        <td class="cfont" style="TEXT-ALIGN: right">
                            北京东方中科集成科技股份有限公司 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont" style="TEXT-ALIGN: right">
                            签字______________________ 
                        </td>
                    </tr>--%>
                </tbody>
            </table>
        </div>
        <%--技术服务模板-计量--%>
        <div id="div_02">
            <table width="1000" align="center" border="0" cellspacing="0" cellpadding="0" runat="server">
                <tbody>
                    <tr>
                        <td class="cfont">注意：1 如合同项下产品体积超过1立方米或重量超过100公斤的，务必于发货前2日联系我司收货人员；如未通知就先行发货，由此产生的相关费用（如转运费等）由供方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2 请将合同编号标注在：发票的备注栏以及邮寄货物的快递单上或送货单上，以便需方及时查收。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3 货物必须由本人签收，如因代收而发生货物遗失的，需方不承担责任。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">一、运输要求： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;产品务必发运到我司指定地点（门到门），发票寄至北京办。发运货物及快递发票产生的费用由供货方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;产品务必发运到我司指定地点注意：发运货物时请不要随货夹带发票，否则造成遗失后果自负。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">二、计量/校准验收： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;产品务必发运到我司指定地点需方委托供方进行计量/校准业务。计量/校准的结果均以计量院的检测结果为准。计量/校准报告默认以国家标准报告为准，如有其他要求请注明： 
                            <aspxform:XTextBox ID="otherRequirements" runat="server" XDataBind="DF_MM_ContractInfo.otherRequirements" BorderColor="#DCDCDC" BorderWidth="1" Width="500px" TextAlign="left" name="otherRequirements"></aspxform:XTextBox>
                            。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">三、违约条款： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;产品务必发运到我司指定地点除受不可抗力事件外供方延迟交货的情况，则每迟延一周，供方应按总货值的
                            1%向需方支付违约金，如迟延交货超过原定期限30天，需方有权终止本合同，并有权要求供方承担由此造成的一切损失（包括直接及间接损失）。如迟延交货超过原定期限30天，需方有权选择退货，则供方应向需方承担相当于该货物价值的10%的违约金。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">四、争议的处理： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;产品务必发运到我司指定地点在履行合同中出现未尽事项或者争议/违约情况，双方应协商解决，协商不成，任何一方可依照《合同法》和相关法律法规向需方所在地的人民法院提起诉，费用由败诉方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">五、其它约定条款：本合同传真件有效。 
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <%--技术服务模板-维修--%>
        <div id="div_03">
            <table width="1000" align="center" border="0" cellspacing="0" cellpadding="0" runat="server">
                <tbody>
                    <tr>
                        <td class="cfont">注意：1 如合同项下产品体积超过1立方米或重量超过100公斤的，务必于发货前2日联系我司收货人员；如未通知就先行发货，由此产生的相关费用（如转运费等）由供方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2 请将合同编号标注在：发票的备注栏以及邮寄货物的快递单上或送货单上，以便需方及时查收。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3 货物必须由本人签收，如因代收而发生货物遗失的，需方不承担责任。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">一、运输要求： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;产品务必发运到我司指定地点（门到门），发票寄至北京办。发运货物及快递发票产生的费用由供货方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;产品务必发运到我司指定地点注意：发运货物时请不要随货夹带发票，否则造成遗失后果自负。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">二、维修要求： 
                            <aspxform:XTextBox ID="maintenanceRequirements" runat="server" XDataBind="DF_MM_ContractInfo.maintenanceRequirements" BorderColor="#DCDCDC" BorderWidth="1" Width="500px" TextAlign="left" name="maintenanceRequirements"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">三、维修验收： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;需方在收到维修完成货物后，如交付的产品不符合约定维修要求，则以书面或邮件形式向供方提出，经确定属实后，供方负责返修。其他异议双方协商解决以达成共识。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">四、违约条款： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;除受不可抗力事件外供方延迟交货的情况，则每迟延一周，供方应按总货值的 1%向需方支付违约金，如迟延交货超过原定期限30天，需方有权终止本合同，并有权要求供方承担由此造成的一切损失（包括直接及间接损失）。如迟延交货超过原定期限30天，需方有权选择退货，则供方应向需方承担相当于该货物价值的10%的违约金。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">五、争议的处理： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在履行合同中出现未尽事项或者争议/违约情况，双方应协商解决，协商不成，任何一方可依照《合同法》和相关法律法规向需方所在地的人民法院提起诉讼，
                            费用由败诉方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">六、其它约定条款：本合同传真件有效。 
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <%--技术服务模板-延保--%>
        <div id="div_04">
            <table width="1000" align="center" border="0" cellspacing="0" cellpadding="0" runat="server">
                <tbody>
                    <tr>
                        <td class="cfont">注意：1 如合同项下产品体积超过1立方米或重量超过100公斤的，务必于发货前2日联系我司收货人员；如未通知就先行发货，由此产生的相关费用（如转运费等）由供方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2 请将合同编号标注在：发票的备注栏以及邮寄货物的快递单上或送货单上，以便需方及时查收。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3 货物必须由本人签收，如因代收而发生货物遗失的，需方不承担责任。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">一、运输要求： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;产品务必发运到我司指定地点（门到门），发票寄至北京办。发运货物及快递发票产生的费用由供货方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;产品务必发运到我司指定地点注意：发运货物时请不要随货夹带发票，否则造成遗失后果自负。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">二、延保期间： 
                            <aspxform:XDateTimePicker ID="warrantyStart" runat="server" XDataBind="DF_MM_ContractInfo.warrantyStart" BorderColor="#DCDCDC" BorderWidth="1" Width="100px"></aspxform:XDateTimePicker>
                            至 
                            <aspxform:XDateTimePicker ID="warrantyEnd" runat="server" XDataBind="DF_MM_ContractInfo.warrantyEnd" BorderColor="#DCDCDC" BorderWidth="1" Width="100px"></aspxform:XDateTimePicker>
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">三、违约条款： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;除受不可抗力事件外供方延迟交货的情况，则每迟延一周，供方应按总货值的 1%向需方支付违约金，如迟延交货超过原定期限30天，需方有权终止本合同，并有权要求供方承担由此造成的一切损失（包括直接及间接损失）。如迟延交货超过原定期限30天，需方有权选择退货，则供方应向需方承担相当于该货物价值的10%的违约金 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">四、争议的处理： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在履行合同中出现未尽事项或者争议/违约情况，双方应协商解决，协商不成，任何一方可依照《合同法》和相关法律法规向需方所在地的人民法院提起诉讼，
                            费用由败诉方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">五、其它约定条款：本合同传真件有效。 
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div id="div_011" hidden="hidden">
            <table width="1000" align="center" border="0" cellspacing="0" cellpadding="0" runat="server">
                <tbody>
                    <tr>
                        <td class="cfont">一、运输要求： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;1. 货物必须发运到“货物送至”的地址（门到门），发票寄单独至“发票寄至”的地址。发运货物及快递发票产生的费用由供货方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;2. 如合同项下货物体积超过1立方米或重量超过100公斤的，务必于发货前2日联系收货人；如未通知先行发货，由此产生的相关费用（转运费、仓储费等）由供方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;3. 发运货物时不能随货带发票，因此造成遗失的，由供方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;4. 随货必须附装箱单（不体现产品价格），如因未附清单而发生货物短缺乃至遗失，需方不承担责任。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;5. 货物必须由本人签收，如因代收而发生货物遗失的，需方不承担责任。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;6. 发货产品须有二次包装，如无二次包装时，发生产品外观破损等问题，需方有权拒收并要求供方换货。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">&nbsp;7. 货物快递单或送货单上，需注明收货公司名称、此合同编号、主要产品型号、品名、数量。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">二、质量要求标准、供方对质量负责的条件及期限：达到厂家出厂技术标准，从 <%--<aspxform:XTextBox id="warrantyPeriodStart" runat="server" XDataBind="DF_MM_ContractInfo.warrantyPeriodStart" BorderColor="#DCDCDC" BorderWidth="1" Width="80px" TextAlign="Right" name="warrantyPeriodStart"></aspxform:XTextBox>--%>之日起，质保期 <%--<aspxform:XTextBox id="warrantyPeriod11" runat="server" XDataBind="DF_MM_ContractInfo.warrantyPeriod" BorderColor="#DCDCDC" BorderWidth="1" Width="5%" TextAlign="Right" Format="type:currency;0" name="warrantyPeriod1"></aspxform:XTextBox>--%>个月； 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">三、违约条款：除受不可抗力事件外供方延迟交货的情况，则每迟延一周，供方应按总货值的 1%向需方支付违约金，如迟延交货超过原定期限30天，需方有权终止本合同，并有权要求供方承担由此造成的一切损失（包括直接及间接损失）。如迟延交货超过原定期限
                            30天，需方有权选择退货，则供方应向需方承担相当于该货物价值的10%的违约金。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">四、开票信息：所开发票产品明细需与合同内容一致；发票备注栏注明此合同编号。 
                        </td>
                    </tr>
                    <%--                    <tr>
                        <td class="cfont">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;开票信息：名称：北京东方中科集成科技股份有限公司
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            纳税人识别号：911100007239681033
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            地址、电话：北京市海淀区阜成路67号银都大厦12层 010-68715566
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            开户行及账号：招商银行北京分行西三环支行
                        </td>
                    </tr>--%>
                    <tr>
                        <td class="cfont">五、争议的处理： 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">在履行合同中出现未尽事项、争议、违约情况时，双方应协商解决。协商不成，任何一方可依照《合同法》和相关法律法规向需方所在地的人民法院提起诉讼，费用由败诉方承担。 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont">六、其它约定条款：本合同传真件有效。 
                        </td>
                    </tr>
                    <%-- <tr>
                        <td class="cfont" style="TEXT-ALIGN: right">
                            北京东方中科集成科技股份有限公司 
                        </td>
                    </tr>
                    <tr>
                        <td class="cfont" style="TEXT-ALIGN: right">
                            签字______________________ 
                        </td>
                    </tr>--%>
                </tbody>
            </table>
        </div>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator1" runat="server" Display="None" ForeColor="Red" ErrorMessage="请选择收货库存地" ControlToValidate="XDropDownList12">请选择收货库存地</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp; 
    </form>
</body>
</html>
