jinhuo.js
资源名称:minierp.rar [点击查看]
上传用户:yantgcom
上传日期:2013-07-19
资源大小:478k
文件大小:1k
源码类别:
MySQL数据库
开发平台:
PHP
- 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();
- }