<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OA_PaperWeightEditList.aspx.cs" Inherits="CY.WebForm.Pages.procurement.OA_PaperWeightEditList" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head runat="server">
|
<title>克重管理</title>
|
<uc:CMSHead ID="CMSHead1" runat="server" />
|
<script type="text/javascript">
|
//修改
|
function onEdit(keyid) {
|
top.Dialog.open({ URL: '/Pages/procurement/OA_PaperWeightEdit.aspx?GoodsId=<%=Request["GoodsId"]%>&&EditKeyid=' + keyid, Title: "修改克重", Width: 400, Height: 200 });
|
}
|
|
//删除
|
function onDelete(keyid) {
|
top.Dialog.confirm("确定要删除该记录吗?", function () {
|
window.location = '/Pages/procurement/OA_PaperWeightEditList.aspx?GoodsId=<%=Request["GoodsId"]%>&&Keyid=' + keyid;
|
});
|
}
|
</script>
|
</head>
|
<body>
|
<form id="form1" runat="server">
|
<div>
|
<asp:Repeater ID="RepBrandList" runat="server">
|
<HeaderTemplate>
|
<table class="tableStyle ali02" useclick="false" usecheckbox="true" sortmode="true">
|
<tr>
|
<th>
|
编号
|
</th>
|
<th>
|
所属类别
|
</th>
|
<th>
|
货品名称
|
</th>
|
<th>
|
克重名称
|
</th>
|
<th>
|
操作人
|
</th>
|
<th>
|
操作时间
|
</th>
|
<th width="80">
|
操作
|
</th>
|
</tr>
|
</HeaderTemplate>
|
<ItemTemplate>
|
<tr>
|
<td>
|
<%#Container.ItemIndex + 1+ this.UCPager1.PageSize * (this.UCPager1.PageIndex - 1)%>
|
</td>
|
<td>
|
<%#Eval("CommodityName")%>
|
</td>
|
<td>
|
<%#Eval("GoodsName")%>
|
</td>
|
<td>
|
<%#Eval("Name")%>
|
</td>
|
<td>
|
<%#Eval("Operator")%>
|
</td>
|
<td>
|
<%#Eval("LastUpdateTime")%>
|
</td>
|
<td class="Operate">
|
<span title="" onclick="onEdit('<%#Eval("Keyid")%>')">修改</span> <span title="" onclick="onDelete('<%#Eval("Keyid")%>')">删除 </span>
|
</td>
|
</tr>
|
</ItemTemplate>
|
<FooterTemplate>
|
</table>
|
</FooterTemplate>
|
</asp:Repeater>
|
<div id="page">
|
<uc:UCPager ID="UCPager1" runat="server" />
|
</div>
|
</div>
|
</form>
|
</body>
|
</html>
|