20250929 人工时处理
This commit is contained in:
@@ -4,55 +4,68 @@
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<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: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">
|
||||
<f:TextBox ID="txtJobNo" runat="server" Label="Job No" Readonly="true" LabelWidth="120px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpDiscipline" runat="server" Label="Discipline" EnableGroup="true" EnableEdit="true" ShowRedStar="true" ></f:DropDownList>
|
||||
<%-- <f:TextBox ID="txtDiscipline" runat="server" Label="Discipline" Readonly="true">
|
||||
<f:DropDownList ID="drpDiscipline" runat="server" Label="Discipline" EnableGroup="true" EnableEdit="true" ShowRedStar="true" LabelWidth="120px"></f:DropDownList>
|
||||
<%-- <f:TextBox ID="txtDiscipline" runat="server" Label="Discipline" Readonly="true">
|
||||
</f:TextBox>--%>
|
||||
</Items>
|
||||
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtAccount" runat="server" Label="Account" >
|
||||
<f:TextBox ID="txtAccount" runat="server" Label="Account" LabelWidth="120px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtEngineerName" runat="server" Label="EngineerName" Readonly="true">
|
||||
<f:TextBox ID="txtEngineerName" runat="server" Label="EngineerName" Readonly="true" LabelWidth="120px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtManHours" runat="server" Label="ManHours">
|
||||
<f:TextBox ID="txtManHours" runat="server" Label="ManHours" LabelWidth="120px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="20% 80%">
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<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>
|
||||
<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">
|
||||
@@ -67,5 +80,15 @@
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
// 同时只能选中一项
|
||||
function onCheckBoxListChange(event, checkbox, isChecked) {
|
||||
var me = this;
|
||||
if (isChecked) {
|
||||
me.setValue(checkbox.getInputValue());
|
||||
}
|
||||
__doPostBack('', 'CheckBoxList1Change');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user