sonhuo.js
资源名称:minierp.rar [点击查看]
上传用户:yantgcom
上传日期:2013-07-19
资源大小:478k
文件大小:2k
源码类别:
MySQL数据库
开发平台:
PHP
- function GetGYlist(currObj) { //供应商列表
- //var trObj=currObj.parentNode.parentNode
- //var rowId=parseInt(trObj.id.substr(trObj.id.indexOf("w")+1,trObj.id.length))
- window.open("../accounts/getlist.php?jspath=songhuo","accountsWin","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("../kuchen/getindex.php?curr_row="+rowid+"&jspath=songhuo&jsname=sonhuo.js","kuchenWin","width=680,height=550,resizable=1,scrollbars=1,top=100,left=200");
- }
- function PutProdSNlist(){
- ku_id =parent.frames['topFrame'].document.EditView.elements["k01"].value ;
- pro_id =parent.frames['topFrame'].document.EditView.elements["k02"].value ;
- pro_name=parent.frames['topFrame'].document.EditView.elements["k03"].value ;
- pro_gui =parent.frames['topFrame'].document.EditView.elements["k04"].value ;
- pro_dw =parent.frames['topFrame'].document.EditView.elements["k05"].value ;
- pro_ph =parent.frames['topFrame'].document.EditView.elements["k06"].value ;
- pro_sn =parent.frames['topFrame'].document.EditView.elements["k07"].value ;
- rowid =parent.frames['topFrame'].document.EditView.elements["k08"].value ;
- //alert(rowid);
- //alert(pro_sn);
- //alert(parent.opener.document.title);
- parent.opener.document.EditView.elements["x_SHD01"+rowid].value = pro_id;
- parent.opener.document.EditView.elements["pshd02"+rowid].value = pro_name+pro_gui;
- parent.opener.document.EditView.elements["pshd06"+rowid].value = pro_dw;
- //parent.opener.document.EditView.elements["x_SHD07"+rowid].value = pro_ph;
- //parent.opener.document.EditView.elements["x_SHD08"+rowid].value = pro_sn;
- parent.close();
- }