BRR0500.js
2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
//文字コードは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();
}