浏览代码

모바일 구매요청 위시리스트 적용

juney 2 年之前
父节点
当前提交
cc33229035

+ 1 - 1
src/main/webapp/mobile/app/mpomng/MPOMNG01010.html

@@ -55,7 +55,7 @@
55
 	            <button type="button" id="ITP_BTN_MPOMNG01010_DETAIL_DELROW" class="btn-danger btn-sm ADB">품목삭제</button>
55
 	            <button type="button" id="ITP_BTN_MPOMNG01010_DETAIL_DELROW" class="btn-danger btn-sm ADB">품목삭제</button>
56
 	            <button type="button" id="ITP_BTN_MPOMNG01010_DETAIL_ADDROW" class="btn-primary btn-sm ADB" data-call-popup="ITP_POP_MPOMNG01010_ITEM_AREA">품목추가</button>
56
 	            <button type="button" id="ITP_BTN_MPOMNG01010_DETAIL_ADDROW" class="btn-primary btn-sm ADB" data-call-popup="ITP_POP_MPOMNG01010_ITEM_AREA">품목추가</button>
57
 	            <button type="button" id="ITP_BTN_MPOMNG01010_DETAIL_SCAN" class="btn-green btn-sm ADB">스캔</button>
57
 	            <button type="button" id="ITP_BTN_MPOMNG01010_DETAIL_SCAN" class="btn-green btn-sm ADB">스캔</button>
58
-	            <button type="button" id="ITP_BTN_MPOMNG01010_DETAIL_WISH" class="btn-primary btn-sm ADB">위시리스트</button>
58
+	            <button type="button" id="ITP_BTN_MPOMNG01010_DETAIL_WISH" class="btn-primary btn-sm ADB" data-call-popup="ITP_POP_MPOMNG01010_WISH_LIST_AREA">위시리스트</button>
59
 	          </div>
59
 	          </div>
60
 	        </div>
60
 	        </div>
61
         </div>
61
         </div>

+ 20 - 3
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG01010.js

@@ -251,9 +251,10 @@ function appCallFnBarcode(barcode) {
251
 let mobPopObj = {
251
 let mobPopObj = {
252
 	init: function(popId, parentId) {
252
 	init: function(popId, parentId) {
253
 		switch (popId) {
253
 		switch (popId) {
254
-			case 'ITP_POP_MPOMNG01010_REQ_AREA'		: this.popReqConfirm.init(parentId); 	break;
255
-			case 'ITP_POP_MPOMNG01010_WHS_AREA'		: this.popWhsNm.init(); 				break;
256
-			case 'ITP_POP_MPOMNG01010_ITEM_AREA'	: this.popItem.init();					break;
254
+			case 'ITP_POP_MPOMNG01010_REQ_AREA'			: this.popReqConfirm.init(parentId); 	break;
255
+			case 'ITP_POP_MPOMNG01010_WHS_AREA'			: this.popWhsNm.init(); 				break;
256
+			case 'ITP_POP_MPOMNG01010_ITEM_AREA'		: this.popItem.init();					break;
257
+			case 'ITP_POP_MPOMNG01010_WISH_LIST_AREA'	: this.popWishList.init();				break;
257
 		}
258
 		}
258
 	},
259
 	},
259
 	popItem: {
260
 	popItem: {
@@ -374,6 +375,22 @@ let mobPopObj = {
374
 			mobPopObj.hide('ITP_POP_MPOMNG01010_ITEM_AREA');
375
 			mobPopObj.hide('ITP_POP_MPOMNG01010_ITEM_AREA');
375
 		}
376
 		}
376
 	},
377
 	},
378
+	popWishList: {
379
+		rows: [],
380
+		init: function () {
381
+			this.clear();
382
+			this.load();
383
+		},
384
+		load: function() {
385
+
386
+		},
387
+		search: function() {
388
+
389
+		},
390
+		clear: function() {
391
+			this.rows.length = 0;
392
+		}
393
+	},
377
 	popWhsNm: {
394
 	popWhsNm: {
378
 		init: function () {
395
 		init: function () {
379
 			$('#ITP_LIST_MPOMNG01010_POP_WHS_AREA .mb_0').children().remove();
396
 			$('#ITP_LIST_MPOMNG01010_POP_WHS_AREA .mb_0').children().remove();