Ver código fonte

상품 추가팝업- 상품상태,상품타입 기본세팅수정

jmh 4 anos atrás
pai
commit
c7a6e719d5

+ 3 - 3
src/main/webapp/WEB-INF/views/goods/GoodsPopupListForm.html

@@ -60,7 +60,7 @@
 					<td>
 						<select name="goodsType" id="goodsType">
 							<option value="">[전체]</option>
-							<option th:if="${goodsTypeList}" th:each="oneData, status : ${goodsTypeList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
+							<option th:if="${goodsTypeList}" th:each="oneData, status : ${goodsTypeList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}" th:selected="${oneData.cd == 'G056_N'}"></option>
 						</select>
 					</td>	
 					<th rowspan="4">키워드<em class="required" title="필수"></em></th>
@@ -86,10 +86,10 @@
 					<th>상품상태</th>
 					<td>
 						<div class="multiCheckBox"  style="width:200px">
-							<button type="button" class="sltBtn" data-name="[전체]">[전체]</button>
+							<button type="button" class="sltBtn" data-name="[전체]" th:text="'[G008_90] 승인완료'">[전체]</button>
 							<ul style="overflow:auto; height:170px" id="grpPGoodsStat">
 								<li><label class="chkBox" onclick="uifnAllCheck(this,'grpPGoodsStat')"><input type="checkbox" name="전체선택" >전체선택</label></li>
-								<li th:if="${goodsStatList}" th:each="oneData, status : ${goodsStatList}"><label class="chkBox" data-group="grpPGoodsStat"><input type="checkbox" name="multiGoodsStat" th:id="${'goodsStat' + oneData.cd}" th:value="${oneData.cd}" ><th:block th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></th:block></label></li>
+								<li th:if="${goodsStatList}" th:each="oneData, status : ${goodsStatList}"><label class="chkBox" data-group="grpPGoodsStat"><input type="checkbox" name="multiGoodsStat" th:id="${'goodsStat' + oneData.cd}" th:value="${oneData.cd}" th:checked="${oneData.cd == 'G008_90'}"><th:block th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></th:block></label></li>
 							</ul>
 						</div>
 					</td>