|
@@ -38,11 +38,11 @@
|
|
|
<table class="frmStyle">
|
|
<table class="frmStyle">
|
|
|
<colgroup>
|
|
<colgroup>
|
|
|
<col width="9%"/>
|
|
<col width="9%"/>
|
|
|
- <col width="16%"/>
|
|
|
|
|
|
|
+ <col width="18%"/>
|
|
|
<col width="9%"/>
|
|
<col width="9%"/>
|
|
|
- <col width="16%"/>
|
|
|
|
|
|
|
+ <col width="15%"/>
|
|
|
<col width="9%"/>
|
|
<col width="9%"/>
|
|
|
- <col width="16%"/>
|
|
|
|
|
|
|
+ <col width="15%"/>
|
|
|
<col width="9%"/>
|
|
<col width="9%"/>
|
|
|
<col/>
|
|
<col/>
|
|
|
</colgroup>
|
|
</colgroup>
|
|
@@ -57,43 +57,46 @@
|
|
|
<option value="">[전체]</option>
|
|
<option value="">[전체]</option>
|
|
|
</select>
|
|
</select>
|
|
|
</td>
|
|
</td>
|
|
|
- <th>품목</th>
|
|
|
|
|
- <td colspan="3">
|
|
|
|
|
- <select name="itemkindCd" id="itemkindCd">
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <th>정상/이월 구분</th>
|
|
|
|
|
+ <td>
|
|
|
|
|
+ <select name="formalGb" id="formalGb">
|
|
|
<option value="">[전체]</option>
|
|
<option value="">[전체]</option>
|
|
|
- <option th:if="${itemkindList}" th:each="oneData, status : ${itemkindList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
|
|
|
|
|
+ <option th:if="${formalGbList}" th:each="oneData, status : ${formalGbList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
|
</select>
|
|
</select>
|
|
|
</td>
|
|
</td>
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th>키워드<em class="required" title="필수"></em></th>
|
|
|
|
|
- <td colspan="3">
|
|
|
|
|
|
|
+ <th rowspan="4">키워드<em class="required" title="필수"></em></th>
|
|
|
|
|
+ <td rowspan="4">
|
|
|
<select name="search" id="search">
|
|
<select name="search" id="search">
|
|
|
<option value="searchGoodsCd">상품코드</option>
|
|
<option value="searchGoodsCd">상품코드</option>
|
|
|
<option value="searchGoodsNm">상품명</option>
|
|
<option value="searchGoodsNm">상품명</option>
|
|
|
<option value="searchGoodsNum">품번</option>
|
|
<option value="searchGoodsNum">품번</option>
|
|
|
<option value="searchSupplyGoodsCd">업체상품코드</option>
|
|
<option value="searchSupplyGoodsCd">업체상품코드</option>
|
|
|
</select>
|
|
</select>
|
|
|
- <input type="text" class="w150" name="condition" id="condition" maxlength="50"/>
|
|
|
|
|
|
|
+ <textarea class="textareaR3 w150" name="condition" id="condition"></textarea>
|
|
|
</td>
|
|
</td>
|
|
|
- <th>상품상태</th>
|
|
|
|
|
- <td>
|
|
|
|
|
- <select name="goodsStat" id="goodsStat">
|
|
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <th>품목</th>
|
|
|
|
|
+ <td colspan="3">
|
|
|
|
|
+ <select name="itemkindCd" id="itemkindCd">
|
|
|
<option value="">[전체]</option>
|
|
<option value="">[전체]</option>
|
|
|
- <option th:if="${goodsStatList}" th:each="oneData, status : ${goodsStatList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
|
|
|
|
|
+ <option th:if="${itemkindList}" th:each="oneData, status : ${itemkindList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
|
</select>
|
|
</select>
|
|
|
</td>
|
|
</td>
|
|
|
- <th>정상/이월 구분</th>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <th>상품상태</th>
|
|
|
<td>
|
|
<td>
|
|
|
- <select name="formalGb" id="formalGb">
|
|
|
|
|
|
|
+ <select name="goodsStat" id="goodsStat">
|
|
|
<option value="">[전체]</option>
|
|
<option value="">[전체]</option>
|
|
|
- <option th:if="${formalGbList}" th:each="oneData, status : ${formalGbList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
|
|
|
|
|
+ <option th:if="${goodsStatList}" th:each="oneData, status : ${goodsStatList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
|
</select>
|
|
</select>
|
|
|
</td>
|
|
</td>
|
|
|
|
|
+
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<th>년도/시즌</th>
|
|
<th>년도/시즌</th>
|
|
|
- <td colspan="3">
|
|
|
|
|
|
|
+ <td>
|
|
|
<select name="styleYear" id="styleYear">
|
|
<select name="styleYear" id="styleYear">
|
|
|
<option value="">[전체]</option>
|
|
<option value="">[전체]</option>
|
|
|
<option th:if="${styleYearList}" th:each="oneData, status : ${styleYearList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
<option th:if="${styleYearList}" th:each="oneData, status : ${styleYearList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
@@ -132,7 +135,7 @@
|
|
|
</select>
|
|
</select>
|
|
|
</td>
|
|
</td>
|
|
|
<th>재고수량</th>
|
|
<th>재고수량</th>
|
|
|
- <td colspan="3">
|
|
|
|
|
|
|
+ <td>
|
|
|
<input type="text" class="w70" name="stockQtySt" id="stockQtySt" maxlength="5" data-valid-type="numeric"/> ~ <input type="text" class="w70" name="stockQtyEd" id="stockQtyEd" maxlength="5" data-valid-type="numeric"/>
|
|
<input type="text" class="w70" name="stockQtySt" id="stockQtySt" maxlength="5" data-valid-type="numeric"/> ~ <input type="text" class="w70" name="stockQtyEd" id="stockQtyEd" maxlength="5" data-valid-type="numeric"/>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
@@ -204,7 +207,15 @@
|
|
|
valueGetter: function(params) { return cfnGridNumner('goodsSizeStockForm',params.node.rowIndex, 'A');}
|
|
valueGetter: function(params) { return cfnGridNumner('goodsSizeStockForm',params.node.rowIndex, 'A');}
|
|
|
},
|
|
},
|
|
|
{headerName: "브랜드명", field: "brandEnm", width: 130, cellClass: 'text-center'},
|
|
{headerName: "브랜드명", field: "brandEnm", width: 130, cellClass: 'text-center'},
|
|
|
- {headerName: "상품명", field: "goodsNm", width: 200, cellClass: 'text-left'},
|
|
|
|
|
|
|
+ {headerName: "상품명", field: "goodsNm", width: 200, cellClass: 'text-left',
|
|
|
|
|
+ cellRenderer: function(params) {
|
|
|
|
|
+ if (params.data.sizeSoldoutYn == "Y"){
|
|
|
|
|
+ return '<a href="javascript:void(0);" style="color:red">' + params.value + '</a>';
|
|
|
|
|
+ }else{
|
|
|
|
|
+ return '<a href="javascript:void(0);">' + params.value + '</a>';
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
{headerName: "품목", field: "itemkindNm", width: 180, cellClass: 'text-left',
|
|
{headerName: "품목", field: "itemkindNm", width: 180, cellClass: 'text-left',
|
|
|
cellRenderer: function (params) {
|
|
cellRenderer: function (params) {
|
|
|
if (gagajf.isNull( params.value)){
|
|
if (gagajf.isNull( params.value)){
|
|
@@ -219,15 +230,7 @@
|
|
|
valueFormatter: function (params) { return gagaAgGrid.lookupValue(goodsStatList, params.value); },
|
|
valueFormatter: function (params) { return gagaAgGrid.lookupValue(goodsStatList, params.value); },
|
|
|
valueParser: function (params) { return gagaAgGrid.lookupKey(goodsStatList, params.newValue); }
|
|
valueParser: function (params) { return gagaAgGrid.lookupKey(goodsStatList, params.newValue); }
|
|
|
},
|
|
},
|
|
|
- {headerName: "상품코드", field: "goodsCd", width: 140, cellClass: 'text-center',
|
|
|
|
|
- cellRenderer: function(params) {
|
|
|
|
|
- if (params.data.sizeSoldoutYn == "Y"){
|
|
|
|
|
- return '<a href="javascript:void(0);" style="color:red">' + params.value + '</a>';
|
|
|
|
|
- }else{
|
|
|
|
|
- return '<a href="javascript:void(0);">' + params.value + '</a>';
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {headerName: "상품코드", field: "goodsCd", width: 140, cellClass: 'text-center'},
|
|
|
{headerName: "색상", field: "optCd1", width: 100, cellClass: 'text-center'},
|
|
{headerName: "색상", field: "optCd1", width: 100, cellClass: 'text-center'},
|
|
|
{headerName: "사이즈", field: "optCd2", width: 100, cellClass: 'text-center'},
|
|
{headerName: "사이즈", field: "optCd2", width: 100, cellClass: 'text-center'},
|
|
|
{headerName: "품절여부", field: "soldoutYn", width: 100, cellClass: 'text-center',
|
|
{headerName: "품절여부", field: "soldoutYn", width: 100, cellClass: 'text-center',
|
|
@@ -272,7 +275,7 @@
|
|
|
// Row Click
|
|
// Row Click
|
|
|
gridOptions.onCellClicked = function(event) {
|
|
gridOptions.onCellClicked = function(event) {
|
|
|
var goodsCd = event.data.goodsCd;
|
|
var goodsCd = event.data.goodsCd;
|
|
|
- if (event.colDef.field == "goodsCd"){
|
|
|
|
|
|
|
+ if (event.colDef.field == "goodsNm"){
|
|
|
cfnOpenGoodsDetailPopup('U',goodsCd);
|
|
cfnOpenGoodsDetailPopup('U',goodsCd);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|