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.
60 lines
2.5 KiB
60 lines
2.5 KiB
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
|
|
Inherits="System.Web.Mvc.ViewPage<QMAPP.MD.Web.Models.ProcessRouteWorkCellModel>" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|
工序配置信息列表
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|
<%=Html.QPList() %>
|
|
<%=Html.QDateGrid<QMAPP.MD.Web.Models.ProcessRouteWorkCellModel>(Model)%>
|
|
<%=Html.QPEnd() %>
|
|
<%=Html.Hidden("selectKey")%>
|
|
<%=Html.Hidden("PID")%>
|
|
<%=Html.Hidden("ROUTE_CODE")%>
|
|
<%=Html.Hidden("VER_NUM")%>
|
|
<%=Html.Hidden("WORKCELL_CODE")%>
|
|
<%=Html.Hidden("ROUTE_CODE_PARAM")%>
|
|
<%=Html.Hidden("ROUTE_VER_PARAM")%>
|
|
<script language="javascript" type="text/javascript">
|
|
//添加
|
|
function Add() {
|
|
var ROUTE_CODE = $('#ROUTE_CODE').val();
|
|
var VER_NUM = $('#VER_NUM').val();
|
|
openAppWindow1('工序配置添加', 'ProcessRouteWorkCellEdit?ROUTE_CODE_PARAM=' + ROUTE_CODE + "&ROUTE_VER_PARAM=" + VER_NUM, '350', '400');
|
|
}
|
|
//删除
|
|
function Delete() {
|
|
var ids = getSelectKey();
|
|
var idsRoutes = $('#ROUTE_CODE').val();
|
|
var vers = $('#VER_NUM').val();
|
|
if (ids == "") {
|
|
MSI("错误", "至少选择一条记录");
|
|
}
|
|
else {
|
|
document.getElementById("selectKey").value = ids;
|
|
document.getElementById("ROUTE_CODE_PARAM").value = idsRoutes;
|
|
document.getElementById("ROUTE_VER_PARAM").value = vers;
|
|
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>
|
|
|