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

118 lines
4.5 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Basic.DAIValidationModel>" %>
<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="1">
<tr>
<td>
<table>
<tr>
<th align="right">
<%=Html.QV(p => p.WORKCELL_NAME)%>
</th>
<td>
<%=Model.WORKCELL_NAME%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.DA_NAME)%>
</th>
<td>
<%=Model.DA_NAME%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.VALIDATOR_NAME)%>
</th>
<td>
<%=Model.VALIDATOR_NAME %>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.LOWER_LMT)%>
</th>
<td>
<%=Html.QC(p => p.LOWER_LMT)%>(单位:小时)
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.UPPER_LMT)%>
</th>
<td>
<%=Html.QC(p => p.UPPER_LMT)%>(单位:小时)
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.VALIDATOR_NAME)%>
</th>
<td>
<%=Model.VALIDATOR_NAME %>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.REMARK)%>
</th>
<td>
<textarea name="REMARK" cols="20" rows="3"><%=Model.REMARK %></textarea>
<span>用于现场报警提示</span>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.DISABLE)%>
</th>
<td>
<select name="DISABLE" id="DISABLE">
<option value="0">启用</option>
<option value="1">禁用</option>
</select>
<script type="text/javascript">
$(function () {
$("#DISABLE option[value='<%=Model.DISABLE %>']").attr("selected", "true");
});
</script>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%=Html.HiddenFor(p=>p.PID) %>
<%=Html.HiddenFor(p=>p.VALIDATION_CODE) %>
<%=Html.HiddenFor(p=>p.CREATEDATE) %>
<%=Html.HiddenFor(p=>p.CREATEUSER) %>
<%=Html.HiddenFor(p=>p.UPDATEDATE)%>
<%=Html.HiddenFor(p=>p.UPDATEUSER) %>
<%=Html.QPEnd() %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<%=Html.QTButtonSave("Corp", "Save", "return Save();")%>
<%=Html.QTButtonBack("close", "List", "parent.closeAppWindow1();return false;")%>
</td>
</tr>
</table>
<script type="text/javascript">
function Save() {
if (isValidate() == false) {
return false;
}
submitByButton("Save");
}
</script>
</asp:Content>