Просмотр исходного кода

상품상세-옵션코드추가

jmh 4 лет назад
Родитель
Сommit
c2b13be289
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      src/main/webapp/WEB-INF/views/goods/GoodsDetailSizeStockForm.html

+ 5 - 1
src/main/webapp/WEB-INF/views/goods/GoodsDetailSizeStockForm.html

@@ -57,6 +57,7 @@
 			<col width="10%"/>
 			<col width="15%"/>
 			<col/>
+			<col width="10%"/>
 			<col width="7%"/>
 			<col width="7%"/>
 			<col width="5%"/>
@@ -84,6 +85,7 @@
 			<th>상품코드</th>
 			<th>옵션1(색상)</th>
 			<th>옵션2(사이즈)</th>
+			<th>옵션코드</th>
 			<th>추가가격</th>
 			<th>노출순서</th>
 			<th>노출여부</th>
@@ -100,12 +102,14 @@
 			<td th:rowspan="${goodsSize.rcount}" th:text="${goodsSize.compsGoodsCd}" th:if="${goodsSize.rnum == 1}"></td>
 			<td><th:block th:text="${goodsSize.optCd1}"></th:block>
 				<input type="hidden" name="compsGoodsCd" th:value="${goodsSize.compsGoodsCd}" />
-				<input type="hidden" name="optCd" th:value="${goodsSize.optCd}" />
 				<input type="hidden" name="optCd1" th:value="${goodsSize.optCd1}" />
 			</td>
 			<td><th:block th:text="${goodsSize.optCd2}"></th:block>
 				<input type="hidden" name="optCd2" th:value="${goodsSize.optCd2}" />
 			</td>
+			<td><th:block th:text="${goodsSize.optCd}"></th:block>
+				<input type="hidden" name="optCd" th:value="${goodsSize.optCd}" />
+			</td>
 			<td><input type="text" class="w100p aR" name="addPrice" th:value="${goodsSize.addPrice}"  maxlength="7"  data-valid-type="numeric"/>
 				<input type="hidden" name="hidAddPrice" th:value="${goodsSize.addPrice}" />
 			</td>