|
@@ -743,7 +743,7 @@
|
|
|
<button type="button" class="btn btnLeft btn-base btn-lg" id="btnGoodsDetailPreview">미리보기</button>
|
|
<button type="button" class="btn btnLeft btn-base btn-lg" id="btnGoodsDetailPreview">미리보기</button>
|
|
|
</li> -->
|
|
</li> -->
|
|
|
<li class="right">
|
|
<li class="right">
|
|
|
- <th:block th:if="${sessionInfo.roleCd == 'G001_B000'}">
|
|
|
|
|
|
|
+ <th:block th:if="${sessionInfo.roleCd == 'G001_B000' or sessionInfo.roleCd == 'G001_E000'}">
|
|
|
<button type="button" class="btn btnRight btn-success btn-lg" id="btnGoodsDetailSave">저장</button>
|
|
<button type="button" class="btn btnRight btn-success btn-lg" id="btnGoodsDetailSave">저장</button>
|
|
|
</th:block>
|
|
</th:block>
|
|
|
</li>
|
|
</li>
|
|
@@ -1018,6 +1018,7 @@
|
|
|
fnDataLengthCheck('goodsSnm1',200);
|
|
fnDataLengthCheck('goodsSnm1',200);
|
|
|
$("#goodsDetailForm textarea[name=goodsSnmTxt]").val(result.goodsSnm);
|
|
$("#goodsDetailForm textarea[name=goodsSnmTxt]").val(result.goodsSnm);
|
|
|
$("#goodsDetailForm input[name=goodsSnm]").val(result.goodsSnm);
|
|
$("#goodsDetailForm input[name=goodsSnm]").val(result.goodsSnm);
|
|
|
|
|
+ // kjc
|
|
|
$('#goodsDetailForm').find('#listPriceTxt').html(result.listPrice.addComma());
|
|
$('#goodsDetailForm').find('#listPriceTxt').html(result.listPrice.addComma());
|
|
|
$('#goodsDetailForm input[name=listPrice]').val(result.listPrice);
|
|
$('#goodsDetailForm input[name=listPrice]').val(result.listPrice);
|
|
|
$('#goodsDetailForm input[name=currPrice]').val(result.currPrice.addComma());
|
|
$('#goodsDetailForm input[name=currPrice]').val(result.currPrice.addComma());
|
|
@@ -1650,6 +1651,11 @@
|
|
|
|
|
|
|
|
//상품저장 버튼 클릭 시
|
|
//상품저장 버튼 클릭 시
|
|
|
$('#btnGoodsDetailSave').click(function() {
|
|
$('#btnGoodsDetailSave').click(function() {
|
|
|
|
|
+ // 2021.11.25 card007 촬영업체는 가격 및 상품상태 수정불가 처리
|
|
|
|
|
+ if (sessRoleCd == "G001_E000") {
|
|
|
|
|
+ $("#goodsDetailForm input[name=currPrice]").val($("#goodsDetailForm input[name=currPriceOrg]").val());
|
|
|
|
|
+ $('#goodsDetailForm select[name=goodsStat]').val($("#goodsDetailForm input[name=goodsStatOrg]").val());
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
var optCheck = false;
|
|
var optCheck = false;
|
|
|
var idx = 0;
|
|
var idx = 0;
|