天津投入产出系统后端
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.
 
 
 
 
 
 

95 lines
3.3 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.FeedInManage.HUDBracketModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
HUD支架信息查询
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPSeach(100,true) %>
<table id="condiTable">
<tr>
<th align="right">
<%=Html.QV(p=>p.PRODUCTCODE) %>
</th>
<td>
<%=Html.QC(p => p.PRODUCTCODE)%>
</td>
<th align="right">
<%=Html.QV(p => p.MACHINECODDE)%>
</th>
<td>
<%=Html.QC(p => p.MACHINECODDE)%>
</td>
<th align="right">
<%=Html.QV(p => p.CURRENTPROCESS)%>
</th>
<td>
<%=Html.QC(p => p.CURRENTPROCESS)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.STARTCREATEDATE)%>
</th>
<td>
<%=Html.QC(p => p.STARTCREATEDATE)%>
</td>
<th align="right">
<%=Html.QV(p => p.ENDCREATEDATE)%>
</th>
<td>
<%=Html.QC(p => p.ENDCREATEDATE)%>
</td>
</tr>
</table>
<%=Html.QPEnd()%>
<%=Html.QPList() %>
<%=Html.QDateGrid<QMAPP.FJC.Web.Models.FeedInManage.HUDBracketModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<%=Html.Hidden("fileName") %>
<script language="javascript" type="text/javascript">
//导出
function Export() {
var ids = getSelectKey();
document.getElementById("selectKey").value = ids;
//_showProgress();
$.get("/HUDBracket/ExportExcel", $("form").serializeArray(), function (data) {
//_closeProgress();
submitByButton("/HUDBracket/ExportFile?FileName=" + data);
});
}
//生产完成
function UseComplete() {
var ids = getSelectKey();
if (ids == "") {
MSI("错误", "至少选择一条记录");
return;
}
if (ids.indexOf(":") > 0) {
MSI("提示", "每次只能完成一条计划。");
return;
}
else {
document.getElementById("selectKey").value = ids;
MSQ("提示", "确定要完成选中的信息吗?", function () {
submitByButton("UseComplete");
})
}
}
$(function () { List(1); });
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<%=Html.QTButtonSearch("HUDBracket", "List", "List(1)", QMAPP.Common.Web.SystemLimit.isLimt)%>
<%=Html.QTButton("export", "ExportExcel", QMFrameWork.WebUI.IconCls.redo, "Export()", (s, f) => { return true; })%>
<%=Html.QTButton("UseComplete", "UseComplete", QMFrameWork.WebUI.IconCls.ok, "UseComplete()", QMAPP.Common.Web.SystemLimit.isLimt)%>
</td>
</tr>
</table>
</asp:Content>