📄 out.asp
字号:
<%
Set c01 = new CL01
SaleNum = SELVAR("SaleNum","00000000")
Options = trim(Request.Form("Options"))
if Options = "Add" then
Response.Redirect("../../nosystem.asp")
Response.Redirect("../../nosystem.asp")
end if
%>
<table border = '0' cellspacing = '0' cellpadding = '2' borderColorLight='#848284' borderColorDark='#eeeeee' style = 'width:100%;height:auto; border-left: 1px solid buttonhighlight; border-right: 1px solid buttonshadow;color: #FF9900;border-top: 0px solid buttonhighlight; border-bottom: 1px solid buttonshadow;padding: 1px ;'/>
<tr>
<form method='post' action="<%=SELVAR("FN","out.asp")%>" name = 'form' id = 'form' >
<input type = 'hidden' name = 'Options' value = 'Add' />
<!--#include file="../topleft.asp"-->
<td style = 'width:auto;'> </td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'> <a href = "javascript:form.submit();" onclick ="onclick_();return newSupplier();"><img src="../images/save00.gif" width="35" height="33" border="0" alt="保存"></a></div></td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;' onclick = "javascript:document.all.tableid.addnew();onclick_();" /><img src="../images/add00.gif" width="35" height="33" border="0" alt="增加"></div></td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'><a href = "javascript:location.reload();" /><img src="../images/reload00.gif" width="35" height="33" border="0" alt="刷新"></div></td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'><a href = "javascript:SDD('<%=HOME_PATH%>Logout.asp','Logout',400,150,'');" /><img src="../images/exit00.gif" width="35" height="33" border="0" alt="退出"></div></td>
<td style = 'width:10px;'></td>
</tr>
</table>
<div style = 'width:100%;text-align:left; border-left: 1px solid buttonhighlight; border-right: 1px solid buttonshadow;color: #FF9900;border-top: 1px solid buttonhighlight; border-bottom: 1px solid buttonshadow;padding: 1px ;'>
<table style = 'width:auto;' cellspacing = '0' cellpadding = '1' border ='0' class = 'tempA'>
<tr>
<td> </td>
<td> 销售日期 </td>
<td style = 'width:80px;'><input type = 'text' name="thisDate" onfocus="setday(this)" size="9" maxlength="10" readonly value = '<%=SELVAR("thisDate","")%>'/></td>
<td> 发票号码 </td>
<td style = 'width:80px;'><input type = 'text' name = 'plNum' style = 'width:100%'/></td>
<td> 销售号码 </td>
<td style = 'width:90px;'><input type = 'text' name = 'saleNum' style = 'width:100%' value = '<%=SaleNum%>' readonly/></td>
<td style = 'text-align:right;width:60px;'> 客户代码 </td>
<td style = 'width:80px;'><input type = 'text' name = 'supplierCode' style = 'width:70%;border-right-style:none;'/><input type = 'button' value = '…' style = 'border-left-style:none;' onclick = "javascript:Opensupplier();"/></td>
<td style = 'text-align:right;width:60px;'> 名称 </td>
<td style = 'width:120px;'><input type = 'text' name = 'supplierName' style = 'width:100%' class='tempB'/></td><input type = 'hidden' name = 'supplierid' readonly/>
<td style = 'text-align:right;width:60px;'> 联系 </td>
<td style = 'width:150px;'><input type = 'text' name = 'Linkman' style = 'width:100%' class='tempB'/></td>
</tr>
</table>
</div>
<table style = 'height:auto;width:100%; border-left: 1px solid buttonhighlight; border-right: 1px solid buttonshadow;border-top: 1px solid buttonhighlight; border-bottom: 0px solid buttonshadow;' cellspacing = '2' cellpadding = '0'>
<tr>
<td style = 'border-top:#848284 solid 1px;border-left:#848284 solid 1px; border-bottom:#ffffff solid 1px;border-right:#ffffff solid 1px;'>
<div style = 'width:100%;height:420px; left:0px; top:0px;z-index:1; overflow-y: auto;overflow-x:hidden;text-align:left; border-left: 1px solid #000000; border-right: 1px solid buttonface;border-top: 1px solid #000000; border-bottom: 1px solid buttonface;padding: 0px;'>
<table class="tLine" id='tableid' cellpadding='0' cellspacing='0' style = 'width:auto;background-color:buttonface;border-top-style:none;border-left-style:none;' borderColorLight='#424142' borderColorDark='#eeeeee' border = '1'>
<tr>
<td style = 'width:15px;text-align:left;height:20px;'><span style='font-family:webdings;'>8</span></td>
<td> </td>
<td style = 'width:80px;'>商品代码</td>
<td style = 'width:100px;'>商品名称</td>
<td style = 'width:50px;'>保修期</td>
<td style = 'width:180px;'>经销商</td>
<td style = 'width:200px;'>商品描述</td>
<td style = 'width:50px;'>数量</td>
<td style = 'width:50px;'>单价</td>
<td style = 'width:50px;'>税率</td>
<td style = 'width:60px;'>含税价</td>
<td style = 'width:60px;'>小计</td>
</tr>
<tr>
<td style = 'text-align:left;'>×</td>
<td style = 'width:20px;'><input type = 'text' value = '0' name = 'lena' id = 'lena' style = 'border-style:none;text-align:center;width:100%;'/></td>
<td style ='padding:0px;'><input type="text" name="Code" style = 'border-style:none;width:48px;' readonly><input type="button" value = 'OP0' name = 'len' id = 'len' onclick="javascript:onclick_();op(this.value.replace('OP',''))" style = 'width:30px;height:17px;border-top:1px #000 solid;border-left:1px #000 solid;border-right:1px #000 solid;border-bottom:1px #000 solid;'></td>
<td><input type = 'text' name = 'cName' class = 'tempE' readonly/></td>
<td><input type = 'text' name = 'guarantyTime' class = 'tempE' readonly/></td>
<td><input type = 'text' name = 'supplier' class = 'tempE' readonly/></td>
<td><input type = 'text' name = 'cRemark' class = 'tempE' readonly/></td>
<td><input type = 'text' name = 'outHow' class = 'tempE' onkeyup = 'ChangePrice();'/></td>
<td><input type = 'text' name = 'outPrice' class = 'tempE' onkeyup = 'ChangePrice();'/></td>
<td><input type = 'text' name = 'shuilv' class = 'tempE' onkeyup = 'ChangePrice();'/></td>
<td><input type = 'text' name = 'shuilvPrice' class = 'tempE' readonly/></td>
<td><input type = 'text' name = 'Amount' class = 'tempE' readonly/>
<input type = 'hidden' name = 'supplieridout' readonly/><!--商品经销商id-->
<input type = 'hidden' name = 'stockid' readonly/><!--商品id-->
<input type = 'hidden' name = 'inHow' readonly/><!--商品进货总数量-->
</td>
</tr>
</table>
</div></td>
</tr>
</table>
<table style = 'height:auto;width:100%;' cellspacing = '0' cellpadding = '2'>
<tr>
<td>
<div style = 'float:left;width:30%;'><input type = 'button' value = ' 添加行 ' onclick="javascript:document.all.tableid.addnew();onclick_();"/></div>
<div style = 'float:right;width:68%;text-align:center;'>
<%
APid = SelectZD("select id from TABAP where (isaid = " & Seuid_inc & " or isaid = 0 ) and thisDate = '" & SELVAR("thisDate","1980-11-02") & "' ","none")
if not APid = "none" then
%>
<div style = 'border:solid 3px red;padding:3px;width:50%;background-color:#ffffff;' class ='LinkA'><a href = "javascript:WindowOpen('<%=HOME_PATH%>AP/APview.asp?id=<%=APid%>','AP',750,450,'Y');">查看今天的事务安排</a></div>
<%end if%>
</div>
</td>
</tr>
</table>
<table style = 'height:auto;width:100%;' cellspacing = '0' cellpadding = '2' borderColorLight='#848284' borderColorDark='#eeeeee' border = '1'>
<tr>
<td style = 'border-left-style:none;border-right-style:none;'>
<table style = 'width:auto;' cellspacing = '0' cellpadding = '2'>
<tr>
<td style = 'width:48px;'>总金额</td>
<td style = 'width:120px;'><input type = 'text' style = 'width:100%;' name = 'AmountALL'/></td>
<td style = 'width:40px;text-align:center;'>税率</td>
<td style = 'width:50px;'><input type = 'text' style = 'width:100%;' name = 'shuilvALL' onkeyup = 'ChangePrice();'/></td>
<td style = 'width:50px;text-align:center;'>含税金额</td>
<td style = 'width:100px;'><input type = 'text' style = 'width:100%;' name = 'AmountshuilvALL' onkeyup = 'ChangePrice();'/></td>
<td style = 'width:40px;text-align:center;'>折减</td>
<td style = 'width:50px;'><input type = 'text' style = 'width:100%;' name = 'ZJ' onkeyup = 'ChangePrice();'/></td>
<td style = 'width:60px;text-align:center;'>现付金额</td>
<td style = 'width:120px;'><input type = 'text' style = 'width:100%;' name = 'nowpayment' onkeyup = 'ChangePrice();'/></td>
<td style = 'width:50px;text-align:center;'>尚欠款</td>
<td style = 'width:100px;'><input type = 'text' style = 'width:100%;' name = 'nopayment'/></td>
</tr>
</table>
<table style = 'width:auto;' cellspacing = '0' cellpadding = '2'>
<tr>
<td style = 'width:48px;'>操作员</td>
<td style = 'width:128px;'><input type = 'text' style = 'width:80%;border-right-style:none;' name = 'Loginid' value = '<%=Seloginid_inc%>' readonly/><input type = 'button' style = 'border-left-style:none;' value = '…' onclick = "javascript:adminList();"/></td>
<td style = 'width:300px;text-align:center;'><input type = 'text' style = 'width:100%;' name = 'TrueName_Phone' class = 'tempB' value = '<%=SeTrueName_inc%>'/>
<input type = 'hidden' name = 'aid' value = '<%=Seuid_inc%>'/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div>
<script language="JavaScript">
<!--
function che(sel) {
if(sel=='m') {
var che_len = parent.right.document.form.box_.length
if(che_len == undefined && parent.right.document.form.box_.checked == true) {
SDD('mview.asp?stockid='+parent.right.document.form.box_.value,'mview',440,508,'');
}else{
for(i_che = 0 ;i_che < che_len;i_che++) {
if(parent.right.document.form.box_[i_che].checked == true) {
SDD('mview.asp?stockid='+parent.right.document.form.box_[i_che].value,'mview',430,508,'');
}else{
}
}
}
}
if(sel=='reload') { parent.right.location.reload();}
if(sel=='del') {
var che_len = parent.right.document.form.box_.length
var sel_len = parent.right.document.form.selAnnounce.length
var vinfo = '';
var vinfo_ = '';
var vinfobox = '';
var vinfobox_ = '';
var vinfosel = '';
var vinfosel_ = '';
var selAnnounce_index = parent.right.document.form.selAnnounce.checked;
var box_index = parent.right.document.form.box_.checked
if(selAnnounce_index == true || box_index == true) {
if(selAnnounce_index == true) {
vinfo = parent.right.document.form.selAnnounce.value;
}else{
vinfo = parent.right.document.form.box_.value ;
}
parent.right.document.form.Execute.value = vinfo ;
return confirm('即将删除记录 '+ vinfo + ' !是否继续?');return true;
}else{
for(i_sel = 0; i_sel < sel_len ; i_sel++) {
var selAnnounceCheck = parent.right.document.form.selAnnounce[i_sel].checked
var selAnnounceValue = parent.right.document.form.selAnnounce[i_sel].value + "," ;
var box_Check = parent.right.document.form.box_[i_sel].checked ;
var box_Value = parent.right.document.form.box_[i_sel].value ;
if(selAnnounceCheck == true) {
vinfosel = selAnnounceValue ;
}else{
vinfosel = '';
}
if(box_Check == true) {
vinfobox = box_Value ;
}else{
vinfobox = '';
}
vinfosel_+=vinfosel
vinfobox_+=vinfobox
}
if (!vinfosel_ == '') {
vinfo_ = vinfosel_
}else{
vinfo_ = vinfobox_
}
if(vinfo_!='') {
var vinfo_Split = vinfo_.split(",")
vinfo_SplitLen = vinfo_Split.length
var str_ = '';
for(i = 0 ; i < vinfo_SplitLen-1;i++) {
if(i!==vinfo_SplitLen-2) {
str = vinfo_Split[i] + "," ;
}else{
str = vinfo_Split[i]
}
str_+=str
}
if (str_ == '')str_ = vinfo_ ;
parent.right.document.form.Execute.value = str_ ;
return confirm('即将删除记录:\n' + str_ + '\n是否继续?');
return true;
}else{
return false;
}
}
}
}
//-->
</script>
<%ConnClose():Set c01 = Nothing%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -