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.
109 lines
4.1 KiB
109 lines
4.1 KiB
4 years ago
|
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
|
||
|
Inherits="System.Web.Mvc.ViewPage<QMAPP.MD.Web.Models.ShiftModel>" %>
|
||
|
|
||
|
<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.SHIFT_CODE) %>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.SHIFT_CODE)%>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p=>p.SHIFT_NAME) %>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.SHIFT_NAME)%>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p=>p.WORK_START_TIME) %>
|
||
|
</th>
|
||
|
<td>
|
||
|
<input id="PSSTART" name="WORK_START_TIME" class="easyui-timespinner" value="<%=Model.WORK_START_TIME.ToString("HH:mm:ss") %>"
|
||
|
style="width: 155px;" required="required" data-options="min:'00:00',showSeconds:true" />
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p => p.WORK_END_TIME)%>
|
||
|
</th>
|
||
|
<td>
|
||
|
<input id="PSEND" name="WORK_END_TIME" class="easyui-timespinner" value="<%=Model.WORK_END_TIME.ToString("HH:mm:ss") %>"
|
||
|
style="width: 155px;" required="required" data-options="min:'00:00',showSeconds:true" />
|
||
|
</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.HiddenFor(p => p.UPDATEDATE)%>
|
||
|
<%=Html.HiddenFor(p => p.UPDATEUSER)%>
|
||
|
<%=Html.HiddenFor(p => p.FLGDEL)%>
|
||
|
<%=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 Save() {
|
||
|
var PSSTART = $("#PSSTART").val();
|
||
|
var PSEND = $("#PSEND").val();
|
||
|
if (PSSTART == PSEND) {
|
||
|
MSI("提示", "班次开始时间不能等于班次结束时间!");
|
||
|
return false;
|
||
|
}
|
||
|
if (isValidate() == false) {
|
||
|
return false;
|
||
|
}
|
||
|
submitByButton("Save");
|
||
|
}
|
||
|
|
||
|
$(function () {
|
||
|
|
||
|
$('#FACTORY_CODE').combobox({
|
||
|
panelWidth: '350'
|
||
|
|
||
|
});
|
||
|
|
||
|
});
|
||
|
</script>
|
||
|
</asp:Content>
|