天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

62 lines
2.3 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Equipment.MouldDataModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
模具资料维护信息列表
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPList() %>
<%=Html.QDateGrid<QMAPP.FJC.Web.Models.Equipment.MouldDataModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<%=Html.Hidden("PID")%>
<%=Html.Hidden("MOULD_ID")%>
<%=Html.Hidden("PID_PARAM")%>
<%--<%=Html.Hidden("CREATEUSER")%>
<%=Html.Hidden("CREATEDATE")%>
<%=Html.Hidden("UPDATEUSER")%>
<%=Html.Hidden("UPDATEDATE")%>--%>
<script language="javascript" type="text/javascript">
//添加
function Add() {
//var PID = $('#PID').val();
var MOULD_ID = $('#MOULD_ID').val();
openAppWindow1('模具资料添加', 'MouldDataEdit?PID_PARAM=' + MOULD_ID, '350', '200');
}
//删除
function Delete() {
var ids = getSelectKey();
//var idsRoutes = $('#PID').val();
var idsRoutes = $('#MOULD_ID').val();
if (ids == "") {
MSI("错误", "至少选择一条记录");
}
else {
document.getElementById("selectKey").value = ids;
document.getElementById("PID_PARAM").value = idsRoutes;
MSQ("提示", "确定要删除选中的记录吗?", function () {
submitByButton("MouldDataDelete");
})
}
}
//返回
function Return() {
var returnUrl = "/Mould/List";
window.location.href = returnUrl;
}
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<%=Html.QTButtonAdd("Mould", "Add", "Add()", (s, f) => { return true; })%>
<%=Html.QTButtonDelete("Mould", "Delete", "Delete()", (s, f) => { return true; })%>
<%=Html.QTButton("return", "List", QMFrameWork.WebUI.IconCls.back, "Return();", (s, f) => { return true; })%>
</td>
</tr>
</table>
</asp:Content>