<%@ Page Language="C#" MasterPageFile="../MasterPage.Master" AutoEventWireup="true" Codebehind="PriceManager.aspx.cs" Inherits="WebApp.Orders.PriceManager" Title="业务员专用采购系统" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeaderPlaceHolder1" runat="server"> <style type="text/css">.cssDiv { BORDER-RIGHT: 1px double; BORDER-TOP: 1px double; DISPLAY: none; FONT-SIZE: 12px; BORDER-LEFT: 1px double; BORDER-BOTTOM: 1px double; POSITION: absolute; BACKGROUND-COLOR: lightgoldenrodyellow } </style> <script language="javascript" type="text/javascript"> function CheckGo() { if(window.event.keyCode == '13') { GO(); event.keyCode=0; event.returnValue=false; } } function GO() { //参考 /* var b = false; $(".tablsearch1 input[type='text']").each(function(){ if($(this).val() != ""){ b = true; break; } } if(!b)alert("请至少输入一个搜索条件"); */ if($("#<%=txtYpdm.ClientID %>").val() == "" && $("#<%=txtYpmc.ClientID %>").val() == "" && $("#<%=txtYpdm.ClientID %>").val()=="" && $("#<%=txtCdmc.ClientID %>").val() == "" && $("#<%=txtPh.ClientID %>").val()=="" && $("#<%=txtCddm.ClientID %>").val()=="") { alert("请至少输入一个搜索条件"); return false; } if($("#<%=ddlGroupID.ClientID %>").val() == "0") { alert("请选择会员组!"); return false; } var url = "PriceManager.aspx?py=" +escape($("#<%=txtYpdm.ClientID %>").val()) + "&drugname=" + escape($("#<%=txtYpmc.ClientID %>").val()) + "&madefact=" + escape($("#<%=txtCdmc.ClientID %>").val()) +"&ph=" + escape($("#<%=txtPh.ClientID %>").val())+"&q_groupid="+escape($("#<%=ddlGroupID.ClientID %>").val())+"&cddm="+escape($("#<%=txtCddm.ClientID %>").val()); document.location.href = url; } function selectallCheckBox(obj) //全选/取消 { var element = $(".p3 input"); var length = element.length; if(obj.checked == true) { for(var i =0;i<length;i++) { if(element[i].type == "checkbox") { element[i].checked = true; } } }else { for(var i =0;i<length;i++) { if(element[i].type == "checkbox") { element[i].checked = false; } } } } function CheckSelect() //检查是否选择 { var element = $(".p3 input"); var length = element.length; var flag = false; for(var i =0;i<length;i++) { if(element[i].type == "checkbox"&&element[i].checked == true) { flag = true; break; } } if(flag == false) { alert("请至少选择一项!"); return false; } else { if(window.confirm("确定要删除报价")) { return true; } else { return false; } } } function CheckChoose()//检查是否选择 { var flag = false; var checkbox = $(".p3 input"); for(var a=0,b;b=checkbox[a];a++) { if(b.type == 'checkbox') { if(b.checked == true) { flag = true; } } } return flag; } //货币,单价 function CheckDecimal(str) { var reg = new RegExp("^[0-9]*[.]?[0-9]+$");//RegExp("^\d+(\.\d+)?$/");(^-?\d+$|^(-?\d+)(\.\d+)?$) return Check(reg,str) } function Check( reg, str ) { if( reg.test( str ) ) { return true; } return false; } function chkPrice(){ if(CheckChoose()) { var listYpmcs = new Array() ; var flag = true; var tc = $(".p3 input:checkbox"); var tt = $(".p3 input:text"); for(var i = 0 ; i < tc.length; i++){ if(tc[i].checked){ var thistr = $(tc[i]).parent().parent(); var Ydprice = thistr.children("td").eq(8).text();//原单价 var HigthPrice = thistr.children("td").eq(9).text();//国价最高限价 var YpmcCdmcGg = thistr.children("td").eq(1).children().eq(0).val();//药品名称+产地+规格 var isDecimalOrPer1 = thistr.children("td").eq(10).children().eq(0); var isDecimalOrPer2 = thistr.children("td").eq(10).children().eq(1); var price = thistr.children("td").eq(11).children().eq(0).val();//当前输入的单价或是比率 var ywAddPer = $("#<%=HidAddPer.ClientID %>").val();//业务员加价价格比率 if(listYpmcs.length == 0) { listYpmcs.push(YpmcCdmcGg); } else { for( var a=listYpmcs.length-1;a<listYpmcs.length;a--) { if(listYpmcs[a] == YpmcCdmcGg) { //alert(YpmcCdmcGg); flag = false; break; } else { listYpmcs.push(YpmcCdmcGg); break; } } } //alert(listYpmcs.valueOf()); if(price != "" && price > 0 ) { var NumPer = new Number(ywAddPer);//业务员加价价格比率 if(isDecimalOrPer1.attr("checked")) { var NumYprice = new Number(Ydprice);//原单价 var per = new Number(price);//比率值 var NumHightPrice = new Number(HigthPrice);//最高限价 if(CheckDecimal(price) == false) { alert("比率值不能输入其它字符!"); thistr.children("td").eq(11).children().eq(0).focus(); return false; } if(price > NumPer) { alert("比率值不能大于"+NumPer+"!");//15% thistr.children("td").eq(11).children().eq(0).focus(); return false; } if(per*NumYprice > NumHightPrice) { alert("价格不能高于最高限价!"); thistr.children("td").eq(11).children().eq(0).focus(); return false; } } else { var NumYprice = new Number(Ydprice); var NumPrice = new Number(price); var NumHightPrice = new Number(HigthPrice);//最高限价 if(CheckDecimal(price) == false) { alert("价格不能输入其它字符!"); thistr.children("td").eq(11).children().eq(0).focus(); return false; } if(NumPrice-(NumYprice*NumPer) > 0) { alert("价格不能高于原单价"+NumPer+"的值!");//15% thistr.children("td").eq(11).children().eq(0).focus(); return false; } if(NumPrice > NumHightPrice) { alert("价格不能高于最高限价!"); thistr.children("td").eq(11).children().eq(0).focus(); return false; } } } else { alert("价格不能为空值,必须是大于0的数字!"); thistr.children("td").eq(11).children().eq(0).focus(); return false; } } } if(flag == false) { return( window.confirm("您选择的药品有 同名称、同产地、同规格 的数据\n调价以第一条数据为准,还需继续?")); } } else { alert("请至少选择一项!"); return false; } } var DivHtml = ""; function showDrugInfo(drugId,ypmc,cdmc,gg,strYwUserID) { var dt = WebApp.Orders.PriceManager.getApcPrice(ypmc,cdmc,gg,strYwUserID).value; var heightCount = 60; if(dt != null && typeof(dt) == "object" && dt.Rows.length >0) { if(parseInt(dt.Rows.length) > 3) { heightCount = 20+parseInt(dt.Rows.length)*30;//div层的高度bgcolor=\"#e8eefa\" } } DivHtml = "<table width=700 height="+heightCount+" border=0 cellpadding=0 cellspacing=0 class=\"p3\">"; if(dt != null && typeof(dt) == "object" && dt.Rows.length >0) { DivHtml += "<tr><td align=\"center\" width=20%> 药品名称</td>"; DivHtml += "<td align=\"center\" width=30%> 产地</td>"; DivHtml += "<td align=\"center\" width=20%> 规格</td>"; DivHtml += "<td align=\"center\" width=10%> 单价</td>"; DivHtml += "<td align=\"center\" > 备注</td>"; DivHtml += "</tr>"; for( var i=0;i<parseInt(dt.Rows.length);i++) { //dt.Columns[2].Name DivHtml += "<tr valign=\"top\"><td height=\"20\" align=\"left\"><span class=p9 >" + dt.Rows[i]["Dname"] + "</span></td>"; DivHtml += "<td align=\"left\"><span class=\"p9\" >" + dt.Rows[i]["FactoryName"] + "</span></td>"; DivHtml += "<td align=\"center\"><span class=\"p9\" >" + dt.Rows[i]["Spec"] + "</span></td>"; DivHtml += "<td align=\"center\"><span class=\"red\">" + dt.Rows[i]["Price"] + "</span></td>"; DivHtml += "<td align=\"left\"><span class=\"p9\" >" + dt.Rows[i]["Memo"] + "</span></td></tr>"; } } DivHtml += "</table>"; //------create DIV begin if(document.getElementById(drugId) != null) { var drugDiv = document.getElementById(drugId); drugDiv.style.display = "block"; //clientX, clientY是鼠标当前相对于网页的位置,当鼠标位于页面左上角时clientX=0, clientY=0; //465是left的高度再加上+40 if( (parseInt(window.event.clientY) + 505) < parseInt(window.screen.height)) { drugDiv.style.top = document.body.scrollTop + window.event.clientY + "px"; drugDiv.style.left = document.body.scrollLeft + parseInt(window.event.clientX)-700 + "px"; } else { drugDiv.style.top = parseInt(window.event.clientY) + parseInt(document.body.scrollTop)-heightCount + "px"; drugDiv.style.left = document.body.scrollLeft + parseInt(window.event.clientX)-700 + "px"; } } else { var newDiv = document.createElement("div"); newDiv.id = drugId; newDiv.className = "cssDiv"; newDiv.style.display = "block"; newDiv.innerHTML = DivHtml; document.body.appendChild(newDiv); if( (parseInt(window.event.clientY) + 505) < parseInt(window.screen.height)) { //alert(parseInt(window.event.clientY)+"滚动条高度"+parseInt(window.screen.height)+"scrollTop="+document.body.scrollTop+"clientX="+window.event.clientX); newDiv.style.top = document.body.scrollTop + window.event.clientY + "px"; newDiv.style.left = document.body.scrollLeft + parseInt(window.event.clientX)-700 + "px"; } else { newDiv.style.top = parseInt(window.event.clientY) + parseInt(document.body.scrollTop)-heightCount + "px"; newDiv.style.left = document.body.scrollLeft + parseInt(window.event.clientX)-700 + "px"; } } } //-----create DIV End function heiddenDrugInfo(drugId) { if( document.getElementById(drugId).style.display != "none" ) { document.getElementById(drugId).style.display = "none"; } } </script> <script type="text/javascript"> var DivPicHtml = ""; function showDrugPicInfo(drugId,obj) { //alert(obj.href); drugId = drugId+"_pic"; DivPicHtml = "<table cellpadding=1 cellspacing=1 border=1 width=210 height=80>"; DivPicHtml += "<tr align='center' valign='middle' ><td><img width='200px' height='200px' border='0' src='"; DivPicHtml += "{$imgpath}' alt = '" + obj.innerText + "'/></td>"; DivPicHtml += "</tr>"; DivPicHtml += "</table>"; if(obj.href != null) { // if(obj.href != "#") // { // DivPicHtml = DivPicHtml.replace("{$imgpath}",obj.href); // } var requstID = obj.href.substr(obj.href.indexOf("=")+1); if(isNaN(requstID)) { requstID = unescape(requstID); DivPicHtml = DivPicHtml.replace("{$imgpath}",requstID);//上传到外网是在同一个域名下 //alert(requstID); } else { DivPicHtml = DivPicHtml.replace("{$imgpath}",obj.href); // alert(obj.href+"ddd"); } // if(obj.innerText == "图片" && obj.href.indexOf("/") > 0) // { // var imgPath = obj.href.substr(obj.href.indexOf("=")+1); // //alert(imgPath); // DivPicHtml = DivPicHtml.replace("{$imgpath}",imgPath); // } // else // { // DivPicHtml = DivPicHtml.replace("{$imgpath}",obj.href); // //alert(obj.href); // } } // else // { // DivPicHtml = DivPicHtml.replace("{$imgpath}","../images/zhant_06.gif"); // } //------create DIV begin //alert(DivPicHtml); if(document.getElementById(drugId) != null) { var drugPicDiv = document.getElementById(drugId); drugPicDiv.style.display = "block"; if( (parseInt(window.event.clientY) + 365) < parseInt(window.screen.height)) { drugPicDiv.style.top = document.body.scrollTop + window.event.clientY + "px"; drugPicDiv.style.left = document.body.scrollLeft + window.event.clientX + "px"; } else { drugPicDiv.style.top = parseInt(window.event.clientY) + parseInt(document.body.scrollTop) - 200 + "px"; drugPicDiv.style.left = document.body.scrollLeft + window.event.clientX + "px"; } } else { var newPicDiv = document.createElement("div"); newPicDiv.id = drugId; newPicDiv.className = "cssDiv"; newPicDiv.style.display = "block"; newPicDiv.innerHTML = DivPicHtml; document.body.appendChild(newPicDiv); if( (parseInt(window.event.clientY) + 365) < parseInt(window.screen.height)) { newPicDiv.style.top = document.body.scrollTop + window.event.clientY + "px"; newPicDiv.style.left = document.body.scrollLeft + window.event.clientX + "px"; } else { newPicDiv.style.top = parseInt(window.event.clientY) + parseInt(document.body.scrollTop) - 200 + "px"; newPicDiv.style.left = document.body.scrollLeft + window.event.clientX + "px"; } } } //-----create DIV End function heiddenDrugPicInfo(drugId) { drugId = drugId+"_pic"; if( document.getElementById(drugId).style.display != "none" ) { document.getElementById(drugId).style.display = "none"; } } </script> <style type="text/css"> .formbk20{width:38px; height:12px; border:1px solid #a7c4db; padding:3px; color:#333;} </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <!--操作区--> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="26" > 当前位置:<a href="../Default.aspx" >系统首页</a> > 价格管理 > 调整价格</td> <td align="right"> </td> </tr> </table> <%--<asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate>--%> <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a7c4db" class="tablsearch1"> <tr> <td height="30" align="left" background="../images/ss_bg.gif"> 拼音码 <input name="txtYpdm" id="txtYpdm" type="text" class="formbk8" onkeydown="CheckGo()" runat="server" /> 药品名称 <input name="txtYpmc" id="txtYpmc" type="text" class="formbk8" onkeydown="CheckGo()" runat="server" /> 产地代码 <input name="txtCddm" id="txtCddm" type="text" class="formbk8" onkeydown="CheckGo()" runat="server" /> 生产厂家 <input name="txtCdmc" id="txtCdmc" type="text" class="formbk8" onkeydown="CheckGo()" runat="server" /> 批号 <input name="txtPh" id="txtPh" type="text" class="formbk8" onkeydown="CheckGo()" runat="server" /> 用户组 <asp:DropDownList ID="ddlGroupID" runat="server" CssClass="formbk2"> </asp:DropDownList> <input name="btnSearch" type="button" class="cxbtn" value="查询" onclick="GO()" style="cursor: hand" /><asp:HiddenField ID="HidAddPer" runat="server" /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="1"> </td> </tr> </table> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#b4cdf0" class="p3"> <tr class="color3"> <td height="22" align="center" bgcolor="#e8eefa" > 选项</td> <td align="center" bgcolor="#e8eefa" > 药品名称</td> <td align="center" bgcolor="#e8eefa"> 生产厂家</td> <td align="center" bgcolor="#e8eefa" > 单位</td> <td align="center" bgcolor="#e8eefa" > 规格</td> <td align="center" bgcolor="#e8eefa" > 批号</td> <td align="center" bgcolor="#e8eefa" > 有效期</td> <td align="center" bgcolor="#e8eefa"> 是否拆零</td> <td align="center" bgcolor="#e8eefa" > 原单价</td> <td align="center" bgcolor="#e8eefa" > 最高限价</td> <td align="center" bgcolor="#e8eefa" width="10%"> 是否比率</td> <td align="center" bgcolor="#e8eefa" > 调价</td> <td align="center" bgcolor="#e8eefa" > 价格采集</td> <td align="center" bgcolor="#e8eefa" widht="8%" > 删除</td> </tr> <asp:Repeater ID="rptList" runat="server" OnItemDataBound="rptList_ItemDataBound" OnItemCommand="rptList_ItemCommand"> <ItemTemplate> <tr> <td height="20" align="center" bgcolor="#FFFFFF"> <input type="checkbox" name="checkID" value='<%#Eval("id") %>' runat="server" id="checkID" /> <asp:HiddenField runat="server" ID="hiddenID" Value='<%#Eval("priceid") %>' /> <asp:HiddenField runat="server" ID="hiddenPrice" Value='<%#Eval("changeprice") %>' /> </td> <td bgcolor="#FFFFFF"> <%#Eval("ypmc") %> <span href="PicShow.aspx?picid=<%#HttpUtility.UrlEncode(Eval("picid").ToString())%>" onmouseout='heiddenDrugPicInfo("<%#Eval("id")%>");' onmouseover='javascript:showDrugPicInfo("<%#Eval("id")%>",this);' > <%#Eval("picinfo")%></span> <asp:HiddenField runat="server" ID="HiddenYpmcCdmcGG" Value='<%#Eval("ypmccdmcgg") %>' /> <%-- <asp:HyperLink Runat="server" ID="picid" NavigateUrl='<%#Eval("picid")%>' Target="_blank"></asp:HyperLink> <a href='PicShow.aspx?picid=<%#HttpUtility.UrlEncode(Eval("picid").ToString()) %>&height=350&width=600' ><%#Eval("picinfo")%> </a>--%> <a href='BackProfitView.aspx?id=<%#HttpUtility.UrlEncode(Eval("backid").ToString()) %>&height=350&width=600' class="thickbox"> <%#Eval("backinfo")%> </a> </td> <td bgcolor="#FFFFFF"> <%#Eval("cdmc") %> <asp:HiddenField runat="server" ID="HiddenYpmc" Value='<%#Eval("ypmc") %>' /> <asp:HiddenField runat="server" ID="HiddenCdmc" Value='<%#Eval("cdmc") %>' /> <asp:HiddenField runat="server" ID="HiddenGg" Value='<%#Eval("gg") %>' /> </td> <td align="center" bgcolor="#FFFFFF"> <%#Eval("dw") %> </td> <td bgcolor="#FFFFFF"> <%#Eval("gg") %> </td> <td bgcolor="#FFFFFF"> <%#Eval("ph") %> </td> <td align="center" bgcolor="#FFFFFF"> <%#Eval("yxq") %> </td> <td bgcolor="#FFFFFF" > <%#Convert.ToInt32(Eval("ck")) == 0 ? "<font color=red>是</font>" : "<font color=green>否</font>"%> </td> <td align="right" bgcolor="#FFFFFF" class="green"> <%#Eval("dj") %> <input type="hidden" name="hiddenYdj" value='<%#Eval("dj") %>' /> </td> <td bgcolor="#FFFFFF"> <%#Eval("LSJ")%> <input type="hidden" name="hiddenHightPrice" value=' <%#Eval("LSJ") %>' /> </td> <td align="center" bgcolor="#FFFFFF"> <input id="radioYes" type="radio" value="1" name="radiobutton" runat="server">是 <input id="radioNo" type="radio" value="0" name="radiobutton" runat="server" checked>否 <asp:HiddenField runat="server" Value='<%#Eval("isDecimalOrPer") %>' ID="hiddenIsPer" /> </td> <td align="center" bgcolor="#FFFFFF"> <input name="txtChangePrice" type="text" class="formbk10" value='<%#Eval("changeprice") %>' runat="server" id="txtChangePrice" /> </td> <td align="center" bgcolor="#FFFFFF" onmouseout='heiddenDrugInfo("<%#Eval("Id")%>");' onmouseover='javascript:showDrugInfo("<%#Eval("Id")%>","<%#Eval("ypmc")%>","<%#Eval("cdmc")%>","<%#Eval("gg")%>","<%#Eval("YwUserID")%>");' > <div class="green" style="cursor:hand" > <%#Eval("acpflag")%> </div> </td> <td align="center" bgcolor="#FFFFFF" class="green"> <asp:LinkButton ID="LinkButton1" Style="{cursor: hand}" runat="server" CommandName="Del" OnClientClick="javascript:return window.confirm('你确定要删除此药品调价?')" CssClass="green"><img src="../Images/delete.gif" alt="" /></asp:LinkButton> </td> </tr> </ItemTemplate> <AlternatingItemTemplate> <tr> <td height="20" align="center" bgcolor="#f9fbfe"> <input type="checkbox" name="checkID" value='<%#Eval("id") %>' runat="server" id="checkID" /> <asp:HiddenField runat="server" ID="hiddenID" Value='<%#Eval("priceid") %>' /> <asp:HiddenField runat="server" ID="hiddenPrice" Value='<%#Eval("changeprice") %>' /> </td> <td bgcolor="#f9fbfe"> <%#Eval("ypmc") %> <span href="PicShow.aspx?picid=<%# HttpUtility.UrlEncode(Eval("picid").ToString())%>" onmouseout='heiddenDrugPicInfo("<%#Eval("id")%>");' onmouseover='javascript:showDrugPicInfo("<%#Eval("id")%>",this);' > <%#Eval("picinfo")%></span> <asp:HiddenField runat="server" ID="HiddenYpmcCdmcGG" Value='<%#Eval("ypmccdmcgg") %>' /> <%--<asp:HyperLink Runat="server" ID="picid" NavigateUrl='<%#Eval("picid")%>' Target="_blank"></asp:HyperLink> <a href='PicShow.aspx?picid=<%#HttpUtility.UrlEncode(Eval("picid").ToString()) %>' class="thickbox"><%#Eval("picinfo")%> </a>--%> <a href='BackProfitView.aspx?id=<%#HttpUtility.UrlEncode(Eval("backid").ToString()) %>&height=350&width=600' class="thickbox"> <%#Eval("backinfo")%> </td> <td bgcolor="#f9fbfe"> <%#Eval("cdmc") %> <asp:HiddenField runat="server" ID="HiddenYpmc" Value='<%#Eval("ypmc") %>' /> <asp:HiddenField runat="server" ID="HiddenCdmc" Value='<%#Eval("cdmc") %>' /> <asp:HiddenField runat="server" ID="HiddenGg" Value='<%#Eval("gg") %>' /> </td> <td align="center" bgcolor="#f9fbfe"> <%#Eval("dw") %> </td> <td bgcolor="#f9fbfe"> <%#Eval("gg") %> </td> <td bgcolor="#f9fbfe"> <%#Eval("ph") %> </td> <td align="center" bgcolor="#f9fbfe"> <%#Eval("yxq") %> </td> <td bgcolor="#FFFFFF" > <%#Convert.ToInt32(Eval("ck")) == 0 ? "<font color=red>是</font>" : "<font color=green>否</font>"%> </td> <td align="right" bgcolor="#f9fbfe" class="green"> <%#Eval("dj") %> <input type="hidden" name="hiddenYdj" value='<%#Eval("dj") %>' /> </td> <td bgcolor="#f9fbfe"> <%#Eval("LSJ")%> <input type="hidden" name="hiddenHightPrice" value=' <%#Eval("LSJ") %>' /> </td> <td align="center" bgcolor="#f9fbfe"> <input id="radioYes" type="radio" value="1" name="radiobutton" runat="server">是 <input id="radioNo" type="radio" value="0" name="radiobutton" runat="server" checked>否 <asp:HiddenField runat="server" Value='<%#Eval("isDecimalOrPer") %>' ID="hiddenIsPer" /> </td> <td align="center" bgcolor="#f9fbfe"> <input name="txtChangePrice" type="text" class="formbk10" value='<%#Eval("changeprice") %>' runat="server" id="txtChangePrice" /> </td> <td align="center" bgcolor="#f9fbfe" onmouseout='heiddenDrugInfo("<%#Eval("Id")%>");' onmouseover='javascript:showDrugInfo("<%#Eval("Id")%>","<%#Eval("ypmc")%>","<%#Eval("cdmc")%>","<%#Eval("gg")%>","<%#Eval("YwUserID")%>");'> <div class="green" style="cursor: hand" > <%#Eval("acpflag")%> </div> </td> <td align="center" bgcolor="#f9fbfe"> <asp:LinkButton ID="LinkButton1" class="green" runat="server" Style="{cursor: hand}" CommandName="Del" OnClientClick="javascript:return window.confirm('你确定要删除此药品调价?')" CssClass="green"><img src="../Images/delete.gif" alt="" /></asp:LinkButton> </td> </tr> </AlternatingItemTemplate> </asp:Repeater> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center"> <tr><td align="center"> <span style="width: 100%; text-align: center; color: Red;"> <asp:Literal ID="lblInfos" runat="server"></asp:Literal> </span> </td></tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="8%" height="46" align="center" class="p9"> <input type="checkbox" name="selectall" onclick="selectallCheckBox(this);" /> 全选</td> <td width="92%"> <asp:Button ID="BtnPrice" runat="server" Text="确认启用新价格" CssClass="qyxjgbtn" OnClientClick="javascript:return chkPrice();" OnClick="BtnPrice_Click" /> <asp:Button ID="btnDelete" runat="server" Text="删除调价" CssClass="xgbtn" OnClientClick="javascript:return CheckSelect();" OnClick="btnDelete_Click" /> </td> </tr> </table> <%--新分页--%> <div ID="pageDiv" runat="server"> <table width="100%" height="47" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="3%" align="center"> </td> <td width="100%" align="left"> 目前共有<span class="red"> <asp:Label ID="lblTotalrecord" runat="server" Text="0"></asp:Label></span>个药品 当前<span class="red"> <asp:Label ID="lblPage" runat="server" Text="1/1"></asp:Label></span>页 <asp:HyperLink ID="hplFirst" runat="server">首页</asp:HyperLink> <asp:HyperLink ID="hplPrev" runat="server">上一页</asp:HyperLink> <asp:HyperLink ID="hplNext" runat="server">下一页</asp:HyperLink> <asp:HyperLink ID="hplEnd" runat="server">尾页</asp:HyperLink> 跳转到: <asp:TextBox ID="txbPage" runat="server" CssClass="formbk20" Text="1"></asp:TextBox> <asp:Button ID="igbPage" runat="server" CssClass="cxbtn" Text="Go" OnClick="igbPage_Click" /> </td> </tr> </table> </div> <!--操作区end--> <%-- </ContentTemplate> </asp:UpdatePanel> <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1"> <ProgressTemplate> 数据加载中...... </ProgressTemplate> </asp:UpdateProgress>--%> </asp:Content>