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

📄 search.php

📁 泛微协同办公系统标准版E-office V5.5的源代码内含泛微办公系统V5.5自动注册文件。
💻 PHP
字号:
<?php

include_once( "inc/auth.php" );
echo "\r\n<html>\r\n<head>\r\n<title>入库单查询</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n";
echo "<S";
echo "CRIPT language=javascript src=\"/inc/calendar/calendar.js\"></SCRIPT>\r\n";
echo "<s";
echo "cript>\r\nfunction LoadWindow()\r\n{\r\n\tURL=\"../appellation_select/index.php\";\r\n\tloc_x=document.body.scrollLeft+event.clientX-event.offsetX+250;\r\n\tloc_y=document.body.scrollTop+event.clientY-event.offsetY-160;\r\n\twindow.showModalDialog(URL,self,\"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:380px;dialogHeight:380px;dialogTop:\"+loc_y+\"px;dialogLeft:\"+loc_x+\"px\");\r\n}\r\n\r\nfunction LoadWindow2";
echo "()\r\n{\r\n\tURL=\"../bill_select/index.php\";\r\n\tloc_x=document.body.scrollLeft+event.clientX-event.offsetX+250;\r\n\tloc_y=document.body.scrollTop+event.clientY-event.offsetY-160;\r\n\twindow.showModalDialog(URL,self,\"edge:raised;scroll:1;status:0;help:0;resizable:1;dialogWidth:320px;dialogHeight:400px;dialogTop:\"+loc_y+\"px;dialogLeft:\"+loc_x+\"px\");\r\n}\r\n\r\nfunction LoadWindow3()\r\n{\r\n\tURL=\"/general/sale/product";
echo "/manage/provider_select\";\r\n\tloc_x=document.body.scrollLeft+event.clientX-event.offsetX+250;\r\n\tloc_y=document.body.scrollTop+event.clientY-event.offsetY-160;\r\n\twindow.showModalDialog(URL,self,\"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:320px;dialogHeight:400px;dialogTop:\"+loc_y+\"px;dialogLeft:\"+loc_x+\"px\");\r\n}\r\n\r\nfunction td_calendar(fieldname)\r\n{\r\n\tmyleft=document.body.scrollLeft";
echo "+event.clientX-event.offsetX-80;\r\n\tmytop=document.body.scrollTop+event.clientY-event.offsetY+140;\r\n\twindow.showModalDialog(\"/inc/calendar.php?FIELDNAME=\"+fieldname,self,\"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:280px;dialogHeight:205px;dialogTop:\"+mytop+\"px;dialogLeft:\"+myleft+\"px\");\r\n}\r\n\r\nfunction td_calendar2(fieldname)\r\n{\r\n\tmyleft=document.body.scrollLeft+event.clientX-event";
echo ".offsetX-80;\r\n\tmytop=document.body.scrollTop+event.clientY-event.offsetY+140;\r\n\twindow.showModalDialog(\"/inc/calendar.php?FIELDNAME=\"+fieldname,self,\"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:280px;dialogHeight:205px;dialogTop:\"+mytop+\"px;dialogLeft:\"+myleft+\"px\");\r\n}\r\n\r\nfunction price_rtx(price_temp){\r\n\treturn price_temp.match(/^[\\d.]+\$/);\r\n}\r\n\r\nfunction checkform(){\r\n\tvar pric";
echo "e\t= document.getElementById(\"price\").value;\r\n\tvar price2\t= document.getElementById(\"price2\").value;\r\n\r\n\tif(price == \"\" && price2 == \"\"){\r\n\t\tdocument.form1.submit();\r\n\t}else if(price_rtx(price) != null || price_rtx(price2) != null){\r\n\t\t\tdocument.form1.submit();\r\n\t\t}else{\r\n\t\t\talert(\"单价填写错误!\");\r\n\t\t\treturn false;\r\n\t\t}\r\n}\r\n</script>\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n<table border=\"";
echo "0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\">\r\n\t<tr class=\"tablehead1\">\r\n\t\t<td><img src=\"/images/manage/news.gif\" align=\"absmiddle\">入库单查询</td>\r\n\t</tr>\r\n\t<tr class=\"tablehead2\">\r\n\t\t<td><BUTTON class=btn onClick=\"return checkform()\"><table><tr valign=top ><td><img src=\"/images/littlegif/b_u.gif\" align=\"center\"></td> <td>";
echo "<s";
echo "pan id=\"showallid\">查询</span></td></tr></table></BUTTON> <BUTTON class=btn onClick=\"javscript:history.back();\"><table><tr valign=top ><td><img src=\"/images/littlegif/b_u.gif\" align=\"center\"></td> <td>";
echo "<s";
echo "pan id=\"showallid\">返回</span></td></tr></table></BUTTON></td>\r\n\t</tr>\r\n</table>\r\n<br>\r\n<form name=\"form\" id=\"form1\" action=\"search_result.php\" method=\"POST\" onsubmit=\"return checkform()\">\r\n<input type=\"hidden\" name=\"storeroom_stockpile\" id=\"storeroom_stockpile\">\r\n<table border=\"0\" width=\"100%\" class=\"small\" cellspacing=\"1\" cellpadding=\"5\">\r\n\t<tr>\r\n\t\t<td class=\"TableLine2\" width=\"15%\">办公用品名称:</td>\r\n\t\t<td c";
echo "lass=\"TableLine1\">\r\n\t\t<input type=\"text\" name=\"appellation\" id=\"appellation\" size=\"16\" class=\"BigInput\" value=\"";
echo $_REQUEST['appellation'];
echo "\">\r\n\t\t<input type=\"hidden\" name=\"appellation_id\" id=\"appellation_id\" value=\"";
echo $_REQUEST['appellation_id'];
echo "\">&nbsp;\r\n\t\t<input type=\"button\" value=\"选 择\" class=\"SmallButton\" onClick=\"LoadWindow()\" title=\"选择名称\" name=\"button\" id=\"button\"></td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class=\"TableLine2\">单价:</td>\r\n\t\t<td class=\"TableLine1\"><input type=\"text\" name=\"price\" id=\"price\" size=\"8\" class=\"BigInput\"> 至 <input type=\"text\" name=\"price2\" id=\"price2\" size=\"8\" class=\"BigInput\"></td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class=\"TableLine2\">入库";
echo "时间:</td>\r\n\t\t<td class=\"TableLine1\">\r\n\t\t<input class='Wdate' type=\"text\" name=\"join_date_start\" id=\"join_date_start\" value=\"\" size=\"12\" maxlength=\"10\" onclick=\"popUpCalendar(document.form1,document.form1.join_date_start,'yyyy-mm-dd')\"/>\r\n\t\t至 \r\n\t\t<input class='Wdate' type=\"text\" name=\"join_date_end\" id=\"join_date_end\" value=\"\" size=\"12\" maxlength=\"10\" onclick=\"popUpCalendar(document.form1,document.f";
echo "orm1.join_date_end,'yyyy-mm-dd')\"/>\r\n\t\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class=\"TableLine2\">入库单据号:</td>\r\n\t\t<td class=\"TableLine1\"><input type=\"text\" name=\"bill\" id=\"bill\" size=\"16\" class=\"BigInput\" value=\"\"><input type=\"hidden\" name=\"appellation_id\" id=\"appellation_id\" value=\"";
echo $_REQUEST['appellation_id'];
echo "\"></td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class=\"TableLine2\" width=\"15%\">供应商:</td>\r\n\t\t<td class=\"TableLine1\">\r\n\t\t <input type=\"text\" name=\"provider_name\" id=\"PROVIDER_NAME\" class=\"BigStatic\" value=\"";
echo $_REQUEST['PROVIDER_NAME'];
echo "\" size=\"33\" maxlength=\"100\" readonly>&nbsp;\r\n\t\t<input type=\"hidden\" name=\"PROVIDER_ID\" id=\"PROVIDER_ID\" value=\"";
echo $_REQUEST['PROVIDER_ID'];
echo "\">\r\n       \t<input type=\"button\" value=\"选 择\" class=\"SmallButton\" onClick=\"LoadWindow3()\" title=\"选择供应商\" name=\"button\"></td>\r\n\t</tr>\r\n</table>\r\n<form>\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

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