jinhuo.js

来自「开源的 库存管理系统 www.minierp.cn php+ mysql」· JavaScript 代码 · 共 25 行

JS
25
字号
function GetGYlist(currObj) {   //供应商列表
	//alert(currObj);
	window.open("../gongyin/getlist.php?jspath=jinhuo&jsname=jinhuo.js","gongyinwin","width=400,height=400,resizable=1,scrollbars=1,top=150,left=400");
}

function productPickList(currObj) {
	var trObj=currObj.parentNode.parentNode
	var rowid=parseInt(trObj.id.substr(trObj.id.indexOf("w")+1,trObj.id.length))
	window.open("../products/getindex.php?curr_row="+rowid+"&jspath=jinhuo&jsname=jinhuo.js","productWin","width=650,height=500,resizable=1,scrollbars=1,top=150,left=200");
}

function productidname(pro_id,pro_name,pro_dw,rowid) {
	//alert(parent.opener.document.title);
	//alert(rowid);
    parent.opener.document.EditView.elements["hpshd01"+rowid].value = pro_id;
	parent.opener.document.EditView.elements["pshd02"+rowid].value = pro_name;
	parent.opener.document.EditView.elements["pshd06"+rowid].value = pro_dw;
	parent.close();
}
function set_return_inventory(cli_id,cli_name,cli_addr) {
    window.opener.document.EditView.elements["shdw"].value = cli_id;
    window.opener.document.EditView.elements["shdwname"].value = cli_name;
    window.opener.document.EditView.elements["pshm09"].value = cli_addr;
	window.close();
}

⌨️ 快捷键说明

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