日期:2014-05-16 浏览次数:20468 次
<script language="javascript" type="text/javascript">
//选择物料
function opendata1(strUrl) {
var aa = window.showModalDialog(strUrl, window, 'dialogWidth:1030px;dialogHeight:500px;center:yes;status:no;dialogWidth:1030px;dialogHeight:500px');
if (aa != null)
{
var cc = new Array();
cc = aa.split('|');
var theform = document.forms[0];
theform.elements["tb_matno"].value = cc[0];
theform.elements["tb_mname"].value = cc[1];
theform.elements["tb_szno"].value = cc[2];
theform.elements["tb_jx"].value = cc[3];
theform.elements["tb_spname"].value = cc[4];
theform.elements["tb_tongym"].value = cc[5];
theform.elements["tb_munit"].value = cc[6];
theform.elements["tb_munit1"].value = cc[7];
theform.elements["tb_produce"].value = cc[8];
theform.elements["tb_cxtj"].value = cc[9];
theform.elements["tb_zl"].value = cc[10];
theform.elements["tb_orgn_code"].value = cc[11];
}
return false;
}
</script>