<%@ page language="C#" autoeventwireup="true" inherits="admin2_sp5, GJ_YM" enableviewstatemac="false" enableEventValidation="false" %>
<%@ Register Src="spcz.ascx" TagName="spcz" TagPrefix="cz" %>
<head><title>无标题页</title></head><link href="css/yb.css" rel="stylesheet" type="text/css">
<script language="javascript" src="js/sbyk.js" ></script><script language="javascript" src="js/db.js" ></script>
<body><form id="form1" runat="server">
<script  language=javascript>
function jssc(cz,id)
{
document.getElementById("hid_cz").value=cz;
document.getElementById("hid_xz").value=id;
//sendRequest('sp5c.aspx?h='+id,'sp5a.aspx?id='+id);
sendRequest('sp5c.aspx?h='+id);
}
</script>
<input type="hidden" name="hid_xz" id="hid_xz" /><input type="hidden" name="hid_cz" id="hid_cz" /><cz:spcz runat="server" id="ffff"/>
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-bottom:5px;">
<tr style="background-color:#f2f2f2;"><td >
<div class="bt"><asp:label ID="btxs" runat="server" text="商品规格"></asp:label>
<span style="margin-left:30px;font-weight:normal;"><a href="sp5a.aspx?id=<%=idc%>">添加/修改规格</a></span>
<span style="margin-left:30px;font-weight:normal;"><a href="sp1.aspx">商品列表</a></span>
</div></td></tr></table>

<%--<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-bottom:5px;">
<tr style="background-color:#ffffff;"><td >
<a href="sp5.aspx">所有返赠送促销</a> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Button ID="Button1"  runat="server" Text="搜索" OnClick="Button1_Click" />
</td></tr></table>--%>

<asp:Repeater ID="Repeater1" runat="server"><HeaderTemplate>
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2" >
<tr style="background-color:#f2f2f2;">
<td >选择</td><td >规格子项</td><td>货号</td><td style="display:none;">库存</td><td style="display:none;">价格</td><td>操作</td></tr></HeaderTemplate><ItemTemplate>
<tr bgcolor="#FFFFFF" onMouseOver=sbyg('div<%#Eval("fgid") %>') onMouseOut=sbyk('div<%#Eval("fgid") %>') id="div<%#Eval("fgid") %>" style="cursor:hand;" >
<td><%#xz(Eval("fgid").ToString())%></td>
<td><%#rsd(Eval("fczx").ToString())%></td>
<td><input name="hh<%#Eval("fgid") %>" type="text" id="hh<%#Eval("fgid") %>" value="<%#Eval("fghh").ToString()%>" style="width:90px;"/></td>
<td style="display:none;"><input name="kc<%#Eval("fgid") %>" type="text" id="kc<%#Eval("fgid") %>" value="<%#Eval("fgkc").ToString()%>" style="width:60px;"/></td>
<td style="display:none;"><input name="jg<%#Eval("fgid") %>" type="text" id="jg<%#Eval("fgid") %>" value="<%#Eval("fgjg").ToString()%>" style="width:60px;"/> 元（￥）</td>
<td><%#ghxs(Eval("fgid").ToString())%></td>
</tr></ItemTemplate><FooterTemplate></table></FooterTemplate></asp:Repeater>

<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-top:5px;">
<tr style="background-color:#ffffff;"><td >
<asp:Label ID="nodate" runat="server" Text=""></asp:Label>
</td></tr></table>

<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-top:5px;">
<tr style="background-color:#f2f2f2;"><td >
<a href="javascript:;" onclick="sa('sel');">全选反选</a> |
<a href="javascript:;" onclick="if(confirm('所选会一起删除，确定删除吗?')){xz('11');sendRequest('sp5c.aspx?h=0');}">删除所选</a>
<span id="PageInfo" runat="server"></span>
</td></tr></table>
 
<%=rfh()%>
</form></body>