Browse Source

수요예측 소스점 입력 처리

isna 2 years ago
parent
commit
9d55e1f35e
1 changed files with 8 additions and 8 deletions
  1. 8 8
      src/main/webapp/app/stockmng/STOCKMNG05010.html

+ 8 - 8
src/main/webapp/app/stockmng/STOCKMNG05010.html

@@ -36,7 +36,7 @@
36 36
 				                            <label class="col-xs-2 itp_lb">가중치 개수</label>
37 37
 			                                <div class="col-xs-10 itp_ip">
38 38
 												<div class="col-xs-4 itp_in" style="width:38%;">
39
-													<input type="text" name="termCnt" id="ITP_FORM_STOCKMNG05010_DETAIL_TERM_CNT" class="form-control itp_input"onKeyup="this.value=this.value.replace(/[^3-6]/g,'');" maxlength="1">
39
+													<input type="text" name="termCnt" id="ITP_FORM_STOCKMNG05010_DETAIL_TERM_CNT" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^3-6]/g,'');" maxlength="1">
40 40
 												</div>
41 41
 												<label style="padding-top:3px;">(가중치 입력값과 상관없이 수요예측에 사용할 가중치의 개수 설정)</label>
42 42
 											</div>
@@ -47,13 +47,13 @@
47 47
 				                            <label class="col-xs-2 itp_lb">가중치 1(w1)</label>
48 48
 			                                <div class="col-xs-4 itp_ip">
49 49
 												<div class="col-xs-12 itp_in">
50
-													<input type="text" name="weightVal1" id="ITP_FORM_STOCKMNG05010_DETAIL_WEIGHT_VAL1" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');">
50
+													<input type="text" name="weightVal1" id="ITP_FORM_STOCKMNG05010_DETAIL_WEIGHT_VAL1" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9.]/g,'');">
51 51
 												</div>
52 52
 											</div>
53 53
 											<label class="col-xs-2 itp_lb">가중치 2(w2)</label>
54 54
 			                                <div class="col-xs-4 itp_ip">
55 55
 												<div class="col-xs-12 itp_in">
56
-													<input type="text" name="weightVal2" id="ITP_FORM_STOCKMNG05010_DETAIL_WEIGHT_VAL2" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');">
56
+													<input type="text" name="weightVal2" id="ITP_FORM_STOCKMNG05010_DETAIL_WEIGHT_VAL2" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9.]/g,'');">
57 57
 												</div>
58 58
 											</div>
59 59
 				                        </div>
@@ -63,13 +63,13 @@
63 63
 				                            <label class="col-xs-2 itp_lb">가중치 3(w3)</label>
64 64
 			                                <div class="col-xs-4 itp_ip">
65 65
 												<div class="col-xs-12 itp_in">
66
-													<input type="text" name="weightVal3" id="ITP_FORM_STOCKMNG05010_DETAIL_WEIGHT_VAL3" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');">
66
+													<input type="text" name="weightVal3" id="ITP_FORM_STOCKMNG05010_DETAIL_WEIGHT_VAL3" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9.]/g,'');">
67 67
 												</div>
68 68
 											</div>
69 69
 											<label class="col-xs-2 itp_lb">가중치 4(w4)</label>
70 70
 			                                <div class="col-xs-4 itp_ip">
71 71
 												<div class="col-xs-12 itp_in">
72
-													<input type="text" name="weightVal4" id="ITP_FORM_STOCKMNG05010_DETAIL_WEIGHT_VAL4" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');">
72
+													<input type="text" name="weightVal4" id="ITP_FORM_STOCKMNG05010_DETAIL_WEIGHT_VAL4" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9.]/g,'');">
73 73
 												</div>
74 74
 											</div>
75 75
 				                        </div>
@@ -79,13 +79,13 @@
79 79
 				                            <label class="col-xs-2 itp_lb">가중치5(w5)</label>
80 80
 			                                <div class="col-xs-4 itp_ip">
81 81
 												<div class="col-xs-12 itp_in">
82
-													<input type="text" name="weightVal5" id="ITP_FORM_STOCKMNG05010_DETAIL_WEIGHT_VAL5" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');">
82
+													<input type="text" name="weightVal5" id="ITP_FORM_STOCKMNG05010_DETAIL_WEIGHT_VAL5" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9.]/g,'');">
83 83
 												</div>
84 84
 											</div>
85 85
 											<label class="col-xs-2 itp_lb">가중치 6(w6)</label>
86 86
 			                                <div class="col-xs-4 itp_ip">
87 87
 												<div class="col-xs-12 itp_in">
88
-													<input type="text" name="weightVal6" id="ITP_FORM_STOCKMNG05010_DETAIL_WEIGHT_VAL6" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');">
88
+													<input type="text" name="weightVal6" id="ITP_FORM_STOCKMNG05010_DETAIL_WEIGHT_VAL6" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9.]/g,'');">
89 89
 												</div>
90 90
 											</div>
91 91
 				                        </div>
@@ -102,7 +102,7 @@
102 102
 				                            <label class="col-xs-2 itp_lb">평활계수(α)</label>
103 103
 			                                <div class="col-xs-10 itp_ip">
104 104
 												<div class="col-xs-4 itp_in" style="width:38%;">
105
-													<input type="text" name="coefficient" id="ITP_FORM_STOCKMNG05010_DETAIL_COEFFICIENT" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9]/g,'');">
105
+													<input type="text" name="coefficient" id="ITP_FORM_STOCKMNG05010_DETAIL_COEFFICIENT" class="form-control itp_input" onKeyup="this.value=this.value.replace(/[^0-9.]/g,'');">
106 106
 												</div>
107 107
 												<label style="padding-top:3px;">[단, α(평활계수):0 ≤ a ≤ 1]</label>
108 108
 											</div>