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.
102 lines
3.5 KiB
102 lines
3.5 KiB
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
|
|
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Basic.ProductMderuleModel>" %>
|
|
<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.COLORCODE)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.COLORCODE)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.HB)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.HB)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.INJECTIONINDEX)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.INJECTIONINDEX)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.INJECTIONTERMINAL)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.INJECTIONTERMINAL)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.USEDWEIGHT)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.USEDWEIGHT)%>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
<%=Html.HiddenFor(p => p.PID)%>
|
|
<%=Html.HiddenFor(p => p.CREATEDATE)%>
|
|
<%=Html.HiddenFor(p => p.CREATEUSER)%>
|
|
<%=Html.HiddenFor(p => p.UPDATEDATE)%>
|
|
<%=Html.HiddenFor(p => p.UPDATEUSER)%>
|
|
<%=Html.HiddenFor(p => p.PRODUCTTYPE)%>
|
|
<%=Html.QPEnd() %>
|
|
</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>
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
var PID = $("#PID").val();
|
|
if (PID == "") {
|
|
$("#USEDWEIGHT").val("0");
|
|
}
|
|
});
|
|
function Save() {
|
|
if (isValidate() == false) {
|
|
return false;
|
|
}
|
|
|
|
//RFID编号正则校验
|
|
if (!/^(?!(0[0-9]{0,}$))[0-9]{1,}[.]{0,}[0-9]{0,}$/.test($("#USEDWEIGHT").val().trim())) {
|
|
MSI("提示", "注料重量请填写非负数!");
|
|
return false;
|
|
|
|
}
|
|
|
|
submitByButton("Save");
|
|
}
|
|
</script>
|
|
</asp:Content>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|