BRR0500.js 2.18 KB
//文字コードはEUCで保存すること
function keikaku()
{
		if(document.frm.kr_seq.value ==""){
				alert("選択されていません");
			return false;
		}
			
			document.frm.kr_seq.value=document.frm.kr_seq.value;
			document.frm.action = "BRR0300.php";
//			document.frm.action = "BRR0400.php";
			document.frm.method="POST";
			document.frm.submit();
}

function btnShow(prm){

	if(prm == 1){
		document.getElementById("hensai1").style.display = "none";
		document.getElementById("hensai2").style.display = "none";
	}else{
		document.getElementById("hensai1").style.display = "block";
		document.getElementById("hensai2").style.display = "block";
	}

}

function del()
{
		if(document.frm.kr_seq.value ==""){
				alert("選択されていません");
			return false;
		}
		if (confirm("選択した借入を削除します。よろしいですか?") == true)
		{
			
			document.frm.kr_seq.value=document.frm.kr_seq.value;
			document.frm.action = "BRR0501.php";
			document.frm.method="POST";
			document.frm.submit();
		}
}
function shusei(){

		document.frm.action = "BRR0200.php";
		document.frm.method="POST";
		document.frm.submit();
}
function shinki(){
		document.frm.action = "BRR0200.php";
		//document.frm.kr_seq.value = "";
		document.frm.mode2.value = "New";
		document.frm.method="POST";
		document.frm.submit();
}


function chg_lst(flg){
	document.frm.chgmode.value = flg
	document.frm.action = "BRR0500.php";
	document.frm.method="POST";
	document.frm.submit();
}
function cpr(flg){
	//alert(flg);
	document.frm.chgmode.value = flg
	document.frm.action = "BRR0500.php";
	document.frm.method="POST";
	document.frm.submit();
}

function mback(flg){
	//alert(flg);
	document.frm.mon_back.value = flg
	document.frm.action = "BRR0500.php";
	document.frm.method="POST";
	document.frm.submit();
}

function mnext(flg){
	//alert(flg);
	document.frm.mon_next.value = flg
	document.frm.action = "BRR0500.php";
	document.frm.method="POST";
	document.frm.submit();
}
function mret(){
	//alert(flg);
	document.frm.yyyy.value = "";
	document.frm.mon.value = "";
	document.frm.action = "BRR0500.php";
	document.frm.method="POST";
	document.frm.submit();
}


function move(fname){
	document.frm.action = fname;
	document.frm.method="POST";
	document.frm.submit();
}