软件源代码Word文件下载.docx
《软件源代码Word文件下载.docx》由会员分享,可在线阅读,更多相关《软件源代码Word文件下载.docx(62页珍藏版)》请在冰点文库上搜索。
![软件源代码Word文件下载.docx](https://file1.bingdoc.com/fileroot1/2023-5/4/ba94adcf-a39a-45c0-ac3b-36e4035f48a0/ba94adcf-a39a-45c0-ac3b-36e4035f48a01.gif)
{
for(varj=0;
j<
document.images.length;
j++)
varimg=document.images[j]
varimgName=img.src.toUpperCase()
if(imgName.substring(imgName.length-3,imgName.length)=="
PNG"
varimgID=(img.id)?
"
id='
"
+img.id+"
'
:
varimgClass=(img.className)?
class='
+img.className+"
varimgTitle=(img.title)?
title='
+img.title+"
+img.alt+"
varimgStyle="
display:
inline-block;
+img.style.cssText
if(img.align=="
left"
)imgStyle="
float:
left;
+imgStyle
right"
right;
if(img.parentElement.href)imgStyle="
cursor:
hand;
varstrNewHTML="
span"
+imgID+imgClass+imgTitle
+"
style=\"
width:
+img.width+"
px;
height:
+img.height+"
+imgStyle+"
;
filter:
progid:
DXImageTransform.Microsoft.AlphaImageLoader"
(src=\'
+img.src+"
\'
sizingMethod='
scale'
);
\"
/span>
img.outerHTML=strNewHTML
j=j-1
}
}
window.attachEvent("
onload"
correctPNG);
/script>
metahttp-equiv="
Content-Type"
content="
text/html;
charset=utf-8"
/>
linkhref="
images/skin.css"
rel="
stylesheet"
type="
body>
tablewidth="
100%"
height="
166"
border="
0"
cellpadding="
cellspacing="
<
tr>
tdheight="
42"
valign="
top"
791"
44"
class="
login_top_bg"
tdwidth="
1%"
21"
nbsp;
/td>
17%"
/tr>
/table>
tdvalign="
532"
login_bg"
49%"
align="
91%"
login_bg2"
138"
340"
443"
149"
80"
center"
fontcolor="
#0000ff"
strong>
labelid="
logo"
物资仓库管理系统<
/label>
/strong>
/font>
198"
35%"
25"
colspan="
2"
left_txt"
p>
1-简单易用的仓库管理系统...<
/p>
td>
2-方便管理仓库...<
3-是仓库库存透明化...<
>
50%"
bottom"
59"
4%"
96%"
38"
spanclass="
login_txt_bt"
tablecellSpacing="
cellPadding="
width="
id="
table211"
328"
164"
middle"
formname="
form1"
action="
loginaction.action"
method="
post"
143"
table212"
13%"
top_hui_text"
login_txt"
用户名:
inputid="
username"
name="
editbox4"
value="
size="
20"
<
divid="
error"
red"
<
%
if(request.getAttribute("
login_error"
)!
=null)
{request.setCharacterEncoding("
UTF-8"
%>
用户名或密码不正确!
}
/div>
35"
密码:
&
password"
imgsrc="
images/luck.gif"
19"
18"
20%"
inputname="
Submit"
button"
登陆"
onclick="
check();
67%"
cs"
reset"
清空"
br>
/form>
433"
images/login-wel.gif"
242"
57"
login-buttom-bg"
text/javascript"
functioncheck(){
varyhm=document.form1.username.value;
varmm=document.form1.password.value;
if(yhm.length==0||mm.length==0){
alert("
用户名密码不能为空!
document.form1.yhm.focus();
returnfalse;
else
form1.submit();
增加物品基本资料jsp源代码
%@taglibprefix="
s"
uri="
/struts-tags"
%>
divclass="
pageContent"
formmethod="
addgoods.action"
enctype="
multipart/form-data"
pageFormrequired-validate"
onsubmit="
returnvalidateCallback(this,navTabAjaxDone);
pageFormContent"
layoutH="
56"
<
<
label>
物品名称:
inputtype="
text"
goods.goodName"
15"
required"
alt="
/>
型号:
goods.model"
材料:
goods.material"
单位:
goods.unit"
所占空间:
goods.capacity"
formBar"
ul>
--<
li>
aclass="
buttonActive"
href="
javascript:
span>
保存<
/a>
/li>
buttonContent"
buttontype="
submit"
/button>
<
close"
取消<
/ul>
添加出入库信息jsp源代码
%>
%@pagepageEncoding="
outstorage.action"
98"
s:
iteratorvalue="
wares"
radio"
ware"
id="
${ware.warehouseId}"
value="
${ware.warehouseName}<
divid="
class="
waregoods"
style="
visibility:
hidden;
iteratorvalue="
goods"
checkbox"
${goodsId}"
${goodName}${capacity}<
inputname="
hcount"
${capacity}"
type="
hidden"
counts"
4"
value="
/s:
iterator>
divider"
script>
$(document).ready(function()
{
vargoods=[];
varwareid=[];
varcounts=[];
$("
input[name='
hcount'
]"
).each(function(i)
{
counts.push($(this).val());
$(this).val("
});
goods'
goods.push($(this).val());
ware'
wareid.push($(this).val());
$(this).val("
});
input"
).click(function()
if($(this).attr("
type"
)=="
$("
input[name='
).attr("
checked"
false);
div.waregoods"
style"
"
counts'
).val("
varid=$(this).attr("
id"
).each(function()
{
if($(this).attr("
)==id)
$(this).attr("
visible;
});
}
$("
$(this).change(function()
varc=parseInt($(this).val());
varc2=counts[i];
if(c>
c2)
{
$(this).val(c2);
}
if($(this).attr("
)==true)
$(this).val(wareid[i]);
}
$(this).val(goods[i]);
$("
).each(function(id)
if(id==i)
$(this).attr("
});