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

📄 j_salebillsubmenu.asp

📁 一个基于ASP+access技术的b/s模式的CRM(客户关系管理)系统
💻 ASP
字号:
<%@ LANGUAGE = VBScript.Encode %><%#@~^RgAAAA==GaYrKx,+6aVb^kD@#@&P,IndaWxknR~E06n.'6l^/n@#@&~,In/aGxk+ 3Xwk.nk'T@#@&yRUAAA==^#~@%>
<!--#INCLUDE file="..\script\systemdefine.css"-->
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
<!--
td {  font-family: "宋体"; font-size: 9pt}
-->
</style>
<link rel="stylesheet" href="../script/System.css" type="text/css">
<%#@~^KwAAAA==@#@&NrsPk;VDL@#@&/$VOL{Dn5!+/DcJk;VD%E#@#@&BAwAAA==^#~@%>
<script language='javascript' src="../script/Clientcomm.js"></script>
<script language='javascript'>
function SaleVchSearch()//智能查询
{
	var sss;
	sss="../common/SearchMore.asp";
	/*
	if (SaleVchSearch.arguments.length==0)
	{
		if(parent.VCH_HEAD.document.all.stock_edit.value=='')
		{
			alert('请先选择仓库!');
			return;
		}

		if (search_select.selectedIndex==0)
			sss="../common/SearchMore.asp?dbname=ptype&pos="+search_edit.value+"&mode=fullname&type="+<%=#@~^DAAAAA==jzS3|.;CKInApwMAAA==^#~@%>+"&ktypeid="+parent.VCH_HEAD.document.all.stock_edit.value+"&PriceType="+parent.VCH_HEAD.document.all.pricetype_select.value;
		else
			sss="../common/SearchMore.asp?dbname=ptype&pos="+search_edit.value+"&mode=usercode&type="+<%=#@~^DAAAAA==jzS3|.;CKInApwMAAA==^#~@%>+"&ktypeid="+parent.VCH_HEAD.document.all.stock_edit.value+"&PriceType="+parent.VCH_HEAD.document.all.pricetype_select.value;
    }
    else
    {
      //第一个参数代表的是usercode,fullname,第二个参数代表条件值 由Clientable 在局部更新时调用
		if (SaleVchSearch.arguments[0]==1)
  			sss="../common/SearchMore.asp?dbname=ptype&pos="+SaleVchSearch.arguments[1]+"&mode=usercode&type="+<%=#@~^DAAAAA==jzS3|.;CKInApwMAAA==^#~@%>+"&ktypeid="+parent.VCH_HEAD.document.all.stock_edit.value+"&PriceType="+parent.VCH_HEAD.document.all.pricetype_select.value;
		else if (SaleVchSearch.arguments[0]==2)   
			sss="../common/SearchMore.asp?dbname=ptype&pos="+SaleVchSearch.arguments[1]+"&mode=fullname&type="+<%=#@~^DAAAAA==jzS3|.;CKInApwMAAA==^#~@%>+"&ktypeid="+parent.VCH_HEAD.document.all.stock_edit.value+"&PriceType="+parent.VCH_HEAD.document.all.pricetype_select.value;
    }
*/
    		
	window.open(sss,"SELECT_MORE_BASE","toolbar=no,menubar=no,resizable=yes,top=0,left=0,width=640pt,height=460pt")
}

function Vaildate(flag)//检查数据是否有效
{


 if(!DateCheckString(parent.VCH_HEAD.document.all.t1.value)) 
 {
  alert('无效的日期!(有效的单据日期如:2001-01-01)');
  return;
 }

 
 parent.VCH_HEAD.document.all.t2.value=KillSpace(parent.VCH_HEAD.document.all.t2.value);
 if(parent.VCH_HEAD.document.all.t2.value=='')
 {
  alert('客户编号不能为空!');
  return;
 }
 
 parent.VCH_HEAD.document.all.t10.value=KillSpace(parent.VCH_HEAD.document.all.t10.value);
 if(parent.VCH_HEAD.document.all.t10.value=='')
 {
  alert('业务员不能为空!');
  return;
 }

 parent.VCH_HEAD.document.all.t13.value=KillSpace(parent.VCH_HEAD.document.all.t13.value);
 if(parent.VCH_HEAD.document.all.t13.value!='')
 {
  if(!DateCheckString(parent.VCH_HEAD.document.all.t13.value)) 
 {
  alert('无效的日期!(有效的单据日期如:2001-1-1)');
  return;
 }
 }

 parent.VCH_HEAD.document.all.t19.value=KillSpace(parent.VCH_HEAD.document.all.t19.value);
 if(parent.VCH_HEAD.document.all.t19.value!='')
 {
  if(!DateCheckString(parent.VCH_HEAD.document.all.t19.value)) 
 {
  alert('无效的日期!(有效的单据日期如:2001-1-1)');
  return;
 }
 }
 
//发送数据
PostData(parent.parent.DataSendFrame.document,<%=#@~^DAAAAA==jzS3|.;CKInApwMAAA==^#~@%>,parent.VCH_HEAD.GetHeadData(flag),parent.VCH_GRID.GetGridData(),'parent.WorkFrame.VCH_MENU.CallBack');
alert("")
}
function fanhui(){
  parent.location.href="sale.asp?sqltj=<%=#@~^BQAAAA==d$VONLgIAAA==^#~@%>";
}
function LoadBill(type)
{
  window.open("../common/js_selectbill.asp?GridType="+parent.VCH_GRID.GridType+"&type="+type,"LoadBill","toolbar=no,menubar=no,resizable=yes,top=0,left=0,width=640pt,height=500pt")
}
</script>
</HEAD>
<body topmargin="0" leftmargin="0" background="../image/bk2.gif">
<table width="100%" border="0">
  <tr>
    <TD width="50%"> 
      <div align="right"> 
        <input  class="flatbutton" name=button12 type=button value="选商品" style="cursor:hand;padding-top:3px;padding-left:2px;width:53px;height:21px;border:0;background-image:url(../image/3.gif)" onClick="SaleVchSearch()">
      </div>
    </TD>
    <TD width="10%" align="right"> 
      <input class="flatbutton"  style="cursor:hand;padding-top:3px;padding-left:2px;width:53px;height:21px;border:0;background-image:url(../image/3.gif)" name=button15 type=button value="保 存" onclick="Vaildate(0)">
    </td>
    <td width="10%" align="right">
      <input class="flatbutton"  style="cursor:hand;padding-top:3px;padding-left:2px;width:53px;height:21px;border:0;background-image:url(../image/3.gif)" name=button15 type=button value="返 回" onclick="fanhui()">
    </TD>
  </tr>
</table>
</body>
</HTML>

⌨️ 快捷键说明

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