⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 book.asp

📁 很不错的进销存系统, 本系统适用于轮胎经销使用
💻 ASP
字号:
<!--#include file=conn.asp-->

<html>
<head><link href="css.css" rel="stylesheet" type="text/css">
<title>三角进销存-记帐本</title>
</head>
<body>
<table width=100% class="inputb"><tr><td align=center>记帐本</td></tr></table>
<center><form name=jiform action="book1.asp" method="post">
欠款姓名:<input name=name type=text><br>
欠款事由:<input name=shiyou type=text><br>
欠款金额:<input name=money type=text><br>
欠款日期:<input name=intime type=text><br>
欠款方式:<input name=fangshi type=checkbox value=内欠>内欠|外欠<input name=fangshi type=checkbox value=外欠><br>
<input name=submit class=inputb type=submit value="确定添加">
</form>
</center>
<%

response.write"<table width=100% class=inputb><tr><td align=center>欠款记录</td></tr></table>"
response.write"<form name=noteform action=book1.asp method=post>"
response.write"<table width=100% border=1 cellpadding=0 cellspacing=0 bordercolorlight=#cccccc bordercolordark=#ffffff>"
response.write"<tr bgcolor=#eeefff><td align=center>欠款姓名</td><td align=center>欠款事由</td><td align=center>欠款金额</td><td align=cetner>已付</td><td align=cetner>还欠</td><td align=center>欠款日期</td><td align=center>欠款性质</td><td align=center>选择</td></tr>"
Set Rs=Server.Createobject("adodb.recordset")
Sqlstr="select * from book"
Rs.open Sqlstr,conn,1,1
while not rs.eof
response.write"<tr>"
response.write"<td align=center>"&rs("name")&"</td>"
response.write"<td align=center>"&rs("shiyou")&"</td>"
response.write"<td align=center>"&rs("money")&"</td>"
response.write"<td align=center>"&rs("yifu")&"</td>"
response.write"<td align=center>"&rs("money")-rs("yifu")&"</td>"
response.write"<td align=center>"&rs("intime")&"</td>"
response.write"<td align=center>"&rs("fangshi")&"</td>"
response.write"<td align=center><input name=id type=checkbox value="&rs("id")&"></td>"
response.write"</tr>"
rs.movenext
wend
response.write"</table>"
response.write"<span id=xx><center><input name=submit type=button class=inputb value=结算 onclick='jiesuan();'>&nbsp;<input name=submit class=inputb type=submit value=作废 onclick='check();'>"
response.write"</form>"
%>
<script language=javascript>
function jiesuan() {
document.all.xx.innerHTML=("请输入结算金额:<input name=yifu type=text>&nbsp;<input name=submit type=submit value=确定 class=inputb>&nbsp;<input name=go type=button class=inputb value=返回 onclick='javascript:history.go(-0);'>");
}

function check() {
var istrue;
istrue=confirm('您确定要删除是吗,一旦删除不可恢复?');
if(istrue) {
  return true;
 }
else {
 return false;
 }
}
</script>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -