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

167 lines
6.1 KiB

2 years ago
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.MD.Web.Models.AWProductModel>" %>
<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">
当前工位
</th>
<td>
<%=Html.QC(p => p.CWorkLoc_Code)%>
</td>
</tr>
<tr>
<th align="right">
校验工位
</th>
<td>
<%=Html.QC(p => p.PWorkLoc_Code)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p=>p.PWorkLoc_Column) %>
</th>
<td>
<%=Html.QC(p => p.PWorkLoc_Column)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p=>p.Product_Column) %>
</th>
<td>
<%=Html.QC(p => p.Product_Column)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p=>p.Check) %>
</th>
<td>
<%=Html.QC(p => p.Check)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p=>p.Operator) %>
</th>
<td>
<%=Html.QC(p => p.Operator)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p=>p.Check_Type) %>
</th>
<td>
<%=Html.QC(p => p.Check_Type)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p=>p.Check_Value) %>
</th>
<td>
<%=Html.QC(p => p.Check_Value)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p=>p.Check_Table) %>
</th>
<td>
<%=Html.QC(p => p.Check_Table)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p=>p.Check_Column) %>
</th>
<td>
<%=Html.QC(p => p.Check_Column)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p=>p.Pwhere) %>
</th>
<td>
<%=Html.QC(p => p.Pwhere)%>
</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.CREATEDATE)%>
<%=Html.HiddenFor(p => p.CREATEUSER)%>
<%=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 () {
// //工厂
// $('#CWorkLoc_Code').combobox({
// onSelect: function () {
// var selectCode = $('#CWorkLoc_Code').combobox('getValue');
// if (selectCode != "") {
// //获取下拉数据源
// $('#CWorkLoc_Code').combobox({
// url: "/Dict/GetWorkLocFromWorkCelEditlComboxSource",
// editable: 'false',
// valueField: 'PROJECT_CODE',
// textField: 'PROJECT_NAME'
// });
// $('#CWorkLoc_Code').combobox("setValue", "");
// }
// else {
// //清空工序下拉框
// var emptyData = [{ 'PROJECT_CODE': "", 'PROJECT_NAME': ""}];
// $('#CWorkLoc_Code').combobox("loadData", emptyData);
// $('#CWorkLoc_Code').combobox("select", "");
// }
// }
// });
//});
function Save() {
if (isValidate() == false) {
return false;
}
submitByButton("Save");
}
</script>
</asp:Content>