2024-05-08 11:01:54 +08:00
|
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddManHours.aspx.cs" Inherits="FineUIPro.Web.ManHours.AddManHours" %>
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head runat="server">
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<title></title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<form id="form1" runat="server">
|
|
|
|
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
|
|
|
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
|
|
|
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
|
|
|
<Rows>
|
|
|
|
<f:FormRow>
|
|
|
|
<Items>
|
|
|
|
<f:TextBox ID="txtJobNo" runat="server" Label="Job No" Readonly="true" LabelWidth="120px">
|
|
|
|
</f:TextBox>
|
|
|
|
</Items>
|
|
|
|
</f:FormRow>
|
|
|
|
<f:FormRow>
|
|
|
|
<Items>
|
|
|
|
<f:DropDownList ID="drpJobNo" runat="server" Label="Job No" LabelWidth="120px" AutoPostBack="true" OnSelectedIndexChanged="drpJobNo_OnSelectedIndexChanged" EnableEdit="true" Hidden="true"></f:DropDownList>
|
|
|
|
</Items>
|
|
|
|
</f:FormRow>
|
|
|
|
<f:FormRow>
|
|
|
|
<Items>
|
|
|
|
<f:DropDownList ID="drpDiscipline" runat="server" Label="Discipline" EnableGroup="true" EnableEdit="true" ShowRedStar="true" LabelWidth="120px"></f:DropDownList>
|
|
|
|
</Items>
|
|
|
|
</f:FormRow>
|
|
|
|
<f:FormRow>
|
|
|
|
<Items>
|
|
|
|
<f:TextBox ID="txtAccount" runat="server" Label="Account" Required="true" ShowRedStar="true" LabelWidth="120px">
|
|
|
|
</f:TextBox>
|
|
|
|
</Items>
|
|
|
|
</f:FormRow>
|
|
|
|
<f:FormRow>
|
|
|
|
<Items>
|
|
|
|
<f:DropDownList ID="drpEngineer" runat="server" Label="EngineerName" EnableGroup="true" EnableEdit="true" ShowRedStar="true" LabelWidth="120px"></f:DropDownList>
|
|
|
|
</Items>
|
|
|
|
</f:FormRow>
|
|
|
|
<f:FormRow>
|
|
|
|
<Items>
|
|
|
|
<f:TextBox ID="txtManHours" runat="server" Label="ManHours" Required="true" ShowRedStar="true" LabelWidth="120px">
|
|
|
|
</f:TextBox>
|
|
|
|
</Items>
|
|
|
|
</f:FormRow>
|
|
|
|
<f:FormRow>
|
|
|
|
<Items>
|
2025-09-16 16:41:45 +08:00
|
|
|
<f:CheckBoxList ID="checkPhase" Label="Phase" runat="server" LabelWidth="120px">
|
|
|
|
<Items>
|
|
|
|
<f:CheckItem Text="Study/Concept Planning" Value="Study/Concept Planning" Selected="true" />
|
|
|
|
<f:CheckItem Text="Execution" Value="Execution" />
|
|
|
|
</Items>
|
|
|
|
<Listeners>
|
|
|
|
<f:Listener Event="change" Handler="onCheckBoxListChange" />
|
|
|
|
</Listeners>
|
|
|
|
</f:CheckBoxList>
|
|
|
|
</Items>
|
|
|
|
</f:FormRow>
|
|
|
|
<f:FormRow ColumnWidths="20% 80%">
|
|
|
|
<Items>
|
|
|
|
<f:Label ID="Label1" runat="server"></f:Label>
|
2024-05-08 11:01:54 +08:00
|
|
|
<f:CheckBox ID="cbNotApplicable1" runat="server" AutoPostBack="true" Text="Account Disabled?"></f:CheckBox>
|
|
|
|
</Items>
|
|
|
|
</f:FormRow>
|
|
|
|
|
|
|
|
</Rows>
|
|
|
|
<Toolbars>
|
|
|
|
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
|
|
|
<Items>
|
|
|
|
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="Save" ToolTip="Save" ValidateForms="SimpleForm1"
|
|
|
|
OnClick="btnSave_Click" Hidden="true">
|
|
|
|
</f:Button>
|
|
|
|
<f:Button ID="btnClose" EnablePostBack="false" Text="Close" ToolTip="Close" runat="server" Icon="SystemClose">
|
|
|
|
</f:Button>
|
|
|
|
</Items>
|
|
|
|
</f:Toolbar>
|
|
|
|
</Toolbars>
|
|
|
|
</f:Form>
|
|
|
|
</form>
|
2025-09-16 16:41:45 +08:00
|
|
|
<script type="text/javascript">
|
|
|
|
// 同时只能选中一项
|
|
|
|
function onCheckBoxListChange(event, checkbox, isChecked) {
|
|
|
|
var me = this;
|
|
|
|
if (isChecked) {
|
|
|
|
me.setValue(checkbox.getInputValue());
|
|
|
|
}
|
|
|
|
__doPostBack('', 'CheckBoxList1Change');
|
|
|
|
}
|
|
|
|
</script>
|
2024-05-08 11:01:54 +08:00
|
|
|
</body>
|
|
|
|
</html>
|