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

📄 yyw_comindex_change备份.htm

📁 自动化网络办公系统全部源码officeanywheresystem
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<%'--------------------------------------------------------------------------
'      Project: COLLAMBER网络办公系统
'      Module : 总务管理
'      By: imafar
'      Discription: 资产管理列表演示-
'--------------------------------------------------------------------------%>
<%response.expiresabsolute=#jan 01,1980 00:00:00#
if session("userid")="" then
	response.write "<SCRIPT LANGUAGE='JavaScript'>"&chr(13)
			response.write "<!--"&chr(13)
			response.write "parent.location.href=""/error/error.htm"""&chr(13)&chr(13)
			response.write "//-->"&chr(13)
			response.write "</SCRIPT>"&chr(13)
end if
%>
<!--#include virtual="/_inc/GeneralADO.asp"-->

<html>
<head>
<title>Untitled Document</title>
<link rel="stylesheet" href="<%=session("css")%>operation.css" type="text/css">
<SCRIPT LANGUAGE="JavaScript" src="/js/popwin.js">
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="/js/Validate.js">
</SCRIPT>
<style>
<!--
td {font-size:12.8px}
select {font-size:12.8px}
input {font-size:12.8px}
a {text-decoration:none; color:#000000}
a:hover {color:#9ACF83}
.leftTable {color:#666666}
.unnamed1 {  font-size: 9pt; color: #000000; text-decoration: none}
.unnamed2 {  font-size: 9pt; color: #666666}
.textstyle {border-left-style: solid; border-left-color: #FFFFFF; border-right-style: solid; border-right-color: #FFFFFF; border-top-style: solid; border-top-color: #FFFFFF}
-->
</style>

<SCRIPT LANGUAGE="JavaScript">
<!--
function popwin(obj,iParam){
if (obj.value==-1)
{
	Win1=window.open("yyw_addnew.asp?compname="+document.clintmessage.compname.value,"","fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0");
			var windowX = window.screen.width ;
			var windowY = window.screen.height;
			Win1.resizeTo(425,383);
			Win1.moveTo((windowX-720)/2,(windowY-420)/2);
			Win1.focus();
}
else
{
if(iParam==1)
{
location.href="yyw_comindex_change.asp?id="+obj.value
}
}
}
		
//-->
</SCRIPT>


<SCRIPT LANGUAGE="JavaScript">
<!--
function popwin1(obj,iParam){
if (obj.value==-1)
{
	Win1=window.open("add_contact.asp?compname="+document.clintmessage.compname.value,"","fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0");
			var windowX = window.screen.width ;
			var windowY = window.screen.height;
			Win1.resizeTo(425,383);
			Win1.moveTo((windowX-720)/2,(windowY-420)/2);
			Win1.focus();
}
else
{
if(iParam==1)
{
location.href="yyw_comindex_change.asp?id1="+obj.value
}
}
}
		
//-->
</SCRIPT>




<SCRIPT LANGUAGE="JavaScript">
<!--
function popwin2(obj,iParam){
if (obj.value==-1)
{
	Win1=window.open("yyw_addnewbar.asp","","fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0");
			var windowX = window.screen.width ;
			var windowY = window.screen.height;
			Win1.resizeTo(425,383);
			Win1.moveTo((windowX-720)/2,(windowY-420)/2);
			Win1.focus();
}
else
{
if(iParam==1)
{
location.href="yyw_comindex_change.asp?id="+document.clintmessage.compname.value+"&id1="+document.clintmessage.username.value+"&id2="+obj.value
}
}
}
		
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
function popwin3(obj,iParam){
if (obj.value==-1)
{
	Win1=window.open("yyw_danwei.asp","","fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0");
			var windowX = window.screen.width ;
			var windowY = window.screen.height;
			Win1.resizeTo(425,383);
			Win1.moveTo((windowX-720)/2,(windowY-420)/2);
			Win1.focus();
}
else
{
if(iParam==1)
{
location.href="yyw_comindex_change.asp?id3="+obj.value
}
}
}
		
//-->
</SCRIPT>


<SCRIPT LANGUAGE="JavaScript">
<!--
function fnSubmitBlank()
{
if(document.clintmessage.compname.value=="公司"|| document.clintmessage.compname.value=="-1")
	{
		alert("请选择公司的名称!");
		return false;
	}
	if(document.clintmessage.username.value=="联系人"|| document.clintmessage.username.value=="-1")
	{
		alert("请选择联系人的姓名!");
		return false;
	}
	if(document.clintmessage.product.value=="产品"|| document.clintmessage.product.value=="-1")
	{
		alert("请选择产品的名称!");
		return false;
	}
	if(document.clintmessage.sl.value=="")
	{
		alert("数量不能为空!");
		return false;
	}
	if(document.clintmessage.price.value=="")
	{
		alert("价格不能为空!");
		return false;
	}
	

	return true;
}


function fnAddProduct(iParam,sParam)
{
	//alert(iParam+sParam);
	document.clintmessage.compname.options.length=document.clintmessage.compname.options.length+1;
	document.clintmessage.compname.options[document.clintmessage.compname.options.length-2]=new Option(sParam,iParam);
	document.clintmessage.compname.options[document.clintmessage.compname.options.length-2].selected=true;
	document.clintmessage.compname.options[document.clintmessage.compname.options.length-1]=new Option('-新建公司名称-',-1);
}


function fnAddProduct1(iParam,sParam)
{
	//alert(iParam+sParam);
	document.clintmessage.product.options.length=document.clintmessage.product.options.length+1;
	document.clintmessage.product.options[document.clintmessage.product.options.length-2]=new Option(sParam,iParam);
	document.clintmessage.product.options[document.clintmessage.product.options.length-2].selected=true;
	document.clintmessage.product.options[document.clintmessage.product.options.length-1]=new Option('-新建产品',-1);
}


function fnAddPrice(iParam)
{
	//alert(iParam+sParam);
	document.clintmessage.price.value=iParam;
	
}



function fnAddcomp(t2,t3,t4,t5,t6,t7,t8,t9,t10,t11)
{

	document.clintmessage.T2.value=t2;
	document.clintmessage.T3.value=t3;
	document.clintmessage.T4.value=t4;
	document.clintmessage.T5.value=t5;
	document.clintmessage.T6.value=t6;
	document.clintmessage.T7.value=t7;
	document.clintmessage.T8.value=t8;
	document.clintmessage.T9.value=t9;
	document.clintmessage.T10.value=t10;
	document.clintmessage.T11.value=t11;
	
}
function fnAddDanwei(iParam)
{
	//alert(iParam);
	document.clintmessage.danwei.value=iParam;
	//document.clintmessage.danwei.options[document.clintmessage.danwei.options.length-2]=new Option(sParam,iParam);
	//document.clintmessage.danwei.options[document.clintmessage.danwei.options.length-2].selected=true;
	//document.clintmessage.danwei.options[document.clintmessage.danwei.options.length-1]=new Option('-新建单位',-1);
}


//-->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript">
<!--
function zongji()
	
{
	t1=document.clintmessage.sl.value;
	t2=document.clintmessage.price.value;
	//alert(t1);
	document.clintmessage.textzongji.value=t1*t2;			//加四舍五入的函数小数点后二位
}


//-->
</SCRIPT>



<SCRIPT LANGUAGE="JavaScript">
<!--
function fncompany()
	
{		//Win1.close();
		alert("公司名称已经存在,请重试!");
	
}

//-->
</SCRIPT>

⌨️ 快捷键说明

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