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.
53 lines
2.1 KiB
53 lines
2.1 KiB
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
|
|
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Basic.ProcessRouteWorkCellModel>" %>
|
|
|
|
<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.Basic.ProcessRouteWorkCellModel>(Model)%>
|
|
<%=Html.QPEnd() %>
|
|
<%=Html.Hidden("selectKey")%>
|
|
<%=Html.Hidden("PID")%>
|
|
<%=Html.Hidden("ROUTE_PID")%>
|
|
<%=Html.Hidden("WORKCELL_PID")%>
|
|
<script language="javascript" type="text/javascript">
|
|
|
|
//添加
|
|
function Add() {
|
|
var ROUTE_PID = $('#ROUTE_PID').val();
|
|
openAppWindow1('工序配置添加', 'ProcessRouteWorkCellEdit?ROUTE_PID=' + ROUTE_PID, '700', '500');
|
|
}
|
|
//删除
|
|
function Delete() {
|
|
var ids = getSelectKey();
|
|
if (ids == "") {
|
|
MSI("错误", "至少选择一条记录");
|
|
}
|
|
else {
|
|
document.getElementById("selectKey").value = ids;
|
|
MSQ("提示", "确定要删除选中的记录吗?", function () {
|
|
submitByButton("ProcessRouteWorkCellDelete");
|
|
})
|
|
}
|
|
}
|
|
//返回
|
|
function Return() {
|
|
var returnUrl = "/ProcessRoute/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("ProcessRoute", "Add", "Add()", (s, f) => { return true; })%>
|
|
<%=Html.QTButtonDelete("ProcessRoute", "Delete", "Delete()", (s, f) => { return true; })%>
|
|
<%=Html.QTButton("return", "List", QMFrameWork.WebUI.IconCls.back, "Return();", (s, f) => { return true; })%>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</asp:Content>
|
|
|