-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rec_PO_Pick.backup
153 lines (137 loc) · 3.91 KB
/
Rec_PO_Pick.backup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Sample</title>
<meta name="generator" content="">
<meta name="description" content="">
<meta name="keywords" content="">
<style type="text/css">
<!--
.style1 {font-size: 9px}
.style2 {font-size: 12px}
.style3 {
font-size: xx-small;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
table.stats
{text-align: center;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif ;
font-weight: normal;
font-size: 11px;
color: #fff;
width: 320px;
border: 0px;
border-collapse: collapse;
border-spacing: 0px;}
table.stats td
{
color: #000;
font-size:10px;
padding: 4px;
text-align: left;
border: 1px #fff solid;
}
table.stats td.hed
{background-color: #666;
color: #fff;
padding: 4px;
text-align: left;
border-bottom: 2px #fff solid;
font-size: 10px;
font-weight: bold;}
-->
</style>
<script language="javascript">
function changeColor()
{
for (Count = 0; Count < document.forms[0].cgroup.length; Count++)
{
checkbx = 'check'+ (Count+1);
rw = 'td'+(Count+1);
check = document.getElementById(checkbx);
row = document.getElementById(rw);
if(check.checked==true)
{
row.bgColor = "black";
for (j=0;j< row.childNodes.length;j++)
{
row.childNodes[j].style.color = 'white'
}
document.getElementById(checkbx).checked = true;
}
else if(check.checked==false)
{
row.bgColor = "#CCCCCC";
for (j=0;j< row.childNodes.length;j++)
{
row.childNodes[j].style.color = 'black'
}
document.getElementById(checkbx).checked = false;
}
}
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<FORM name="myForm" action=".\Rec_PO_Submit.html" METHOD = POST>
<table width="320" border="0" align="left" >
<tr>
<td>
<table width="100%" border="0" align="left" BACKGROUND=".\gray.gif">
<tr>
<td width="80%" align="left"><img src=".\logo.gif" height="25px" ></td>
<td width="10%"><a href=".\Rec_PO_Add.html"><img src=".\back.GIF" name="back" border="0" height="25px" alt="Back"></a></td>
<td width="10%"><input align="right" type="image" src=".\prc.bmp" name="submit" onClick="submit();" height="25px" alt="Process"></td>
</tr>
</table>
</td></tr>
<tr>
<td>
<table width="100%" border="0" align="left" BACKGROUND=".\gray.gif" class="stats" >
<tr>
<td class="hed" >PO BU</td>
<td>VICOR</td>
</tr>
<tr>
<td width="40%" class="hed" >Item</td>
<td width="60%">03030</td>
</tr>
<tr>
<td width="40%" class="hed" >Quantity</td>
<td width="60%" >377</td>
</tr>
</table>
</td></tr>
<tr>
<td>
<table width="100%" height="90" border="0" align="center" BACKGROUND=".\gray.gif" class="stats" ><!--DWLayoutTable-->
<tr height="10" valign="top" >
<td class="hed" colspan=2 align="center">PO</td>
<td class="hed" align="left">Ln</td>
<td class="hed" align="left">Sc</td>
<td class="hed" align="center">PO Qty</td>
<td class="hed" align="center">Due Date</td>
</tr>
<tr id="td1" onClick="document.getElementById('check1').checked = !(document.getElementById('check1').checked);changeColor();">
<td width="3%"><input type="checkbox" id="check1" onClick="changeColor()" name="cgroup" value="1"></td>
<td width="20%" align="left">167423</td>
<td width="3%" align="center">1</td>
<td width="3%" align="center">1</td>
<td width="30%" align="right">200</td>
<td width="40%" align="left">03/06/2007</td>
</tr>
<tr id="td2" onClick="document.getElementById('check2').checked = !(document.getElementById('check2').checked);changeColor();">
<td width="3%"><input type="checkbox" id="check2" onClick="changeColor()" name="cgroup" value="2"></td>
<td width="20%" align="left">167423</td>
<td width="3%" align="center">1</td>
<td width="3%" align="center">2</td>
<td width="30%" align="right">100</td>
<td width="40%" align="left">03/06/2007</td>
</tr>
</table>
</td>
</tr>
</table>
</FORM>
</body>
</html>