|
|
@@ -176,20 +176,24 @@
|
|
|
<option th:if="${roleList}" th:each="oneData, status : ${roleList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}" th:selected="${roleCd == oneData.cd}"></option>
|
|
|
</select>
|
|
|
</td>
|
|
|
- <th><span id="detailRoleRefVal">업체</span></th>
|
|
|
+ <th>
|
|
|
+ <span id="detailRoleRefVal" th:if="${userInfo.roleCd == 'G001_B000'}">업체</span>
|
|
|
+ <span id="detailRoleRefVal" th:if="${userInfo.roleCd == 'G001_C000'}">외부몰벤더</span>
|
|
|
+ <span id="detailRoleRefVal" th:if="${userInfo.roleCd == 'G001_D000'}">제휴채널</span>
|
|
|
+ </th>
|
|
|
<td>
|
|
|
<input type="hidden" name="roleRefVal" th:value="${userInfo.roleRefVal}"/>
|
|
|
- <select name="supplyCompCd">
|
|
|
+ <select name="supplyCompCd" th:style="${userInfo.roleCd == 'G001_B000' ? '' : 'display: none'}">
|
|
|
<option th:if="${sessionInfo.supplyCompCd == null}" value="">[선택]</option>
|
|
|
<option th:if="${supplyCompList}" th:each="oneData, status : ${supplyCompList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}" th:selected="${userInfo.roleRefVal == oneData.cd}"></option>
|
|
|
</select>
|
|
|
- <select name="vendorId" style="display: none">
|
|
|
+ <select name="vendorId" th:style="${userInfo.roleCd == 'G001_C000' ? '' : 'display: none'}">
|
|
|
<option th:if="${sessionInfo.vendorId == null}" value="">[선택]</option>
|
|
|
<option th:if="${vendorList}" th:each="oneData, status : ${vendorList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}" th:selected="${userInfo.roleRefVal == oneData.cd}"></option>
|
|
|
</select>
|
|
|
- <select name="afLinkCd" style="display: none">
|
|
|
+ <select name="afLinkCd" th:style="${userInfo.roleCd == 'G001_D000' ? '' : 'display: none'}">
|
|
|
<option th:if="${sessionInfo.afLinkCd == null}" value="">[선택]</option>
|
|
|
- <option th:if="${afLinkList}" th:each="oneData, status : ${afLinkList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
|
+ <option th:if="${afLinkList}" th:each="oneData, status : ${afLinkList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}" th:selected="${userInfo.roleRefVal == oneData.cd}"></option>
|
|
|
</select>
|
|
|
</td>
|
|
|
</tr>
|