219 lines
11 KiB
Plaintext
219 lines
11 KiB
Plaintext
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NWorkFlowNodeAdd.aspx.cs" Inherits="NWorkFlow_NWorkFlowNodeAdd" %>
|
|||
|
|
<html>
|
|||
|
|
<head>
|
|||
|
|
<title><%=System.Configuration.ConfigurationManager.AppSettings["SYSTitle"]%></title>
|
|||
|
|
<LINK href="../Style/Style.css" type="text/css" rel="STYLESHEET">
|
|||
|
|
|
|||
|
|
</head>
|
|||
|
|
<body onload="javascript:document.getElementById('txtSPDefaultList').readOnly=true;">
|
|||
|
|
<form id="form1" runat="server">
|
|||
|
|
<div>
|
|||
|
|
<table id="PrintHide" style="width: 100%" border="0" cellpadding="0" cellspacing="0">
|
|||
|
|
<tr>
|
|||
|
|
<td valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;"> <img src="../images/BanKuaiJianTou.gif" />
|
|||
|
|
<a class="hei" href="../Main/MyDesk.aspx"><3E><><EFBFBD><EFBFBD></a> >> <3B>ڵ㶨<DAB5><E3B6A8> >> <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
|
|||
|
|
</td>
|
|||
|
|
<td align="right" valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;">
|
|||
|
|
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/Button/Submit.jpg"
|
|||
|
|
OnClick="ImageButton1_Click" />
|
|||
|
|
<img src="../images/Button/JianGe.jpg" />
|
|||
|
|
<img class="HerCss" onclick="javascript:window.history.go(-1)" src="../images/Button/BtnExit.jpg" /> </td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td height="3px" colspan="2" style="background-color: #ffffff"></td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
<table style="width: 100%" bgcolor="#999999" border="0" cellpadding="2" cellspacing="1">
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
|
|||
|
|
<09>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD>ţ<EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
<asp:TextBox id="txtNodeSerils" runat="server" Width="350px"></asp:TextBox><asp:RequiredFieldValidator
|
|||
|
|
ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNodeSerils"
|
|||
|
|
Display="Dynamic" ErrorMessage="*<2A><><EFBFBD><EFBFBD><EEB2BB><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>"></asp:RequiredFieldValidator>
|
|||
|
|
<asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtNodeSerils"
|
|||
|
|
ErrorMessage="*<2A><><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>" MaximumValue="10000" MinimumValue="0" Type="Integer"></asp:RangeValidator></td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
|
|||
|
|
<09>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD>ƣ<EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
<asp:TextBox id="txtNodeName" runat="server" Width="350px"></asp:TextBox></td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
|
|||
|
|
<09>ڵ<EFBFBD>λ<EFBFBD>ã<EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
<asp:DropDownList ID="DropDownList1" runat="server" Width="350px">
|
|||
|
|
<asp:ListItem><3E><>ʼ</asp:ListItem>
|
|||
|
|
<asp:ListItem><3E>м<EFBFBD><D0BC><EFBFBD></asp:ListItem>
|
|||
|
|
<asp:ListItem><3E><><EFBFBD><EFBFBD></asp:ListItem>
|
|||
|
|
</asp:DropDownList></td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
|
|||
|
|
<09><>һ<EFBFBD><D2BB><EFBFBD>㣺
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
<asp:TextBox id="txtNextNode" runat="server" Width="350px"></asp:TextBox>
|
|||
|
|
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectJieDian.aspx?WorkFlowID=<%=Request.QueryString["WorkFlowID"].ToString() %>&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtNextNode').value=wName;}"
|
|||
|
|
src="../images/Button/search.gif" /></td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
|
|||
|
|
<09>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>ǿ<EFBFBD><C7BF><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
<asp:DropDownList ID="DropDownList2" runat="server" Width="350px">
|
|||
|
|
<asp:ListItem><3E><></asp:ListItem>
|
|||
|
|
<asp:ListItem><3E><></asp:ListItem>
|
|||
|
|
</asp:DropDownList></td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
|
|||
|
|
<09>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鿴<EFBFBD><E9BFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
<asp:DropDownList ID="DropDownList3" runat="server" Width="350px">
|
|||
|
|
<asp:ListItem><3E><></asp:ListItem>
|
|||
|
|
<asp:ListItem><3E><></asp:ListItem>
|
|||
|
|
</asp:DropDownList></td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
|
|||
|
|
<09>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>༭<EFBFBD><E0BCAD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
<asp:DropDownList ID="DropDownList4" runat="server" Width="350px">
|
|||
|
|
<asp:ListItem><3E><></asp:ListItem>
|
|||
|
|
<asp:ListItem><3E><></asp:ListItem>
|
|||
|
|
</asp:DropDownList></td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
|
|||
|
|
<09>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
<asp:DropDownList ID="DropDownList5" runat="server" Width="350px">
|
|||
|
|
<asp:ListItem><3E><></asp:ListItem>
|
|||
|
|
<asp:ListItem><3E><></asp:ListItem>
|
|||
|
|
</asp:DropDownList></td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
|
|||
|
|
<09><>ʱ<EFBFBD><CAB1><EFBFBD>ã<EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
ת<><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD><EFBFBD><asp:TextBox id="txtJieShuHours" runat="server" Width="49px">72</asp:TextBox>Сʱδ<CAB1><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD>ʹ߰<CDB4><DFB0><EFBFBD><EFBFBD>ѣ<EFBFBD><asp:RequiredFieldValidator
|
|||
|
|
ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtJieShuHours"
|
|||
|
|
Display="Dynamic" ErrorMessage="*<2A><><EFBFBD><EFBFBD><EEB2BB><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>"></asp:RequiredFieldValidator><asp:RangeValidator
|
|||
|
|
ID="RangeValidator2" runat="server" ControlToValidate="txtJieShuHours" ErrorMessage="*<2A><><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>"
|
|||
|
|
MaximumValue="10000" MinimumValue="0" Type="Integer"></asp:RangeValidator></td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
|
|||
|
|
<20><><EFBFBD><EFBFBD>ģʽ<C4A3><CABD>
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
<asp:DropDownList ID="DropDownList6" runat="server" Width="350px">
|
|||
|
|
<asp:ListItem>һ<><D2BB>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת</asp:ListItem>
|
|||
|
|
<asp:ListItem>ȫ<><C8AB>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת</asp:ListItem>
|
|||
|
|
</asp:DropDownList></td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
|
|||
|
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>ģʽ<C4A3><CABD>
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
<asp:DropDownList ID="DropDownList7" onchange="SelectDefault(this);" runat="server" Width="350px">
|
|||
|
|
<asp:ListItem><3E><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8></asp:ListItem>
|
|||
|
|
<asp:ListItem><3E><>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1></asp:ListItem>
|
|||
|
|
<asp:ListItem><3E><>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1></asp:ListItem>
|
|||
|
|
<asp:ListItem><3E><>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ<EFBFBD><C9AB>ѡ<EFBFBD><D1A1></asp:ListItem>
|
|||
|
|
<asp:ListItem><3E>Զ<EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD>̷<EFBFBD><CCB7><EFBFBD><EFBFBD><EFBFBD></asp:ListItem>
|
|||
|
|
<asp:ListItem><3E>Զ<EFBFBD>ѡ<EFBFBD><EFBFBD><F1B1BEB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></asp:ListItem>
|
|||
|
|
<asp:ListItem><3E>Զ<EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></asp:ListItem>
|
|||
|
|
</asp:DropDownList></td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
|
|||
|
|
Ĭ<><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
<asp:TextBox id="txtSPDefaultList" runat="server" Width="350px"></asp:TextBox>
|
|||
|
|
<img class="HerCss" onclick="OnSelect();" src="../images/Button/search.gif" /></td></tr>
|
|||
|
|
</table>
|
|||
|
|
</div>
|
|||
|
|
</form>
|
|||
|
|
</body>
|
|||
|
|
</html>
|
|||
|
|
<script language="javascript" type="text/javascript" >
|
|||
|
|
function PrintTable() {
|
|||
|
|
document.getElementById("PrintHide").style.visibility = "hidden"
|
|||
|
|
print();
|
|||
|
|
document.getElementById("PrintHide").style.visibility = "visible"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
var Selecttag = 0;
|
|||
|
|
document.getElementById('txtSPDefaultList').readOnly = true;
|
|||
|
|
function SelectDefault(OBJ) {
|
|||
|
|
|
|||
|
|
document.getElementById('txtSPDefaultList').value = "";
|
|||
|
|
if (OBJ.options[OBJ.selectedIndex].value == "<22><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>") {
|
|||
|
|
Selecttag = 0;
|
|||
|
|
document.getElementById('txtSPDefaultList').readOnly = true;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
else if (OBJ.options[OBJ.selectedIndex].value == "<22><>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>") {
|
|||
|
|
Selecttag = 1;
|
|||
|
|
document.getElementById('txtSPDefaultList').readOnly = false;
|
|||
|
|
}
|
|||
|
|
else if (OBJ.options[OBJ.selectedIndex].value == "<22><>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>") {
|
|||
|
|
Selecttag = 2;
|
|||
|
|
document.getElementById('txtSPDefaultList').readOnly = false;
|
|||
|
|
}
|
|||
|
|
else if (OBJ.options[OBJ.selectedIndex].value == "<22><>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ<EFBFBD><C9AB>ѡ<EFBFBD><D1A1>") {
|
|||
|
|
Selecttag = 3;
|
|||
|
|
document.getElementById('txtSPDefaultList').readOnly = false;
|
|||
|
|
}
|
|||
|
|
else if (OBJ.options[OBJ.selectedIndex].value == "<22>Զ<EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD>̷<EFBFBD><CCB7><EFBFBD><EFBFBD><EFBFBD>") {
|
|||
|
|
Selecttag = 4;
|
|||
|
|
document.getElementById('txtSPDefaultList').readOnly = true;
|
|||
|
|
}
|
|||
|
|
else if (OBJ.options[OBJ.selectedIndex].value == "<22>Զ<EFBFBD>ѡ<EFBFBD><EFBFBD><F1B1BEB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>") {
|
|||
|
|
Selecttag = 5;
|
|||
|
|
document.getElementById('txtSPDefaultList').readOnly = true;
|
|||
|
|
}
|
|||
|
|
else if (OBJ.options[OBJ.selectedIndex].value == "<22>Զ<EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>") {
|
|||
|
|
Selecttag = 6;
|
|||
|
|
document.getElementById('txtSPDefaultList').readOnly = true;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
function OnSelect() {
|
|||
|
|
if (Selecttag == 1) {
|
|||
|
|
var wName;
|
|||
|
|
var RadNum = Math.random();
|
|||
|
|
wName = window.showModalDialog('../Main/SelectUser.aspx?TableName=ERPUser&LieName=UserName&Radstr=' + RadNum, '', 'dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');
|
|||
|
|
if (wName == null)
|
|||
|
|
{ }
|
|||
|
|
else
|
|||
|
|
{ document.getElementById('txtSPDefaultList').value = wName; }
|
|||
|
|
}
|
|||
|
|
else if (Selecttag == 2) {
|
|||
|
|
var wName;
|
|||
|
|
var RadNum = Math.random();
|
|||
|
|
wName = window.showModalDialog('../Main/SelectDanWei.aspx?TableName=ERPBuMen&LieName=BuMenName&Radstr=' + RadNum, '', 'dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');
|
|||
|
|
if (wName == null)
|
|||
|
|
{ }
|
|||
|
|
else
|
|||
|
|
{ document.getElementById('txtSPDefaultList').value = wName; }
|
|||
|
|
}
|
|||
|
|
else if (Selecttag == 3) {
|
|||
|
|
var wName;
|
|||
|
|
var RadNum = Math.random();
|
|||
|
|
wName = window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPJiaoSe&LieName=JiaoSeName&Radstr=' + RadNum, '', 'dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');
|
|||
|
|
if (wName == null)
|
|||
|
|
{ }
|
|||
|
|
else
|
|||
|
|
{ document.getElementById('txtSPDefaultList').value = wName; }
|
|||
|
|
}
|
|||
|
|
else {
|
|||
|
|
document.getElementById('txtSPDefaultList').readOnly = true;
|
|||
|
|
alert('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>ģʽ<C4A3><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
</script>
|