<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master" Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.CheckTime.CHECKTIMEModel>" %> <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"> 条码规则信息列表 </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.MATERIALCODDE) %> </th> <td> <%=Html.QC(p => p.MATERIALCODDE)%> </td> <th align="right"> <%=Html.QV(p => p.barcodeFist)%> </th> <td> <%=Html.QC(p => p.barcodeFist)%> </td> <th align="right"> <%=Html.QV(p => p.Company_code)%> </th> <td> <%=Html.QC(p => p.Company_code)%> </td> </tr> <tr> <th align="right"> <%=Html.QV(p => p.Vehicle_type)%> </th> <td> <%=Html.QC(p => p.Vehicle_type)%> </td> <th> <%=Html.QV(p => p.configColor)%> </th> <td> <%=Html.QC(p => p.configColor)%> </td> </tr>--%> </table> <div style="left: 1px; position: relative;"></div> <%=Html.QPEnd()%> <%=Html.QPList() %> <%=Html.QDateGrid<QMAPP.FJC.Web.Models.CheckTime.CHECKTIMEModel>(Model)%> <%=Html.QPEnd() %> <%=Html.Hidden("PID")%> <%=Html.Hidden("selectKey")%> <%=Html.Hidden("MPID")%> <%-- <%=Html.Hidden("Line_code")%> <%=Html.Hidden("Line_name")%>--%> <script language="javascript" type="text/javascript"> //添加 function Add() { openAppWindow1('BZD绑定信息添加', 'Edit', '400', '400'); } //修改 function Update() { var ids = getSelectKey(); if (ids == "") { MSI("提示", "请选择修改记录。"); return; } if (ids.indexOf(":") > 0) { MSI("提示", "每次只能修改一条记录。"); return; } document.getElementById("selectKey").value = ids; openAppWindow1('BZD绑定信息修改', 'Edit?PID=' + ids, '400', '400'); } //删除 function Delete() { var ids = getSelectKey(); if (ids == "") { MSI("错误", "至少选择一条记录"); } else { document.getElementById("selectKey").value = ids; MSQ("提示", "确定要删除选中的记录吗?", function() { submitByButton("Delete"); }); } } $(function () { $('#FACTORY_CODE').combobox({ panelWidth: '350' }); }); </script> </asp:Content> <asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server"> <table cellpadding="0" cellspacing="0"> <tr> <td align="center"> <%=Html.QTButtonSearch("CHECKTIME", "List", "List(1)", QMAPP.Common.Web.SystemLimit.isLimt)%> <%=Html.QTButtonUpdate("CHECKTIME", "Edit", "Update()", QMAPP.Common.Web.SystemLimit.isLimt)%> </td> </tr> </table> </asp:Content>