whakdo963 пре 2 година
родитељ
комит
0c0e67fcab

+ 3 - 3
src/main/webapp/app/popup/biz/BIZPOP_DLV_LMT_PAY.html

@@ -11,17 +11,17 @@
11 11
 									<div class="itp_div_label">
12 12
 										<label>납품요청일</label>
13 13
 										<span>:</span>
14
-										<div class="fn col_a">2022.09.30</div>
14
+										<div class="fnDlvReqDt col_a">2022.09.30</div>
15 15
 									</div>
16 16
 									<div class="itp_div_label">
17 17
 										<label>품목수</label>
18 18
 										<span>:</span>
19
-										<div class="fn col_a">2개</div>
19
+										<div class="fnPchReqQty col_a">2개</div>
20 20
 									</div>
21 21
 									<div class="itp_div_label">
22 22
 										<label>구매금액</label>
23 23
 										<span>:</span>
24
-										<div class="fn col_a">424,000원</div>
24
+										<div class="fnPchReqAmt col_a">424,000원</div>
25 25
 									</div>
26 26
 								</div>
27 27
 								<label style="text-align:left; width:100%;">구매한도가 부족합니다.</label>

+ 3 - 3
src/main/webapp/app/popup/biz/BIZPOP_DLV_PCH_OK.html

@@ -11,17 +11,17 @@
11 11
 									<div class="itp_div_label">
12 12
 										<label>납품요청일</label>
13 13
 										<span>:</span>
14
-										<div class="fn col_a">2022.09.30</div>
14
+										<div class="fnDlvReqDt col_a">2022.09.30</div>
15 15
 									</div>
16 16
 									<div class="itp_div_label">
17 17
 										<label>품목수</label>
18 18
 										<span>:</span>
19
-										<div class="fn col_a">2개</div>
19
+										<div class="fnPchReqQty col_a">2개</div>
20 20
 									</div>
21 21
 									<div class="itp_div_label">
22 22
 										<label>구매금액</label>
23 23
 										<span>:</span>
24
-										<div class="fn col_a">424,000원</div>
24
+										<div class="fnPchReqAmt col_a">424,000원</div>
25 25
 									</div>
26 26
 								</div>
27 27
 								<label style="text-align:center; width:100%;">구매요청 하시겠습니까?</label>

+ 3 - 3
src/main/webapp/app/popup/biz/BIZPOP_DLV_PPAY.html

@@ -11,17 +11,17 @@
11 11
 									<div class="itp_div_label">
12 12
 										<label>납품요청일</label>
13 13
 										<span>:</span>
14
-										<div class="fn col_a">2022.09.30</div>
14
+										<div class="fnDlvReqDt col_a">2022.09.30</div>
15 15
 									</div>
16 16
 									<div class="itp_div_label">
17 17
 										<label>품목수</label>
18 18
 										<span>:</span>
19
-										<div class="fn col_a">2개</div>
19
+										<div class="fnPchReqQty col_a">2개</div>
20 20
 									</div>
21 21
 									<div class="itp_div_label">
22 22
 										<label>구매금액</label>
23 23
 										<span>:</span>
24
-										<div class="fn col_a">424,000원</div>
24
+										<div class="fnPchReqAmt col_a">424,000원</div>
25 25
 									</div>
26 26
 								</div>
27 27
 								<label style="text-align:left; width:100%;">선불매장이므로 결재를 하셔야 구매요청이 진행이 됩니다.</label>

+ 35 - 0
src/main/webapp/js/app/popup/biz/ITP_BIZPOP_DLV_LMT_PAY.js

@@ -0,0 +1,35 @@
1
+require(['config'], function() {
2
+	require([
3
+		'jquery'
4
+	], function($) {
5
+
6
+	});
7
+});
8
+
9
+let API_POP_INV_INFO = '/api/pomng/save-pchReq';
10
+
11
+function itp_fn_BIZPOP_DLV_LMT_PAY(parentPopFn, args, returnType) {
12
+	
13
+	let pageObj = {
14
+			init: function() {
15
+				this.button();
16
+			},
17
+			call: function( param) {
18
+				fn_ajax_call(API_POP_INV_INFO, JSON.stringify(param), this.callback, 'POST');
19
+			},
20
+			button: function() {
21
+				$('#ITP_MODAL_ALERT_CANCEL').on('click', function (){
22
+					
23
+				});
24
+				$('#ITP_MODAL_ALERT_PAYMENT').on('click', function (){
25
+					
26
+				});
27
+			}, 
28
+			callback: function (result) {
29
+				console.log(result);
30
+				$('#ITP_BIZPOP_DLV_LMT_PAY .fnDlvReqDt').text(result.dlvReqDt);
31
+				$('#ITP_BIZPOP_DLV_LMT_PAY .fnPchReqQty').text(result.pchReqQty);
32
+				$('#ITP_BIZPOP_DLV_LMT_PAY .fnPchReqAmt').text(result.pchReqAmt);
33
+			},
34
+	};
35
+};