js.jsp
来自「用java编写的网络架构程序」· JSP 代码 · 共 34 行
JSP
34 行
<%@ page contentType="text/html; charset=GBK" %>
<script language='javascript'>
//查询按钮JS
function searchJs() {
document.forms[0].TYPE.value = '1';
searchJsValue();
}
//到按钮JS
function goJs() {
if(forwardCheck( "OPERATETYPE","Q","查询")==false)return false;
document.forms[0].TYPE.value = '2';
pageSubmit();
}
//详情链接1
function detailJs1( index ) {
var val = document.forms[0].elements[ "FCWBZ01__BILL_NO_HIDDEN" + index ].value;
location.href = "PCWBZ02?WINDOW=open&PCWBZ02__BILL_NO_S=" + val + "&TYPE=1&PAGE=1";
}
//抛帐确认
function detailJs2( index ) {
var val = document.forms[0].elements[ "FCWBZ01__BILL_NO_HIDDEN" + index ].value;
var vstatus = document.forms[0].elements[ "FCWBZ01__BILL_STATUS_H" + index ].value;
//alert(vstatus);
if(vstatus=='2'){
location.href = "PCWBZ05?WINDOW=open&PCWBZ05__BILL_NO_S=" + val + "&TYPE=1&PAGE=1";
}
}
</script>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?