Ver código fonte

Merge branch 'master' of http://106.246.249.162:13000/orderqueen/oqpo-view

juney 2 anos atrás
pai
commit
79ce4533b5

+ 1 - 3
src/main/webapp/app/inoutmng/INOUTMNG02010.html

@@ -17,9 +17,7 @@
17 17
 								<input type="hidden" id="ITP_FORM_INOUTMNG02010_SEARCH_BRAND_ID" name="sbrandId" value="">
18 18
 									<div class="form-group">
19 19
 										<div class="col-xs-2 itp_ip itp_noMar">
20
-                                            <select id="ITP_FORM_INOUTMNG02010_SEARCH_" class="form-control itp_input" name="serviceDlvReqDt">
21
-												<option value="A">출하일자</option>											
22
-											</select>
20
+                                            <label>출하일자 *</label>
23 21
 										</div>
24 22
 										<div class="col-xs-3 itp_ip itp_noMar">
25 23
 											<div class="input-daterange input-group date">

+ 1 - 3
src/main/webapp/app/inoutmng/INOUTMNG03010.html

@@ -19,9 +19,7 @@
19 19
 									<input type="hidden" id="ITP_FORM_INOUTMNG03010_DETAIL_SBRAND_ID" class="form-control itp_input" name="sbrandId" />
20 20
 									<div class="form-group">
21 21
 										<div class="col-xs-2 itp_ip itp_noMar">
22
-											<select id="ITP_FORM_INOUTMNG03010_SERVICE_COL_REQ_DT" class="form-control itp_input" name="servicecolReqDt">
23
-												<option value="A">수거요청일*</option>											
24
-											</select>
22
+											<label>수거요청일 *</label>
25 23
 										</div>
26 24
 										<div class="col-xs-3 itp_ip itp_noMar">
27 25
 											<div class="input-daterange input-group date">

+ 1 - 3
src/main/webapp/app/inoutmng/INOUTMNG04010.html

@@ -17,9 +17,7 @@
17 17
 								<input type="hidden" id="ITP_FORM_INOUTMNG04010_SEARCH_BRAND_ID" class="form-control itp_input" name="sbrandId" />
18 18
 									<div class="form-group">
19 19
 										<div class="col-xs-2 itp_ip itp_noMar">
20
-											<select id="ITP_FORM_INOUTMNG04010_SERVICE_COL_REQ_DT" class="form-control itp_input" name="servicecolReqDt">
21
-												<option value="A">수거요청일*</option>											
22
-											</select>
20
+											<label>수거요청일 *</label>
23 21
 										</div>
24 22
 										<div class="col-xs-3 itp_ip itp_noMar">
25 23
 											<div class="input-daterange input-group date">

+ 1 - 3
src/main/webapp/app/rtnmng/RTNMNG02010.html

@@ -22,9 +22,7 @@
22 22
 									<input type="hidden" id="ITP_FORM_RTNMNG02010_SEARCH_SWHS_ID" name="swhsId" value="">
23 23
 									<div class="form-group">
24 24
 										<div class="col-xs-2 itp_ip itp_noMar">
25
-											<select id="ITP_FORM_RTNMNG02010_SEARCH_" class="form-control itp_input" name="service">
26
-												<option value="A">반품요청일</option>											
27
-											</select>
25
+											<label>반품요청일 *</label>
28 26
 										</div>											
29 27
 										<div class="col-xs-3 itp_ip itp_noMar">
30 28
 											<div class="input-daterange input-group date">

+ 1 - 3
src/main/webapp/app/rtnmng/RTNMNG04010.html

@@ -22,9 +22,7 @@
22 22
 								
23 23
 									<div class="form-group">
24 24
 										<div class="col-xs-2 itp_ip itp_noMar">
25
-											<select id="ITP_FORM_RTNMNG04010_SEARCH_" class="form-control itp_input" name="service">
26
-												<option value="A">반품발주일자</option>											
27
-											</select>
25
+											<label>반품발주일자 *</label>
28 26
 										</div>										
29 27
 										<div class="col-xs-3 itp_ip itp_noMar">
30 28
 											<div class="input-daterange input-group date">

+ 1 - 3
src/main/webapp/app/rtnmng/RTNMNG05010.html

@@ -22,9 +22,7 @@
22 22
 								
23 23
 									<div class="form-group">
24 24
 										<div class="col-xs-2 itp_ip itp_noMar">
25
-											<select id="ITP_FORM_RTNMNG05010_SEARCH_" class="form-control itp_input" name="service">
26
-												<option value="A">수거요청일</option>											
27
-											</select>
25
+											<label>수거요청일 *</label>
28 26
 										</div>
29 27
 										<div class="col-xs-3 itp_ip itp_noMar">
30 28
 											<div class="input-daterange input-group date">

+ 1 - 3
src/main/webapp/app/rtnmng/RTNMNG06010.html

@@ -21,9 +21,7 @@
21 21
 								
22 22
 									<div class="form-group">
23 23
 										<div class="col-xs-2 itp_ip itp_noMar">
24
-											<select id="ITP_FORM_RTNMNG06010_SEARCH_" class="form-control itp_input" name="service">
25
-												<option value="A">수거일</option>											
26
-											</select>
24
+											<label>수거일 *</label>
27 25
 										</div>
28 26
 										<div class="col-xs-3 itp_ip itp_noMar">
29 27
 											<div class="input-daterange input-group date">

+ 3 - 3
src/main/webapp/js/app/inoutmng/ITP_INOUTMNG04010.js

@@ -100,21 +100,21 @@ const gridColModel = {
100 100
 		{
101 101
 			index: 'SHMT_QTY', name: 'rtnQty',
102 102
 			label: ITP_MSG_LOCALE.label.rtnQty,				// 반품발주수량
103
-			width: '8', fixed: false, align: 'rigth',
103
+			width: '8', fixed: false, align: 'right',
104 104
 			sortable: false, hidden: false,
105 105
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
106 106
 		},
107 107
 		{
108 108
 			index: 'WHS_QTY', name: 'colQty',
109 109
 			label: ITP_MSG_LOCALE.label.colQty,		// 수거수량
110
-			width: '8', fixed: false, align: 'rigth',
110
+			width: '8', fixed: false, align: 'right',
111 111
 			sortable: false, hidden: false,
112 112
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }
113 113
 		},
114 114
 		{
115 115
 			index: 'SHMT_AMT', name: 'colAmt',
116 116
 			label: ITP_MSG_LOCALE.label.colAmt,				// 수거금액
117
-			width: '8', fixed: false, align: 'rigth',
117
+			width: '8', fixed: false, align: 'right',
118 118
 			minwidth: 80,
119 119
 			sortable: false, hidden: false,
120 120
 			formatter: 'integer', formatoptions: { defaultValue: '', thousandsSeparator: ',' }

+ 8 - 5
src/main/webapp/js/app/pomng/ITP_POMNG01010.js

@@ -16,7 +16,7 @@ require(['config'], function() {
16 16
  * let modifyObj = {}		: 수정화면 Object			*
17 17
  * let createObj = {}		: 신규화면 Object			*
18 18
  *******************************************************/
19
-
19
+console.log(CONN_KEY)
20 20
 /*화면 변수*/
21 21
 const POMNG01010_DETAIL_GRID_ID = '#ITP_POMNG01010_DETAIL_jqGrid';
22 22
 const POMNG01010_DETAIL_GRID_LIST = '#ITP_POMNG01010_DETAIL_jqGrid_list';
@@ -363,11 +363,14 @@ let createObj = {
363 363
 					var mallId = $('#ITP_FORM_POMNG01010_DETAIL_MALL_ID').val();
364 364
 					
365 365
 					let pchActAtmNum;
366
-					if(pchActAtm == '0' || pchActAtm == 0 || pchActAtm == Infinity || pchActAtm == 'Infinity') {
367
-						pchActAtmNum = 'Infinity';
368
-					} else {
369
-						pchActAtmNum = pchActAtm
366
+					if (loanDvsn == 'loanDvsn') {
367
+						if(pchActAtm == '0' || pchActAtm == 0 || pchActAtm == Infinity || pchActAtm == 'Infinity') {
368
+							pchActAtmNum = 'Infinity';
369
+						} else {
370
+							pchActAtmNum = pchActAtm
371
+						}
370 372
 					}
373
+					
371 374
 					if (parseFloat(pchActAtmNum) < parseFloat(pchReqAtm)) {
372 375
 						dlvReqAmt = itp_fn_number_comma(String(parseInt(pchReqAtm) - parseInt(pchActAtm)));
373 376
 						

+ 1 - 1
src/main/webapp/js/app/stinfo/ITP_STINFO02011.js

@@ -191,7 +191,7 @@ let viewObj = {
191 191
 		$('#ITP_FORM_STINFO02011_VIEW .fnStoreAcctInfo').text(result.storeBnkNm + ' ' + result.storeAcctNo + ' ' + result.storeOwacNm);
192 192
 		$('#ITP_FORM_STINFO02011_VIEW .fnLoanDvsn').text(result.loanDvsnNm + " - (" + itp_fn_number_comma(result.limitAmt) + "원)");
193 193
 		$('#ITP_FORM_STINFO02011_VIEW .fnBrandAcctInfo').text(result.brandBnkNm + ' ' + result.brandAcctNo + ' ' + result.brandOwacNm);
194
-		$('#ITP_FORM_STINFO02011_VIEW .fnAcctBal').text(result.acctBal);
194
+		$('#ITP_FORM_STINFO02011_VIEW .fnAcctBal').text(itp_fn_number_comma(result.acctBal));
195 195
 		$('#ITP_FORM_STINFO02011_VIEW .fnWhsUseYn').text(result.whsUseYn);
196 196
 		$('#ITP_FORM_STINFO02011_VIEW .fnLimitAmt').text(result.limitAmt);
197 197
 		$('#ITP_FORM_STINFO02011_VIEW .fnSysRegDttm').text(result.sysRegDttm);

+ 2 - 2
src/main/webapp/js/app/stinfo/ITP_STINFO05010.js

@@ -417,8 +417,8 @@ let viewObj = {
417 417
 		$('#ITP_FORM_STINFO05010_VIEW .fnLeadTime').text(result.leadTime);
418 418
 		$('#ITP_FORM_STINFO05010_VIEW .fnUnit').text(result.unit);
419 419
 		$('#ITP_FORM_STINFO05010_VIEW .fnCurr').text(result.curr);
420
-		$('#ITP_FORM_STINFO05010_VIEW .fnUnitAmt').text(result.unitAmt);
421
-		$('#ITP_FORM_STINFO05010_VIEW .fnStoreSaleUnitAmt').text(result.storeSaleUnitAmt);
420
+		$('#ITP_FORM_STINFO05010_VIEW .fnUnitAmt').text(result.unitAmt.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','));
421
+		$('#ITP_FORM_STINFO05010_VIEW .fnStoreSaleUnitAmt').text(result.storeSaleUnitAmt.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','));
422 422
 		$('#ITP_FORM_STINFO05010_VIEW .fnRegId').text(result.sysRegId);
423 423
 		$('#ITP_FORM_STINFO05010_VIEW .fnRegDt').text(result.sysRegDttm);
424 424
 		$('#ITP_FORM_STINFO05010_VIEW .fnChgId').text(result.sysChgId);