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

101 lines
3.7 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.MD.Web.Models.EquipmentModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
设备信息编辑
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPEdit("设备信息编辑", string.IsNullOrEmpty(Model.PID) ? QMFrameWork.WebUI.panelType.Add : QMFrameWork.WebUI.panelType.Update)%>
<table id="editTable" cellpadding="0" cellspacing="0">
<tr>
<td>
<table>
<tr>
<th align="right">
<%=Html.QV(p => p.EQUIPMENT_CODE)%>
</th>
<td>
<%=Html.QC(p => p.EQUIPMENT_CODE)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.EQUIPMENT_NAME)%>
</th>
<td>
<%=Html.QC(p => p.EQUIPMENT_NAME)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.EQUIPMENT_TYPE)%>
</th>
<td>
<%=Html.QC(p => p.EQUIPMENT_TYPE)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.FLAG_EQUIPMENT)%>
</th>
<td>
<%=Html.QC(p => p.FLAG_EQUIPMENT)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.WORKCENTER_CODE)%>
</th>
<td>
<%=Html.QC(p => p.WORKCENTER_CODE)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.WORKCELL_CODE)%>
</th>
<td>
<%=Html.QC(p => p.WORKCELL_CODE)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.REMARK)%>
</th>
<td>
<%=Html.QC(p => p.REMARK)%>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%=Html.HiddenFor(p => p.PID)%>
<%=Html.HiddenFor(p => p.FLGDEL)%>
<%=Html.HiddenFor(p => p.CREATEDATE)%>
<%=Html.HiddenFor(p => p.CREATEUSER)%>
<%=Html.HiddenFor(p => p.UPDATEDATE)%>
<%=Html.HiddenFor(p => p.UPDATEUSER)%>
<%=Html.QPEnd() %>
<script type="text/javascript">
//保存
function Save() {
if (isValidate() == false) {
return false;
}
submitByButton("Save");
}
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<%=Html.QTButtonSave("User", "Save", "return Save();")%>
<%=Html.QTButtonBack("close", "List", "parent.closeAppWindow1();return false;")%>
</td>
</tr>
</table>
</asp:Content>