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.MD.Web.Models.MaterialClassModel>" %>
|
|
<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.FACTORY_CODE)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.FACTORY_CODE)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.MATERIAL_TYPE_CODE)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.MATERIAL_TYPE_CODE)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.MATERIAL_TYPE_NAME)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.MATERIAL_TYPE_NAME)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.MATERIAL_ATTRIBUTE)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.MATERIAL_ATTRIBUTE)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.LAYER_NUM)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.LAYER_NUM)%>
|
|
</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.SEQ_NUM)%>
|
|
<%=Html.HiddenFor(p => p.UP_MATERIAL_TYPE_CODE)%>
|
|
<%=Html.HiddenFor(p => p.FLGDEL)%>
|
|
<%=Html.QPEnd() %>
|
|
<script type="text/javascript">
|
|
function Save() {
|
|
if (isValidate() == false) {
|
|
return false;
|
|
}
|
|
submitByButton("SaveMaterialClass");
|
|
}
|
|
$(function () {
|
|
|
|
$('#FACTORY_CODE').combobox({
|
|
panelWidth: '350'
|
|
|
|
});
|
|
|
|
});
|
|
</script>
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td>
|
|
<%=Html.QTButtonSave("MaterialClass", "Save", "return Save();")%>
|
|
<%=Html.QTButtonBack("close", "List", "parent.closeAppWindow1();return false;")%>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</asp:Content>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|