Browse Source

공급사-기본정보 품목현황, 출하현황 세부수정

yhl88 2 years ago
parent
commit
f369be7824

+ 1 - 1
src/main/webapp/app/vendinfo/VENDINFO02010.html

@@ -177,7 +177,7 @@
177
 										<div class="form-group border">
177
 										<div class="form-group border">
178
 											<label class="col-xs-2 itp_lb">품목이미지</label>
178
 											<label class="col-xs-2 itp_lb">품목이미지</label>
179
 											<div class="col-xs-12 itp_ip colspan">
179
 											<div class="col-xs-12 itp_ip colspan">
180
-												<div class="col-xs-1 itp_in fnItemImage" style="width:auto;"></div>
180
+												<div id="ITP_FORM_VENDINFO02010_VIEW_FILE" class="col-xs-1 itp_in fnItemImage" style="width:auto;"></div>
181
 											</div>
181
 											</div>
182
 										</div>
182
 										</div>
183
 									</div>
183
 									</div>

+ 10 - 10
src/main/webapp/js/app/inoutmng/ITP_INOUTMNG02010.js

@@ -38,15 +38,15 @@ const gridColModel = {
38
 		{
38
 		{
39
 			index: 'SHMT_REQ_UNQ_NO', name: 'shmtReqUnqNo',
39
 			index: 'SHMT_REQ_UNQ_NO', name: 'shmtReqUnqNo',
40
 			label: ITP_MSG_LOCALE.label.shmtReqUnqNo,			// 출하지시번호
40
 			label: ITP_MSG_LOCALE.label.shmtReqUnqNo,			// 출하지시번호
41
-			minwidth: 140,
42
-			width: '10', fixed: false, align: 'center',
41
+			minwidth: 130,
42
+			width: '9', fixed: false, align: 'center',
43
 			sortable: false, hidden: false
43
 			sortable: false, hidden: false
44
 		},
44
 		},
45
 		{
45
 		{
46
 			index: 'PCH_PODR_UNQ_NO', name: 'pchPodrUnqNo',
46
 			index: 'PCH_PODR_UNQ_NO', name: 'pchPodrUnqNo',
47
 			label: ITP_MSG_LOCALE.label.pchPodrUnqNo,			// 발주번호
47
 			label: ITP_MSG_LOCALE.label.pchPodrUnqNo,			// 발주번호
48
-			minwidth: 140,
49
-			width: '10', fixed: false, align: 'center',
48
+			minwidth: 130,
49
+			width: '9', fixed: false, align: 'center',
50
 			sortable: false, hidden: false
50
 			sortable: false, hidden: false
51
 		},
51
 		},
52
 		{
52
 		{
@@ -58,8 +58,8 @@ const gridColModel = {
58
 		{
58
 		{
59
 			index: 'SHMT_REQ_ST_CD', name: 'shmtReqStCd',
59
 			index: 'SHMT_REQ_ST_CD', name: 'shmtReqStCd',
60
 			label: ITP_MSG_LOCALE.label.shmtReqStCd,			// 출하상태코드
60
 			label: ITP_MSG_LOCALE.label.shmtReqStCd,			// 출하상태코드
61
-			minwidth: 120,
62
-			width: '9', fixed: false, align: 'center',
61
+			minwidth: 100,
62
+			width: '7', fixed: false, align: 'center',
63
 			sortable: false, hidden: false, formatter: 'select', edittype: 'select',
63
 			sortable: false, hidden: false, formatter: 'select', edittype: 'select',
64
 			editoptions: {value: ITP_PODR_DTL_ST_CD}
64
 			editoptions: {value: ITP_PODR_DTL_ST_CD}
65
 		},
65
 		},
@@ -87,14 +87,14 @@ const gridColModel = {
87
 		{
87
 		{
88
 			index: 'SHMT_QTY', name: 'shmtQty',
88
 			index: 'SHMT_QTY', name: 'shmtQty',
89
 			label: ITP_MSG_LOCALE.label.shmtQty,				// 출하수량
89
 			label: ITP_MSG_LOCALE.label.shmtQty,				// 출하수량
90
-			width: '12', fixed: false, align: 'right',
90
+			width: '13', fixed: false, align: 'right',
91
 			sortable: false, hidden: false,
91
 			sortable: false, hidden: false,
92
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
92
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
93
 		},
93
 		},
94
 		{
94
 		{
95
 			index: 'SHMT_AMT', name: 'shmtAmt',
95
 			index: 'SHMT_AMT', name: 'shmtAmt',
96
 			label: ITP_MSG_LOCALE.label.shmtAmt,				// 출하금액
96
 			label: ITP_MSG_LOCALE.label.shmtAmt,				// 출하금액
97
-			width: '12', fixed: false, align: 'right',
97
+			width: '13', fixed: false, align: 'right',
98
 			minwidth: 80,
98
 			minwidth: 80,
99
 			sortable: false, hidden: false,
99
 			sortable: false, hidden: false,
100
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
100
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
@@ -102,14 +102,14 @@ const gridColModel = {
102
 		{
102
 		{
103
 			index: 'WHS_QTY', name: 'whsQty',
103
 			index: 'WHS_QTY', name: 'whsQty',
104
 			label: ITP_MSG_LOCALE.label.whsQty,					// 입고수량
104
 			label: ITP_MSG_LOCALE.label.whsQty,					// 입고수량
105
-			width: '12', fixed: false, align: 'right',
105
+			width: '13', fixed: false, align: 'right',
106
 			sortable: false, hidden: false,
106
 			sortable: false, hidden: false,
107
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
107
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
108
 		},
108
 		},
109
 		{
109
 		{
110
 			index: 'WHS_AMT', name: 'whsAmt',
110
 			index: 'WHS_AMT', name: 'whsAmt',
111
 			label: ITP_MSG_LOCALE.label.whsAmt,					// 입고금액
111
 			label: ITP_MSG_LOCALE.label.whsAmt,					// 입고금액
112
-			width: '12', fixed: false, align: 'right',
112
+			width: '13', fixed: false, align: 'right',
113
 			sortable: false, hidden: false,
113
 			sortable: false, hidden: false,
114
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
114
 			formatter:'integer',formatoptions: { defaultValue: '', thousandsSeparator: ',' }
115
 		},
115
 		},

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

@@ -635,7 +635,7 @@ let viewObj = {
635
 
635
 
636
 		}
636
 		}
637
         $('#ITP_FORM_STINFO04010_VIEW .fnItemClass1').text(itemClassNm);
637
         $('#ITP_FORM_STINFO04010_VIEW .fnItemClass1').text(itemClassNm);
638
-        $('#ITP_FORM_STINFO04010_VIEW .fnItemClassMgntNo').text(result.itemClassMgntNo);
638
+        $('#ITP_FORM_STINFO04010_VIEW .fnItemClassMgntNo').text(result.itemId);
639
         $('#ITP_FORM_STINFO04010_VIEW .fnItemTypeNm').text(result.itemTypeNm);
639
         $('#ITP_FORM_STINFO04010_VIEW .fnItemTypeNm').text(result.itemTypeNm);
640
         
640
         
641
         $('#ITP_FORM_STINFO04010_VIEW .fnItemNm').text(result.itemNm);
641
         $('#ITP_FORM_STINFO04010_VIEW .fnItemNm').text(result.itemNm);

+ 2 - 0
src/main/webapp/js/app/vendinfo/ITP_VENDINFO02010.js

@@ -254,6 +254,8 @@ let viewObj = {
254
 	},
254
 	},
255
 	button: {
255
 	button: {
256
 		cancel: function() {
256
 		cancel: function() {
257
+			let childrens = $('#ITP_FORM_VENDINFO02010_VIEW_FILE').children();
258
+        	childrens.remove();
257
 			pageObj.switchScreen('LIST'); //취소 버튼은 listObj 에 grid 안 search에 적용
259
 			pageObj.switchScreen('LIST'); //취소 버튼은 listObj 에 grid 안 search에 적용
258
 		}
260
 		}
259
 	},
261
 	},