<%@ 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 formNo = Request.QueryString["formNo"];
            string InquiryTID = Request.QueryString["InquiryTID"];
			 string SalesOpportunitiesRemark = Request.QueryString["SalesOpportunitiesRemark"];
            if (formNo != null)
            {
                this.XTextBox8.Text = formNo;
                this.XHistoryFormLink1.Value = InquiryTID;
				 this.XTextBox113.Text = SalesOpportunitiesRemark;
            }
        }
    }
</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;
        }
    </style>

   <script type="text/javascript">
       function SetLink(FormNo,ID) {
           if (FormNo != '') {
               if (FormNo.substring(0, 4) == "XSHT") {
                   return "../../FormApplication.aspx?md=App&app=91-CRM%2FCRM销售机会&key=" + ID + "&formstate=View";
               }
           }
           else
               return "";
       }
	   
	   
       Ext.onReady(function () {

           //1231改动
           var aa = document.getElementsByTagName("a");
            
           for (var i = 0; i < aa.length; i++) {
               // aa[i].setAttribute("href", "JavaScript:;");
               var backgroundImage = aa[i].style.backgroundImage;
               if (backgroundImage == 'url("../../../../YZSoft/Forms/Images/hoverbtn_gridl.gif")') {
                   aa[i].style.display = "none";
               }
                
           }

           //START
           agent.on('beforeSubmit', function (actionname, actname) {
               
               if (actname == "提交") {
                   var tableObj = document.getElementById("tablenew");
                   var len = tableObj.rows.length - 2;
                   if (len<=0) {
                       Ext.MessageBox.alert('提示', '表单行项目无数据,不能提交');
                       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 class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 30px">
                        <asp:Label id="XLabel1" runat="server" text="采购预付款申请表"></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="XLabel2" runat="server" text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel3" runat="server" ValueToDisplayText Value XDataBind="DF_Pruchase_AdvancePayApp_Info.FormNo" BackColor="#8AB3DF" ForeColor="White" Font-Bold="true" Text="-系统自动生成-"></aspxform:XLabel>
                   
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="25" colspan="3">
                        <asp:Label id="Label13" runat="server" text="标记*的为申请人必填项" forecolor="Red" font-bold="True"></asp:Label>&nbsp;&nbsp;&nbsp;</td>
                    <td align="right" colspan="1">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel6" runat="server" text="基本信息" value valuetodisplaytext></asp:Label></td>
                </tr>
                <tr>
                    <td class="ts" style="WIDTH: 10%">
                        <asp:Label id="XLabel23" runat="server" text="申请人"></asp:Label></td>
                    <td class="ts1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox18" runat="server" ValueToDisplayText="TableName:V_DF_User;FilterColumn:Account;DisplayColumn:DisplayName" XDataBind="DF_Pruchase_AdvancePayApp_Info.AppName" BackColor="#e6f1f8" DisableBehavior="ReadOnly" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <!--业务员-->
                    <td class="ts" style="WIDTH: 10%">
                        <asp:Label id="XLabel4" runat="server" text="业务员"></asp:Label>
                        <aspxform:XTextBox id="XTextBox7" runat="server" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:AttendanceKakaNO" XDataBind="DF_Pruchase_AdvancePayApp_Info.Salesman" Width="61px" Max="0" Min="0" Value HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px" DataMap="Name->DF_Pruchase_AdvancePayApp_Info.SalesManName;Department->DF_Pruchase_AdvancePayApp_Info.AppDepart;Region->DF_Pruchase_AdvancePayApp_Info.AppArea;BUName->DF_Pruchase_AdvancePayApp_Info.AppBU"></aspxform:XTextBox>
                    </td>
                    <td class="ts1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" ValueToDisplayText XDataBind="DF_Pruchase_AdvancePayApp_Info.SalesManName" BackColor="#e6f1f8" Width="70%" CssClass="text"></aspxform:XTextBox>
                        &nbsp;<aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" Width="60px" DataMap="Name->DF_Pruchase_AdvancePayApp_Info.SalesManName;Department->DF_Pruchase_AdvancePayApp_Info.AppDepart;Region->DF_Pruchase_AdvancePayApp_Info.AppArea;AttendanceKakaNO->DF_Pruchase_AdvancePayApp_Info.Salesman;BUName->DF_Pruchase_AdvancePayApp_Info.AppBU" Text="查询" UseSubmitBehavior="False" PopupWndHeight="-1" PopupWndWidth="-1" XDataSource="TableName:V_DF_HR_BasicInfo" DisplayColumns="Name:员工姓名,;Department:部门," Height="25px"></aspxform:XDataBrowserButton>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel88" runat="server" text="部门"></asp:Label></td>
                    <td class="tsbottomtext" id="chktd" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_Pruchase_AdvancePayApp_Info.AppDepart" BackColor="#e6f1f8" DisableBehavior="ReadOnly" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel323" runat="server" text="BU"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox318" runat="server" XDataBind="DF_Pruchase_AdvancePayApp_Info.AppBU" BackColor="#e6f1f8" DisableBehavior="ReadOnly" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="20" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel5" runat="server" text="地区"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox60" runat="server" XDataBind="DF_Pruchase_AdvancePayApp_Info.AppArea" BackColor="#e6f1f8" DisableBehavior="ReadOnly" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                    </td>
                    <td class="tsbottomtext" id="Td1" style="WIDTH: 35%">
                    </td>
                </tr>
                <tr>
                    <td height="21" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel20" runat="server" text="创建日期"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker3" runat="server" XDataBind="DF_Pruchase_AdvancePayApp_Info.CreateDate" BackColor="#e6f1f8" DisableBehavior="ReadOnly" Width="50%" CssClass="text"></aspxform:XDateTimePicker>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label11" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="XLabel8" runat="server" text="业务类型"></asp:Label></td>
                    <td class="tsbottomtext" id="Td2" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_Pruchase_AdvancePayApp_Info.PurchaseStyle">
                            <asp:ListItem>销售采购</asp:ListItem>
                            <asp:ListItem>租赁采购</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td height="20" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label12" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="XLabel9" runat="server" text="销售机会编号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_Pruchase_AdvancePayApp_Info.InquiryFormNo" BackColor="#e6f1f8" DisableBehavior="ReadOnly" Width="220" CssClass="text"></aspxform:XTextBox>
                        &nbsp; 
                        <aspxform:XHistoryFormLink id="XHistoryFormLink1" runat="server" XDataBind="DF_Pruchase_AdvancePayApp_Info.InquiryTID" BackColor="#d4e4fe" PopupWndHeight="-1" PopupWndWidth="-1" EmptyText="查看" HiddenExpress='varLink!=""'>查看</aspxform:XHistoryFormLink>
                        <aspxform:XHyperLink id="XHyperLink1" runat="server" XDataBind="varLink" BackColor="#D4E4FE" HiddenExpress='DF_Pruchase_AdvancePayApp_Info.InquiryFormNo==""||varLink==""' Target="_blank" Express="javascript('SetLink',DF_Pruchase_AdvancePayApp_Info.InquiryFormNo,DF_Pruchase_AdvancePayApp_Info.InquiryTID)" ForeColor="Blue">查看</aspxform:XHyperLink>
                        &nbsp; 
                        <aspxform:XTextBox id="XTextBox34" runat="server" XDataBind="id" Width="5" BorderColor="#DCDCDC" BorderWidth="1" HiddenExpress="1" ReadOnly="True" Enabled="False"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton2" runat="server" Width="60px" DataMap="TaskID->DF_Pruchase_AdvancePayApp_Info.InquiryTID;FormNo->DF_Pruchase_AdvancePayApp_Info.InquiryFormNo;SAPOrderNumber->DF_Pruchase_AdvancePayApp_Info.QuotationNo" Text="查询" UseSubmitBehavior="False" PopupWndHeight="-1" PopupWndWidth="-1" XDataSource="TableName:V_DF_InquiryQuery;Filter:TypeCode->'机会',SalesmanID->DF_Pruchase_AdvancePayApp_Info.Salesman;OrderBy:CreateDate desc" DisplayColumns="FormNo:预审单号,150;CreateDate:创建时间,200;SalesOpportunities:销售机会名称,250" Height="25px"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <aspxform:XLabel id="XLabel102" runat="server" ValueToDisplayText BackColor="#d4e4fe" Value Text="SAP报价单号"></aspxform:XLabel>
                    </td>
                    <td class="tsbottomtext" id="td1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_Pruchase_AdvancePayApp_Info.QuotationNo" Width="70%" CssClass="text" DisableExpress="DF_Pruchase_AdvancePayApp_Info.InquiryFormNo!=''"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" DisableExpress="DF_Pruchase_AdvancePayApp_Info.InquiryFormNo!=''" ControlToValidate="XTextBox3" ErrorMessage="请填写报价单号" Display="None">请填写报价单号</aspxform:XRequiredFieldValidator>
        <table width="1200" align="center" id="tablenew" border="0" cellspacing="0" cellpadding="3" runat="server" dynamicarea="2,1" menudock="Left" xdatasource="TableName:V_DF_Purchase_AdvancePayApp_Detail;Filter:FormNo->DF_Pruchase_AdvancePayApp_Info.InquiryFormNo;OrderBy:SourcingPurchasing" datamap="SourcingPurchasing->DF_Purchase_AdvancePayApp_Detail.SupplierName;Linkman->DF_Purchase_AdvancePayApp_Detail.PurchaseContact;Phone->DF_Purchase_AdvancePayApp_Detail.PurchaseTel;PurchaseTotalvalue->DF_Purchase_AdvancePayApp_Detail.PurchaseAmount;PurchaseTotalvalueRMB->DF_Purchase_AdvancePayApp_Detail.PurchaseAmountCNY;PrchaseCurrency->DF_Purchase_AdvancePayApp_Detail.PurCurrency;PurchasePaymentMethod->DF_Purchase_AdvancePayApp_Detail.PaymentTerms;CustomerDesignatedSupplier->DF_Purchase_AdvancePayApp_Detail.IsPointSupplier;Currency->DF_Purchase_AdvancePayApp_Detail.PrchaseCurrency">
            <tbody>
                <tr>
                    <td width="1200" class="title1" colspan="12">
                        <asp:Label id="XLabel42" runat="server" text="供应商明细"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label id="Label7" runat="server" text="注意：下面表格只显示未合作过(无SAPID)的供应商数据" forecolor="Blue" font-size="12px"></asp:Label></td>
                </tr>
                <tr>
                    <td width="40" height="31" class="tds">
                        <asp:Label id="XLabel43" runat="server" text="序号"></asp:Label></td>
                    <td width="138" class="tds">
                        <asp:Label id="XLabel79" runat="server" text="供应商名称"></asp:Label></td>
                    <td width="120" class="tds">
                        <asp:Label id="Label8" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="XLabel48" runat="server" text="付款条件"></asp:Label></td>
                    <td width="110" class="tds">
                        <asp:Label id="Label2" runat="server" text="含税采购金额<br />(采购币种)"></asp:Label></td>
						 <td width="110" class="tds">
                        <asp:Label id="Label15" runat="server" text="采购币种"></asp:Label>
                    </td>
                    <td width="120" class="tds">
                        <asp:Label id="Label9" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="Label4" runat="server" text="供应商联系人名"></asp:Label></td>
                    <td width="100" class="tds">
                        <asp:Label id="Label10" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="Label5" runat="server" text="供应商联系电话"></asp:Label></td>
                    <td width="122" align="center" class="tds">
                        <asp:Label id="XLabel50" runat="server" text="供应商性质"></asp:Label></td>
                    <td width="106" class="tds">
                       <asp:Label id="Label14" runat="server" text="*" forecolor="Red"></asp:Label> <asp:Label id="XLabel51" runat="server" text="客户指定供应商"></asp:Label></td>
                    <td width="95" class="tds">
                        <asp:Label id="XLabel52" runat="server" text="客户定制产品"></asp:Label></td>
                    <td width="100" class="tds">
                        <asp:Label id="XLabelOwner" runat="server" text="厂商指定渠道"></asp:Label></td>
                    <td width="117" class="tds">
                        <asp:Label id="XLabel191" runat="server" text="前期参与跟单<br />或合作投标"></asp:Label></td>
                </tr>
                <tr>
                    <td height="45" class="tds1" style="TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_Purchase_AdvancePayApp_Detail.LineNumber" BackColor="Transparent" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                        <aspxform:XTextBox id="XTextBox15" runat="server" ValueToDisplayText XDataBind="DF_Purchase_AdvancePayApp_Detail.PurCurrency" Width="10px" CssClass="text" Max="0" Min="0" Value HiddenInput="true"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox16" runat="server" ValueToDisplayText XDataBind="DF_Purchase_AdvancePayApp_Detail.PurchaseAmountCNY" Width="10px" CssClass="text" Max="0" Min="0" Value HiddenInput="true"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox319" runat="server" XDataBind="DF_Purchase_AdvancePayApp_Detail.SupplierName" BackColor="#D4E4FE" DisableBehavior="ReadOnly" Width="100%" CssClass="text" Max="0" Min="0" HiddenInput="False" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_Purchase_AdvancePayApp_Detail.PaymentTerms" Width="100%" CssClass="text" Max="0" Min="0" HiddenInput="False"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox17" runat="server" ValueToDisplayText XDataBind="DF_Purchase_AdvancePayApp_Detail.PurchaseAmount" BackColor="#D4E4FE" DisableBehavior="ReadOnly" Width="100%" CssClass="text" Max="0" Min="0" Value HiddenInput="False" ReadOnly="True" TextAlign="Right" Format="type:currency;.2">0</aspxform:XTextBox>
                    </td>
					  <td class="tds1">
                        <aspxform:XTextBox runat="server" TextAlign="Center" BackColor="#D4E4FE"  DisableExpress="1" ID="PrchaseCurrency" DisableBehavior="ReadOnly" XDataBind="DF_Purchase_AdvancePayApp_Detail.PrchaseCurrency" XDataSource="TableName:V_DF_SA_SS_PurchasingCurrency;Filter:BufferType:RuntimeUpdate"   name="PrchaseCurrency" CssClass="PrchaseCurrency">

                        </aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox9" runat="server" ValueToDisplayText XDataBind="DF_Purchase_AdvancePayApp_Detail.PurchaseContact" Width="100%" CssClass="text" Max="0" Min="0" Value HiddenInput="False"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox10" runat="server" ValueToDisplayText XDataBind="DF_Purchase_AdvancePayApp_Detail.PurchaseTel" Width="100%" CssClass="text" Max="0" Min="0" Value HiddenInput="False"></aspxform:XTextBox>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_Purchase_AdvancePayApp_Detail.SupplierQuality" RepeatDirection="Horizontal">
                            <asp:ListItem>厂商</asp:ListItem>
                            <asp:ListItem Selected="True">分销商</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XRadioButtonList id="XRadioButtonList2" runat="server" XDataBind="DF_Purchase_AdvancePayApp_Detail.IsPointSupplier" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XRadioButtonList id="XRadioButtonList3" runat="server" XDataBind="DF_Purchase_AdvancePayApp_Detail.IsCustomizedProducts" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XRadioButtonList id="XRadioButtonList4" runat="server" XDataBind="DF_Purchase_AdvancePayApp_Detail.IsPointChannel" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XRadioButtonList id="XRadioButtonList5" runat="server" XDataBind="DF_Purchase_AdvancePayApp_Detail.IsCooperationUs" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" dynamicarea="2,1" menudock="Left" xdatasource="TableName:V_DF_SalesPurchase_SupplierInfo;Filter:FormNo->DF_Pruchase_AdvancePayApp_Info.InquiryFormNo;OrderBy:SourcingPurchasing" datamap="SourcingPurchasing->DF_Purchase_AdvancePayApp_PrdtDetail.SupplierName;ProductNmae->DF_Purchase_AdvancePayApp_PrdtDetail.PrdtName;ProductModel->DF_Purchase_AdvancePayApp_PrdtDetail.PrdtModel;Manufacturer->DF_Purchase_AdvancePayApp_PrdtDetail.Maufacturer;PurchaseNumber->DF_Purchase_AdvancePayApp_PrdtDetail.PurchaseNum;SupplierDeliveryDate->DF_Purchase_AdvancePayApp_PrdtDetail.ShipmentDate;PrchaseCurrency->DF_Purchase_AdvancePayApp_PrdtDetail.PurCurrency;PDPurchasePriceRest->DF_Purchase_AdvancePayApp_PrdtDetail.PurPrice;PDPurchaseTotalvalueRest->DF_Purchase_AdvancePayApp_PrdtDetail.PurAmount;PDPurchaseTotalvalueRMB->DF_Purchase_AdvancePayApp_PrdtDetail.PurAmountCNY">
            <tbody>
                <tr>
                    <td width="1200" class="title1" colspan="10">
                        <asp:Label id="Label1" runat="server" text="产品明细" value valuetodisplaytext></asp:Label></td>
                </tr>
                <tr align="center">
                    <td width="50" height="17" class="tds">
                        <asp:Label id="Label18" runat="server" text="序号"></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label id="Label19" runat="server" text="供应商名称"></asp:Label></td>
                    <td width="120" class="tds">
                        <asp:Label id="Label3" runat="server" text="产品名称"></asp:Label></td>
                    <td width="100" class="tds">
                        <asp:Label id="Label31" runat="server" text="产品型号"></asp:Label></td>
                    <td width="120" class="tds">
                        <asp:Label id="Label21" runat="server" text="厂商名称"></asp:Label></td>
                    <td width="80" class="tds">
                        <asp:Label id="Label25" runat="server" text="采购数量"></asp:Label></td>
                    <td width="90" class="tds">
                        <asp:Label id="Label28" runat="server" text="供应商货期"></asp:Label></td>
                    <td width="80" class="tds">
                        <asp:Label id="Label38" runat="server" text="采购币种"></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label id="Label40" runat="server" text="采购单价(采购币种)"></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label id="Label6" runat="server" text="含税采购总价(采购币种)"></asp:Label></td>
                </tr>
                <tr align="center">
                    <td class="tds1">
                        <aspxform:XGridLineNo id="XGridLineNo2" runat="server" XDataBind="DF_Purchase_AdvancePayApp_PrdtDetail.LineNunber" Width="100%" BorderWidth="1" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_Purchase_AdvancePayApp_PrdtDetail.SupplierName" BackColor="#D4E4FE" DisableBehavior="ReadOnly" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_Purchase_AdvancePayApp_PrdtDetail.PrdtName" BackColor="#D4E4FE" DisableBehavior="ReadOnly" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_Purchase_AdvancePayApp_PrdtDetail.PrdtModel" BackColor="#D4E4FE" DisableBehavior="ReadOnly" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="DF_Purchase_AdvancePayApp_PrdtDetail.Maufacturer" BackColor="#D4E4FE" DisableBehavior="ReadOnly" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_Purchase_AdvancePayApp_PrdtDetail.PurchaseNum" BackColor="#D4E4FE" DisableBehavior="ReadOnly" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="DF_Purchase_AdvancePayApp_PrdtDetail.ShipmentDate" BackColor="#D4E4FE" DisableBehavior="ReadOnly" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox43" runat="server" XDataBind="DF_Purchase_AdvancePayApp_PrdtDetail.PurCurrency" BackColor="#D4E4FE" DisableBehavior="ReadOnly" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_Purchase_AdvancePayApp_PrdtDetail.PurPrice" BackColor="#D4E4FE" DisableBehavior="ReadOnly" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True" TextAlign="Right" Format="type:number;.2"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="DF_Purchase_AdvancePayApp_PrdtDetail.PurAmount" BackColor="#D4E4FE" DisableBehavior="ReadOnly" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True" TextAlign="Right" Format="type:number;.2"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_Purchase_AdvancePayApp_PrdtDetail.PurAmountCNY" BackColor="#D4E4FE" Width="10px" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True" TextAlign="Center"></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">
                        <asp:Label id="XLabel183" runat="server" text="备注" value valuetodisplaytext></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox113" runat="server" XDataBind="DF_Pruchase_AdvancePayApp_Info.Remark" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" Height="80px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr class="title1">
                    <td height="14" class="td1">
                        <asp:Label id="XLabel118" runat="server" text="上传预审表" value valuetodisplaytext font-bold="True" height="10px"></asp:Label><asp:Label id="XLabel10" runat="server" text="（如已填写BPM预审单号，此处不必再上传预审表）" value valuetodisplaytext forecolor="Red" font-size="9pt"></asp:Label></td>
                </tr>
                <tr>
                    <td height="88" class="td1">
                        <aspxform:XAttachments id="XAttachments2" runat="server" XDataBind="DF_Pruchase_AdvancePayApp_Info.InquiryAttach" BackColor="#d4e4fe" Width="100%" FileTypes="*.jpg;*.png;*.doc;*.pdf;*.docx;*.xls;*.xlsx"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr class="title1">
                    <td height="14" class="td1">
                        <asp:Label id="XLabel7" runat="server" text="上传相关资质" value valuetodisplaytext font-bold="True" width="123px"></asp:Label></td>
                </tr>
                <tr>
                    <td height="88" class="td1">
                        <aspxform:XAttachments id="XAttachments1" runat="server" XDataBind="DF_Pruchase_AdvancePayApp_Info.OtherAttach" BackColor="#d4e4fe" Width="100%" FileTypes="*.jpg;*.png;*.doc;*.pdf;*.docx;*.xls;*.xlsx"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <p>
            <br />
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ControlToValidate="XTextBox319" ErrorMessage="请填写供应商名称" ValidationGroup="sb">请填写供应商名称</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" ControlToValidate="XTextBox6" ErrorMessage="请填写付款条件" ValidationGroup="sb">请填写付款条件</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ControlToValidate="XTextBox9" ErrorMessage="请填写供应商联系人" ValidationGroup="sb">请填写供应商联系人</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ControlToValidate="XTextBox10" ErrorMessage="请填写供应商联系电话" ValidationGroup="sb">请填写供应商联系电话</aspxform:XRequiredFieldValidator>
			  &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ControlToValidate="XRadioButtonList2" ErrorMessage="请填写客户指定供应商" ValidationGroup="sb">请填写客户指定供应商</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" DisableExpress="DF_Pruchase_AdvancePayApp_Info.InquiryTID!=''" ControlToValidate="XAttachments2" ErrorMessage="请上传预审表" Display="None" ValidationGroup="sb">请上传预审表</aspxform:XRequiredFieldValidator>
        </p>
        <div style="TEXT-ALIGN: center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderColor="#dcdcdc" BorderWidth="1"></aspxform:XSignTrace>
        </div>
    </form>
</body>
</html>
