浏览代码

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

juney 2 年之前
父节点
当前提交
8d6ba0aa6d

+ 17 - 26
bin/src/main/webapp/app/vendinfo/VENDINFO01010.html

@@ -7,7 +7,6 @@
7 7
 					<button type="button" id="ITP_BTN_VENDINFO01010_SAVE" class="btn btn-success btn-sm SAB"><i class="glyphicon"></i>&nbsp;&nbsp;저장&nbsp;&nbsp;</button>
8 8
 				</div>				
9 9
 				<div style="top:0px; text-align:center; font-size:20px;">
10
-					<span style="text-decoration:underline; font-weight:600;">테스트공급업체</span>
11 10
 					<button type="button" id="ITP_BTN_VENDINFO01010_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
12 11
 					<button type="button" id="ITP_BTN_VENDINFO01010_MODIFY" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
13 12
 				</div>
@@ -83,7 +82,7 @@
83 82
 											<div class="col-xs-4 itp_ip">
84 83
 												<div class="itp_form_change">
85 84
 													<div class="col-xs-7 itp_in">
86
-									                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_BSNS_REG_NO" data-check-required="empty" class="form-control itp_input" name="bsnsRegNo" value="">
85
+									                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_BSNS_REG_NO" data-check-required="empty" data-key-up="regNo" class="form-control itp_input" name="bsnsRegNo" value="">
87 86
 													</div>
88 87
 												</div>
89 88
 											</div>
@@ -101,14 +100,14 @@
101 100
 											<div class="col-xs-4 itp_ip">
102 101
 												<div class="itp_form_change">
103 102
 													<div class="col-xs-7 itp_in">
104
-									                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_CORP_REG_NO" class="form-control itp_input" name="corpRegNo" value="">
103
+									                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_CORP_REG_NO" class="form-control itp_input" data-key-up="corpNo" name="corpRegNo" value="">
105 104
 													</div>
106 105
 												</div>
107 106
 											</div>
108 107
 											<label class="col-xs-2 itp_lb">전화번호 *</label>
109 108
 											<div class="col-xs-4 itp_ip">
110 109
 												<div class="col-xs-8 itp_in">
111
-								                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_TEL_NO" data-check-required="empty" class="form-control itp_input" name="mgrTelNo" value="">
110
+								                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_TEL_NO" data-check-required="empty" data-key-up="tel" class="form-control itp_input" name="mgrTelNo" value="">
112 111
 												</div>
113 112
 											</div>
114 113
 										</div>
@@ -121,8 +120,11 @@
121 120
 													<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_OWNER_NM" data-check-required="empty" class="form-control itp_input" name="ownerNm" value="">
122 121
 												</div>
123 122
 											</div>
124
-											<label class="col-xs-2 itp_lb">FAX</label>
125
-											<div class="col-xs-4 itp_ip">												
123
+											<label class="col-xs-2 itp_lb">핸드폰</label>
124
+											<div class="col-xs-4 itp_ip">
125
+												<div class="col-xs-6 itp_in">
126
+													<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_MBL_NO" data-key-up="tel" class="form-control itp_input" name="mgrMblNo" value="">
127
+												</div>
126 128
 											</div>
127 129
 										</div>
128 130
 									</div>
@@ -134,10 +136,11 @@
134 136
 								                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_EMAL_ADDR" class="form-control itp_input" name="mgrEmal" value="">
135 137
 												</div>
136 138
 											</div>
137
-											<label class="col-xs-2 itp_lb">핸드폰</label>
139
+											<label class="col-xs-2 itp_lb">은행</label>
138 140
 											<div class="col-xs-4 itp_ip">
139
-												<div class="col-xs-6 itp_in">
140
-													<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_MBL_NO" class="form-control itp_input" name="mgrMblNo" value="">
141
+												<div class="col-xs-8 itp_in">
142
+				                             	<select id="ITP_FORM_VENDINFO01010_DETAIL_BNK_CD" data-select-code="BNK_CD" class="form-control itp_input" name="bnkCd">
143
+												</select>
141 144
 												</div>
142 145
 											</div>
143 146
 										</div>
@@ -151,13 +154,8 @@
151 154
 													</select>												
152 155
 												</div>
153 156
 											</div>
154
-											<label class="col-xs-2 itp_lb">은행</label>
155
-											<div class="col-xs-4 itp_ip">
156
-												<div class="col-xs-8 itp_in">
157
-				                             	<select id="ITP_FORM_VENDINFO01010_DETAIL_BNK_CD" data-select-code="BNK_CD" class="form-control itp_input" name="bnkCd">
158
-												</select>
159
-												</div>
160
-											</div>
157
+											<label class="col-xs-2 itp_lb"></label>
158
+											<div class="col-xs-4 itp_ip"></div>
161 159
 										</div>
162 160
 									</div>
163 161
 									<div class="itp_form_in">
@@ -176,14 +174,7 @@
176 174
 											</div>
177 175
 										</div>
178 176
 									</div>
179
-									<div class="itp_form_in">
180
-										<div class="form-group">
181
-											<label class="col-xs-2 itp_lb"></label>
182
-											<div id="ITP_VENDINFO01010_DETAIL_ACCT_FILE_LOGO_FILE" class="col-xs-4 itp_in">bjb hnjnn jl</div>
183
-											<label class="col-xs-2 itp_lb"></label>
184
-											<div id="ITP_VENDINFO01010_DETAIL_CORP_FILE_LOGO_FILE" class="col-xs-4 itp_in">ghgggggggggggggggggggggggggg</div>
185
-										</div>
186
-									</div>
177
+									
187 178
 									<div class="itp_form_in">
188 179
 										<div class="form-group">
189 180
 											<label class="col-xs-2 itp_lb">통장사본</label>
@@ -229,13 +220,13 @@
229 220
 										<div class="form-group">
230 221
 											<label class="col-xs-2 itp_lb">등록자/등록일</label>
231 222
 											<div class="col-xs-4 itp_ip">
232
-												<div class="col-xs-2 itp_in fnRegId"></div>
223
+												<div class="col-xs-4 itp_in fnRegId"></div>
233 224
 												<label class="col-xs-1 itp_in">/</label>
234 225
 												<div class="col-xs-5 itp_in fnRegDt"></div>
235 226
 											</div>
236 227
 											<label class="col-xs-2 itp_lb">수정자/수정일</label>
237 228
 											<div class="4 itp_ip">
238
-												<div class="col-xs-2 itp_in fnChgId"></div>
229
+												<div class="col-xs-4 itp_in fnChgId"></div>
239 230
 												<label class="col-xs-1 itp_in">/</label>
240 231
 												<div class="col-xs-5 itp_in fnChgDt"></div>
241 232
 											</div>

+ 0 - 1
bin/src/main/webapp/app/vendinfo/VENDINFO03010.html

@@ -7,7 +7,6 @@
7 7
 					<button type="button" id="ITP_BTN_VENDINFO03010_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon"></i>&nbsp;&nbsp;조회&nbsp;&nbsp;</button>
8 8
 				</div>	
9 9
 				<div style="top:0px; text-align:center; font-size:20px;">
10
-					<span style="text-decoration:underline; font-weight:600;">테스트공급업체</span>
11 10
 					<button type="button" id="ITP_BTN_VENDINFO03010_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
12 11
 					<button type="button" id="ITP_BTN_VENDINFO03010_MODIFY" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
13 12
 				</div>				

+ 3 - 2
bin/src/main/webapp/js/app/config.js

@@ -1700,7 +1700,7 @@ function itp_fn_grid_make_not_paging(option) {
1700 1700
 	});
1701 1701
 }
1702 1702
 
1703
-function itp_fn_grid_make_local(option) { //예를 원격으로 호출하면 됨     처음url 안주던지     빈 그리드 시용
1703
+function itp_fn_grid_make_local(option) {
1704 1704
 	var options = $.extend({
1705 1705
 		multiselect: false,
1706 1706
 		rownumbers: false
@@ -3038,4 +3038,5 @@ let itp_fn_attach_file = {
3038 3038
 			$('#' + id).append(text);
3039 3039
 		});
3040 3040
 	}
3041
-};
3041
+};
3042
+

+ 2 - 2
bin/src/main/webapp/js/app/popup/biz/ITP_BIZPOP_STORE_SPPLY.js

@@ -6,8 +6,8 @@ require(['config'], function() {
6 6
 	});
7 7
 });
8 8
 
9
-//let API_POP_GRID_LIST = '/api/spply/pop-grid-list';
10
-let API_POP_GRID_LIST = '/api/spply/detail-grid-list';
9
+let API_POP_GRID_LIST = '/api/spply/pop-grid-list';
10
+//let API_POP_GRID_LIST = '/api/spply/detail-grid-list';
11 11
 
12 12
 
13 13
 function itp_fn_BIZPOP_STORE_SPPLY(parentPopFn, args, returnType) {

+ 15 - 15
bin/src/main/webapp/js/app/vendinfo/ITP_VENDINFO01010.js

@@ -17,6 +17,9 @@ const VENDINFO01010_DETAIL_GRID_EMPTY = 'ITP_VENDINFO01010_DETAIL_jqGridEmpty';
17 17
 let ITP_FORM_VENDINFO01010_DETAIL_IS_DUPLICATE = false;
18 18
 let ITP_FORM_VENDINFO01010_DETAIL_IS_WRITING = false;
19 19
 
20
+let ITP_COMMON_ASSGN_TASK = fn_make_common_cd_list(CODE_LIST, 'ASSGN_TASK', true, '담당업무');
21
+
22
+
20 23
 //API URL
21 24
 let API_SPPLY_DETAIL_GRID_LIST = '/api/spply/detail-grid-list';
22 25
 let API_SPPLY_INFO_SPPLY = '/api/spply/info-spply';
@@ -48,7 +51,7 @@ const gridColModel = {
48 51
 		},
49 52
 		{
50 53
 			index: 'ASSGN_TASK_NM', name: 'spplyMgrNm',
51
-			label: ITP_MSG_LOCALE.label.spplyMgrNm, //담당자명
54
+			label: ITP_MSG_LOCALE.label.spplyMgrNm, 	//담당자명
52 55
 			width: '20', fixed: false, align: 'center',
53 56
 			sortable: false, editable: true, edittype: 'text',
54 57
 			editrules: {required: true}
@@ -69,19 +72,16 @@ const gridColModel = {
69 72
             index: 'RPRST_TEL_NO', name: 'rprstTelNo',
70 73
             label: ITP_MSG_LOCALE.label.rprstTelNo,		// 전화번호
71 74
             width: '10', fixed: false, align: 'center',
72
-            sortable: false, hidden: false, editable: true, edittype: 'text'
73
-        },
74
-        {
75
-            index: 'RPRST_MBL_NO', name: 'rprstMblNo',
76
-            label: ITP_MSG_LOCALE.label.rprstMblNo,		// 핸드폰번호
77
-            width: '10', fixed: false, align: 'center',
78
-            sortable: false, hidden: false, editable: true, edittype: 'text'
75
+            sortable: false, hidden: false, editable: true, edittype: 'text',
76
+            editoptions: {'data-key-up': 'tel'}
79 77
         },
80 78
         {
81
-            index: 'ASSGN_TASK_NM', name: 'assgnTask',
79
+            index: 'ASSGN_TASK', name: 'assgnTask',
82 80
             label: ITP_MSG_LOCALE.label.assgnTaskNm,	// 담당업무
83 81
             width: '10', fixed: false, align: 'center',
84
-            sortable: false, hidden: false, editable: true, edittype: 'text'
82
+            sortable: false, editable: true, formatter: 'select', edittype: 'select',
83
+			editoptions: {value: ITP_COMMON_ASSGN_TASK},
84
+			editrules: {required: false}
85 85
         }
86 86
     ]
87 87
 };
@@ -97,6 +97,7 @@ let pageObj = {
97 97
         init: function () {
98 98
             this.view();
99 99
             this.grid();
100
+            this.form();
100 101
             this.ready();
101 102
         },
102 103
         view: function() {
@@ -110,6 +111,9 @@ let pageObj = {
110 111
                 }
111 112
             });
112 113
         },
114
+        form: function() {
115
+			itp_fn_form_event.onKeyup('#ITP_FORM_VENDINFO01010_DETAIL');
116
+		},
113 117
         grid: function() {
114 118
             itp_fn_jqgrid_resize(VENDINFO01010_DETAIL_GRID_ID, VENDINFO01010_DETAIL_GRID_LIST, 'lg');
115 119
             modifyObj.empty.init();
@@ -270,6 +274,7 @@ let modifyObj = {
270 274
 		},
271 275
 		addRow: function() {
272 276
 			itp_fn_grid_add_row(VENDINFO01010_DETAIL_GRID_ID, undefined, ['spplyId'], 'VENDINFO01010_DETAIL');
277
+			itp_fn_form_event.onKeyup(VENDINFO01010_DETAIL_GRID_ID);
273 278
 		},
274 279
 		delRow: function() {
275 280
 			itp_fn_grid_del_row(VENDINFO01010_DETAIL_GRID_ID);
@@ -385,11 +390,6 @@ let modifyObj = {
385 390
 		$('#ITP_FORM_VENDINFO01010_DETAIL #ITP_FORM_VENDINFO01010_DETAIL_CORP_FILE_NO').val(result.bsnsRegFileNo);		// 사업자등록파일
386 391
 
387 392
 		pageObj.fileUpload();
388
-		itp_fn_attach_file.view('ITP_VENDINFO01010_DETAIL_ACCT_FILE_LOGO_FILE', result.fileBookCopyNoList,
389
-				'form-control itp_input', 'border:none; top:12px; left:12px; height:70px; width:85px; position:absolute;');
390
-		itp_fn_attach_file.view('ITP_VENDINFO01010_DETAIL_CORP_FILE_LOGO_FILE', result.fileBsnsRegNoList,
391
-				'form-control itp_input', 'border:none; top:12px; left:12px; height:70px; width:85px; position:absolute;');
392
-		
393 393
 
394 394
 		// 권한정보 리스트 조회
395 395
 		pageObj.grid.init('DETAIL', result.spplyMgrList);

+ 14 - 7
bin/src/main/webapp/js/app/vendinfo/ITP_VENDINFO02010.js

@@ -53,6 +53,12 @@ const gridColModel = {
53 53
 					width: '12', fixed: false, align: 'center',
54 54
 					sortable: false, hidden: false
55 55
 			},
56
+			{
57
+					index: 'ITEM_ID', name: 'itemId',
58
+					label: ITP_MSG_LOCALE.label.itemId, //품목번호
59
+					width: '12', fixed: false, align: 'center',
60
+					sortable: false, hidden: true
61
+			},
56 62
 			{
57 63
 					index: 'ITEM_NM', name: 'itemNm',
58 64
 					label: ITP_MSG_LOCALE.label.itemNm, //품목명
@@ -68,7 +74,7 @@ const gridColModel = {
68 74
 			{
69 75
 					index: 'ITEM_CLASS_NM', name: 'itemClassNm',
70 76
 					label: ITP_MSG_LOCALE.label.itemClassNm, //품목분류
71
-					width: '15', fixed: false, align: 'center',
77
+					width: '12', fixed: false, align: 'center',
72 78
 					sortable: false, hidden: false
73 79
 			},
74 80
 			{
@@ -92,13 +98,13 @@ const gridColModel = {
92 98
 			{
93 99
 					index: 'PCH_ITEM_YN', name: 'pchItemYn',
94 100
 					label: ITP_MSG_LOCALE.label.pchItemYn, //구매품목여부
95
-					width: '6', fixed: false, align: 'center',
101
+					width: '8', fixed: false, align: 'center',
96 102
 					sortable: false, hidden: false
97 103
 			},
98 104
 			{
99 105
 					index: 'SALE_ITEM_YN', name: 'saleItemYn',
100 106
 					label: ITP_MSG_LOCALE.label.saleItemYn, //판매품목여부
101
-					width: '10', fixed: false, align: 'center',
107
+					width: '8', fixed: false, align: 'center',
102 108
 					sortable: false, hidden: false
103 109
 			},
104 110
 	],
@@ -145,6 +151,7 @@ let pageObj = {
145 151
 			this.event.init();
146 152
 			this.fileUpload();
147 153
 			storeSpplyObj.init();
154
+			$('#ITP_FORM_VENDINFO02010_SEARCH_SPPLY_ID').val("SPY221000002");
148 155
 	},
149 156
 	ui: {
150 157
 			init: function () {
@@ -364,7 +371,7 @@ let listObj = {
364 371
 					let param = $('#ITP_FORM_VENDINFO02010_SEARCH').serializeObject();
365 372
 					param.gridSize = $.jgrid.defaults.rowNum;
366 373
 					param.gridPage = $.jgrid.defaults.page;
367
-					$(VENDINFO02010_GRID_ID).setGridParam({'url': url,'data': JSON.stringify(param)}).trigger('reloadGrid');
374
+					$(VENDINFO02010_GRID_ID).setGridParam({'postData': JSON.stringify(param)}).trigger('reloadGrid');
368 375
 			},
369 376
 			create: function() {
370 377
 					if(!fn_make_user_info.isEmpty()) {
@@ -414,9 +421,9 @@ let listObj = {
414 421
 			colModel: gridColModel.list,
415 422
 			search: function() {
416 423
 					pageObj.switchScreen('LIST');
417
-					this.unload();
418
-					this.localLoad();
419
-//					this.load();
424
+//					this.unload();
425
+//					this.localLoad();
426
+					this.load();
420 427
 			},
421 428
 			localLoad: function() {
422 429
 				var option = {

+ 2 - 13
bin/src/main/webapp/js/app/vendinfo/ITP_VENDINFO03010.js

@@ -38,12 +38,6 @@ const gridColModel = {
38 38
 			width: '7', fixed: false, align: 'center',
39 39
 			sortable: false, hidden: false
40 40
 		},
41
-		{
42
-			index: 'STDD_QTY', name: 'stddQty',
43
-			label: ITP_MSG_LOCALE.label.stddQty, 	//기준수량
44
-			width: '7', fixed: false, align: 'center',
45
-			sortable: false, hidden: false
46
-		},
47 41
 		{
48 42
 			index: 'CURR', name: 'curr',
49 43
 			label: ITP_MSG_LOCALE.label.curr, 		//통화
@@ -54,7 +48,8 @@ const gridColModel = {
54 48
 			index: 'UNIT_AMT', name: 'unitAmt',
55 49
 			label: ITP_MSG_LOCALE.label.unitAmt, 	//단가
56 50
 			width: '7', fixed: false, align: 'center',
57
-			sortable: false, hidden: false
51
+			sortable: false, hidden: false,
52
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
58 53
 		},
59 54
 		{
60 55
 			index: 'CONT_STT_DT', name: 'contSttDt',
@@ -74,12 +69,6 @@ const gridColModel = {
74 69
 			width: '7', fixed: false, align: 'center',
75 70
 			sortable: false, hidden: false
76 71
 		},
77
-		{
78
-			index: 'REG_DT', name: 'regDt',
79
-			label: ITP_MSG_LOCALE.label.regDt, 		//등록일
80
-			width: '8', fixed: false, align: 'center',
81
-			sortable: false, hidden: false
82
-		},
83 72
 		{
84 73
 			index: 'UNIT_ST_NM', name: 'unitStNm',
85 74
 			label: ITP_MSG_LOCALE.label.status, 	//상태

+ 17 - 26
src/main/webapp/app/vendinfo/VENDINFO01010.html

@@ -7,7 +7,6 @@
7 7
 					<button type="button" id="ITP_BTN_VENDINFO01010_SAVE" class="btn btn-success btn-sm SAB"><i class="glyphicon"></i>&nbsp;&nbsp;저장&nbsp;&nbsp;</button>
8 8
 				</div>				
9 9
 				<div style="top:0px; text-align:center; font-size:20px;">
10
-					<span style="text-decoration:underline; font-weight:600;">테스트공급업체</span>
11 10
 					<button type="button" id="ITP_BTN_VENDINFO01010_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
12 11
 					<button type="button" id="ITP_BTN_VENDINFO01010_MODIFY" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
13 12
 				</div>
@@ -83,7 +82,7 @@
83 82
 											<div class="col-xs-4 itp_ip">
84 83
 												<div class="itp_form_change">
85 84
 													<div class="col-xs-7 itp_in">
86
-									                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_BSNS_REG_NO" data-check-required="empty" class="form-control itp_input" name="bsnsRegNo" value="">
85
+									                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_BSNS_REG_NO" data-check-required="empty" data-key-up="regNo" class="form-control itp_input" name="bsnsRegNo" value="">
87 86
 													</div>
88 87
 												</div>
89 88
 											</div>
@@ -101,14 +100,14 @@
101 100
 											<div class="col-xs-4 itp_ip">
102 101
 												<div class="itp_form_change">
103 102
 													<div class="col-xs-7 itp_in">
104
-									                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_CORP_REG_NO" class="form-control itp_input" name="corpRegNo" value="">
103
+									                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_CORP_REG_NO" class="form-control itp_input" data-key-up="corpNo" name="corpRegNo" value="">
105 104
 													</div>
106 105
 												</div>
107 106
 											</div>
108 107
 											<label class="col-xs-2 itp_lb">전화번호 *</label>
109 108
 											<div class="col-xs-4 itp_ip">
110 109
 												<div class="col-xs-8 itp_in">
111
-								                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_TEL_NO" data-check-required="empty" class="form-control itp_input" name="mgrTelNo" value="">
110
+								                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_TEL_NO" data-check-required="empty" data-key-up="tel" class="form-control itp_input" name="mgrTelNo" value="">
112 111
 												</div>
113 112
 											</div>
114 113
 										</div>
@@ -121,8 +120,11 @@
121 120
 													<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_OWNER_NM" data-check-required="empty" class="form-control itp_input" name="ownerNm" value="">
122 121
 												</div>
123 122
 											</div>
124
-											<label class="col-xs-2 itp_lb">FAX</label>
125
-											<div class="col-xs-4 itp_ip">												
123
+											<label class="col-xs-2 itp_lb">핸드폰</label>
124
+											<div class="col-xs-4 itp_ip">
125
+												<div class="col-xs-6 itp_in">
126
+													<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_MBL_NO" data-key-up="tel" class="form-control itp_input" name="mgrMblNo" value="">
127
+												</div>
126 128
 											</div>
127 129
 										</div>
128 130
 									</div>
@@ -134,10 +136,11 @@
134 136
 								                	<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_EMAL_ADDR" class="form-control itp_input" name="mgrEmal" value="">
135 137
 												</div>
136 138
 											</div>
137
-											<label class="col-xs-2 itp_lb">핸드폰</label>
139
+											<label class="col-xs-2 itp_lb">은행</label>
138 140
 											<div class="col-xs-4 itp_ip">
139
-												<div class="col-xs-6 itp_in">
140
-													<input type="text" id="ITP_FORM_VENDINFO01010_DETAIL_MBL_NO" class="form-control itp_input" name="mgrMblNo" value="">
141
+												<div class="col-xs-8 itp_in">
142
+				                             	<select id="ITP_FORM_VENDINFO01010_DETAIL_BNK_CD" data-select-code="BNK_CD" class="form-control itp_input" name="bnkCd">
143
+												</select>
141 144
 												</div>
142 145
 											</div>
143 146
 										</div>
@@ -151,13 +154,8 @@
151 154
 													</select>												
152 155
 												</div>
153 156
 											</div>
154
-											<label class="col-xs-2 itp_lb">은행</label>
155
-											<div class="col-xs-4 itp_ip">
156
-												<div class="col-xs-8 itp_in">
157
-				                             	<select id="ITP_FORM_VENDINFO01010_DETAIL_BNK_CD" data-select-code="BNK_CD" class="form-control itp_input" name="bnkCd">
158
-												</select>
159
-												</div>
160
-											</div>
157
+											<label class="col-xs-2 itp_lb"></label>
158
+											<div class="col-xs-4 itp_ip"></div>
161 159
 										</div>
162 160
 									</div>
163 161
 									<div class="itp_form_in">
@@ -176,14 +174,7 @@
176 174
 											</div>
177 175
 										</div>
178 176
 									</div>
179
-									<div class="itp_form_in">
180
-										<div class="form-group">
181
-											<label class="col-xs-2 itp_lb"></label>
182
-											<div id="ITP_VENDINFO01010_DETAIL_ACCT_FILE_LOGO_FILE" class="col-xs-4 itp_in">bjb hnjnn jl</div>
183
-											<label class="col-xs-2 itp_lb"></label>
184
-											<div id="ITP_VENDINFO01010_DETAIL_CORP_FILE_LOGO_FILE" class="col-xs-4 itp_in">ghgggggggggggggggggggggggggg</div>
185
-										</div>
186
-									</div>
177
+									
187 178
 									<div class="itp_form_in">
188 179
 										<div class="form-group">
189 180
 											<label class="col-xs-2 itp_lb">통장사본</label>
@@ -229,13 +220,13 @@
229 220
 										<div class="form-group">
230 221
 											<label class="col-xs-2 itp_lb">등록자/등록일</label>
231 222
 											<div class="col-xs-4 itp_ip">
232
-												<div class="col-xs-2 itp_in fnRegId"></div>
223
+												<div class="col-xs-4 itp_in fnRegId"></div>
233 224
 												<label class="col-xs-1 itp_in">/</label>
234 225
 												<div class="col-xs-5 itp_in fnRegDt"></div>
235 226
 											</div>
236 227
 											<label class="col-xs-2 itp_lb">수정자/수정일</label>
237 228
 											<div class="4 itp_ip">
238
-												<div class="col-xs-2 itp_in fnChgId"></div>
229
+												<div class="col-xs-4 itp_in fnChgId"></div>
239 230
 												<label class="col-xs-1 itp_in">/</label>
240 231
 												<div class="col-xs-5 itp_in fnChgDt"></div>
241 232
 											</div>

+ 0 - 1
src/main/webapp/app/vendinfo/VENDINFO03010.html

@@ -7,7 +7,6 @@
7 7
 					<button type="button" id="ITP_BTN_VENDINFO03010_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon"></i>&nbsp;&nbsp;조회&nbsp;&nbsp;</button>
8 8
 				</div>	
9 9
 				<div style="top:0px; text-align:center; font-size:20px;">
10
-					<span style="text-decoration:underline; font-weight:600;">테스트공급업체</span>
11 10
 					<button type="button" id="ITP_BTN_VENDINFO03010_SRH" class="btn btn-success btn-sm SEB" style="display: inline-block;"><i class="glyphicon glyphicon-search"></i></button>
12 11
 					<button type="button" id="ITP_BTN_VENDINFO03010_MODIFY" class="btn btn-primary btn-sm UPB" style="display: inline-block;"><i class="glyphicon glyphicon-erase"></i></button>
13 12
 				</div>				

+ 3 - 2
src/main/webapp/js/app/config.js

@@ -1700,7 +1700,7 @@ function itp_fn_grid_make_not_paging(option) {
1700 1700
 	});
1701 1701
 }
1702 1702
 
1703
-function itp_fn_grid_make_local(option) { //예를 원격으로 호출하면 됨     처음url 안주던지     빈 그리드 시용
1703
+function itp_fn_grid_make_local(option) {
1704 1704
 	var options = $.extend({
1705 1705
 		multiselect: false,
1706 1706
 		rownumbers: false,
@@ -3048,4 +3048,5 @@ let itp_fn_attach_file = {
3048 3048
 			$('#' + id).append(img);
3049 3049
 		});
3050 3050
 	}
3051
-};
3051
+};
3052
+

+ 2 - 2
src/main/webapp/js/app/popup/biz/ITP_BIZPOP_STORE_SPPLY.js

@@ -6,8 +6,8 @@ require(['config'], function() {
6 6
 	});
7 7
 });
8 8
 
9
-//let API_POP_GRID_LIST = '/api/spply/pop-grid-list';
10
-let API_POP_GRID_LIST = '/api/spply/detail-grid-list';
9
+let API_POP_GRID_LIST = '/api/spply/pop-grid-list';
10
+//let API_POP_GRID_LIST = '/api/spply/detail-grid-list';
11 11
 
12 12
 
13 13
 function itp_fn_BIZPOP_STORE_SPPLY(parentPopFn, args, returnType) {

+ 15 - 15
src/main/webapp/js/app/vendinfo/ITP_VENDINFO01010.js

@@ -17,6 +17,9 @@ const VENDINFO01010_DETAIL_GRID_EMPTY = 'ITP_VENDINFO01010_DETAIL_jqGridEmpty';
17 17
 let ITP_FORM_VENDINFO01010_DETAIL_IS_DUPLICATE = false;
18 18
 let ITP_FORM_VENDINFO01010_DETAIL_IS_WRITING = false;
19 19
 
20
+let ITP_COMMON_ASSGN_TASK = fn_make_common_cd_list(CODE_LIST, 'ASSGN_TASK', true, '담당업무');
21
+
22
+
20 23
 //API URL
21 24
 let API_SPPLY_DETAIL_GRID_LIST = '/api/spply/detail-grid-list';
22 25
 let API_SPPLY_INFO_SPPLY = '/api/spply/info-spply';
@@ -48,7 +51,7 @@ const gridColModel = {
48 51
 		},
49 52
 		{
50 53
 			index: 'ASSGN_TASK_NM', name: 'spplyMgrNm',
51
-			label: ITP_MSG_LOCALE.label.spplyMgrNm, //담당자명
54
+			label: ITP_MSG_LOCALE.label.spplyMgrNm, 	//담당자명
52 55
 			width: '20', fixed: false, align: 'center',
53 56
 			sortable: false, editable: true, edittype: 'text',
54 57
 			editrules: {required: true}
@@ -69,19 +72,16 @@ const gridColModel = {
69 72
             index: 'RPRST_TEL_NO', name: 'rprstTelNo',
70 73
             label: ITP_MSG_LOCALE.label.rprstTelNo,		// 전화번호
71 74
             width: '10', fixed: false, align: 'center',
72
-            sortable: false, hidden: false, editable: true, edittype: 'text'
73
-        },
74
-        {
75
-            index: 'RPRST_MBL_NO', name: 'rprstMblNo',
76
-            label: ITP_MSG_LOCALE.label.rprstMblNo,		// 핸드폰번호
77
-            width: '10', fixed: false, align: 'center',
78
-            sortable: false, hidden: false, editable: true, edittype: 'text'
75
+            sortable: false, hidden: false, editable: true, edittype: 'text',
76
+            editoptions: {'data-key-up': 'tel'}
79 77
         },
80 78
         {
81
-            index: 'ASSGN_TASK_NM', name: 'assgnTask',
79
+            index: 'ASSGN_TASK', name: 'assgnTask',
82 80
             label: ITP_MSG_LOCALE.label.assgnTaskNm,	// 담당업무
83 81
             width: '10', fixed: false, align: 'center',
84
-            sortable: false, hidden: false, editable: true, edittype: 'text'
82
+            sortable: false, editable: true, formatter: 'select', edittype: 'select',
83
+			editoptions: {value: ITP_COMMON_ASSGN_TASK},
84
+			editrules: {required: false}
85 85
         }
86 86
     ]
87 87
 };
@@ -97,6 +97,7 @@ let pageObj = {
97 97
         init: function () {
98 98
             this.view();
99 99
             this.grid();
100
+            this.form();
100 101
             this.ready();
101 102
         },
102 103
         view: function() {
@@ -110,6 +111,9 @@ let pageObj = {
110 111
                 }
111 112
             });
112 113
         },
114
+        form: function() {
115
+			itp_fn_form_event.onKeyup('#ITP_FORM_VENDINFO01010_DETAIL');
116
+		},
113 117
         grid: function() {
114 118
             itp_fn_jqgrid_resize(VENDINFO01010_DETAIL_GRID_ID, VENDINFO01010_DETAIL_GRID_LIST, 'lg');
115 119
             modifyObj.empty.init();
@@ -270,6 +274,7 @@ let modifyObj = {
270 274
 		},
271 275
 		addRow: function() {
272 276
 			itp_fn_grid_add_row(VENDINFO01010_DETAIL_GRID_ID, undefined, ['spplyId'], 'VENDINFO01010_DETAIL');
277
+			itp_fn_form_event.onKeyup(VENDINFO01010_DETAIL_GRID_ID);
273 278
 		},
274 279
 		delRow: function() {
275 280
 			itp_fn_grid_del_row(VENDINFO01010_DETAIL_GRID_ID);
@@ -385,11 +390,6 @@ let modifyObj = {
385 390
 		$('#ITP_FORM_VENDINFO01010_DETAIL #ITP_FORM_VENDINFO01010_DETAIL_CORP_FILE_NO').val(result.bsnsRegFileNo);		// 사업자등록파일
386 391
 
387 392
 		pageObj.fileUpload();
388
-		itp_fn_attach_file.view('ITP_VENDINFO01010_DETAIL_ACCT_FILE_LOGO_FILE', result.fileBookCopyNoList,
389
-				'form-control itp_input', 'border:none; top:12px; left:12px; height:70px; width:85px; position:absolute;');
390
-		itp_fn_attach_file.view('ITP_VENDINFO01010_DETAIL_CORP_FILE_LOGO_FILE', result.fileBsnsRegNoList,
391
-				'form-control itp_input', 'border:none; top:12px; left:12px; height:70px; width:85px; position:absolute;');
392
-		
393 393
 
394 394
 		// 권한정보 리스트 조회
395 395
 		pageObj.grid.init('DETAIL', result.spplyMgrList);

+ 14 - 7
src/main/webapp/js/app/vendinfo/ITP_VENDINFO02010.js

@@ -53,6 +53,12 @@ const gridColModel = {
53 53
 					width: '12', fixed: false, align: 'center',
54 54
 					sortable: false, hidden: false
55 55
 			},
56
+			{
57
+					index: 'ITEM_ID', name: 'itemId',
58
+					label: ITP_MSG_LOCALE.label.itemId, //품목번호
59
+					width: '12', fixed: false, align: 'center',
60
+					sortable: false, hidden: true
61
+			},
56 62
 			{
57 63
 					index: 'ITEM_NM', name: 'itemNm',
58 64
 					label: ITP_MSG_LOCALE.label.itemNm, //품목명
@@ -68,7 +74,7 @@ const gridColModel = {
68 74
 			{
69 75
 					index: 'ITEM_CLASS_NM', name: 'itemClassNm',
70 76
 					label: ITP_MSG_LOCALE.label.itemClassNm, //품목분류
71
-					width: '15', fixed: false, align: 'center',
77
+					width: '12', fixed: false, align: 'center',
72 78
 					sortable: false, hidden: false
73 79
 			},
74 80
 			{
@@ -92,13 +98,13 @@ const gridColModel = {
92 98
 			{
93 99
 					index: 'PCH_ITEM_YN', name: 'pchItemYn',
94 100
 					label: ITP_MSG_LOCALE.label.pchItemYn, //구매품목여부
95
-					width: '6', fixed: false, align: 'center',
101
+					width: '8', fixed: false, align: 'center',
96 102
 					sortable: false, hidden: false
97 103
 			},
98 104
 			{
99 105
 					index: 'SALE_ITEM_YN', name: 'saleItemYn',
100 106
 					label: ITP_MSG_LOCALE.label.saleItemYn, //판매품목여부
101
-					width: '10', fixed: false, align: 'center',
107
+					width: '8', fixed: false, align: 'center',
102 108
 					sortable: false, hidden: false
103 109
 			},
104 110
 	],
@@ -145,6 +151,7 @@ let pageObj = {
145 151
 			this.event.init();
146 152
 			this.fileUpload();
147 153
 			storeSpplyObj.init();
154
+			$('#ITP_FORM_VENDINFO02010_SEARCH_SPPLY_ID').val("SPY221000002");
148 155
 	},
149 156
 	ui: {
150 157
 			init: function () {
@@ -364,7 +371,7 @@ let listObj = {
364 371
 					let param = $('#ITP_FORM_VENDINFO02010_SEARCH').serializeObject();
365 372
 					param.gridSize = $.jgrid.defaults.rowNum;
366 373
 					param.gridPage = $.jgrid.defaults.page;
367
-					$(VENDINFO02010_GRID_ID).setGridParam({'url': url,'data': JSON.stringify(param)}).trigger('reloadGrid');
374
+					$(VENDINFO02010_GRID_ID).setGridParam({'postData': JSON.stringify(param)}).trigger('reloadGrid');
368 375
 			},
369 376
 			create: function() {
370 377
 					if(!fn_make_user_info.isEmpty()) {
@@ -414,9 +421,9 @@ let listObj = {
414 421
 			colModel: gridColModel.list,
415 422
 			search: function() {
416 423
 					pageObj.switchScreen('LIST');
417
-					this.unload();
418
-					this.localLoad();
419
-//					this.load();
424
+//					this.unload();
425
+//					this.localLoad();
426
+					this.load();
420 427
 			},
421 428
 			localLoad: function() {
422 429
 				var option = {

+ 2 - 13
src/main/webapp/js/app/vendinfo/ITP_VENDINFO03010.js

@@ -38,12 +38,6 @@ const gridColModel = {
38 38
 			width: '7', fixed: false, align: 'center',
39 39
 			sortable: false, hidden: false
40 40
 		},
41
-		{
42
-			index: 'STDD_QTY', name: 'stddQty',
43
-			label: ITP_MSG_LOCALE.label.stddQty, 	//기준수량
44
-			width: '7', fixed: false, align: 'center',
45
-			sortable: false, hidden: false
46
-		},
47 41
 		{
48 42
 			index: 'CURR', name: 'curr',
49 43
 			label: ITP_MSG_LOCALE.label.curr, 		//통화
@@ -54,7 +48,8 @@ const gridColModel = {
54 48
 			index: 'UNIT_AMT', name: 'unitAmt',
55 49
 			label: ITP_MSG_LOCALE.label.unitAmt, 	//단가
56 50
 			width: '7', fixed: false, align: 'center',
57
-			sortable: false, hidden: false
51
+			sortable: false, hidden: false,
52
+			formatter: 'integer', formatoptions: {thousandsSeparator: ','}
58 53
 		},
59 54
 		{
60 55
 			index: 'CONT_STT_DT', name: 'contSttDt',
@@ -74,12 +69,6 @@ const gridColModel = {
74 69
 			width: '7', fixed: false, align: 'center',
75 70
 			sortable: false, hidden: false
76 71
 		},
77
-		{
78
-			index: 'REG_DT', name: 'regDt',
79
-			label: ITP_MSG_LOCALE.label.regDt, 		//등록일
80
-			width: '8', fixed: false, align: 'center',
81
-			sortable: false, hidden: false
82
-		},
83 72
 		{
84 73
 			index: 'UNIT_ST_NM', name: 'unitStNm',
85 74
 			label: ITP_MSG_LOCALE.label.status, 	//상태