|
|
@@ -69,22 +69,26 @@
|
|
|
|
|
|
<th>업체/브랜드<em class="required" title="필수"></em></th>
|
|
|
<td colspan="3">
|
|
|
- <label class="rdoBtn"><input type="radio" name="selfYn" id="selfYnY" value="Y" >자사</label>
|
|
|
- <label class="rdoBtn"><input type="radio" name="selfYn" id="selfYnN" value="N" >입점</label>
|
|
|
- <select name="supplyCompCd" id="supplyCompCd">
|
|
|
- <option value="" th:if="${sessionInfo.roleCd} != 'G001_B000'">[전체]</option>
|
|
|
- <option th:if="${supplyCompList}" th:each="oneData, status : ${supplyCompList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
|
- </select>
|
|
|
- <span id="multiBrand"></span>
|
|
|
+ <select name="supplyCompCd" id="supplyCompCd">
|
|
|
+ <option value="">[전체]</option>
|
|
|
+ <option th:if="${supplyCompList}" th:each="oneData, status : ${supplyCompList}" th:value="${oneData.cd}" th:text="${oneData.cdNm}"></option>
|
|
|
+ </select>
|
|
|
+ /
|
|
|
+ <span id="multiBrand"></span>
|
|
|
</td>
|
|
|
|
|
|
- <th>브랜드<em class="required" title="필수"></em></th>
|
|
|
+ <th>주문상세상태</th>
|
|
|
<td>
|
|
|
- <input type="text" class="w100" name="searchTxt" id="searchTxt" maxlength="20" />
|
|
|
- <button type="button" class="btn icn" id="btnSearchBrand"><i class="fa fa-search"></i></button>
|
|
|
- <!-- <input type="text" class="w100" name="brandCd" readonly="readonly"/> -->
|
|
|
- <span id="brandText"></span>
|
|
|
- <input type="hidden" name="brandList"/>
|
|
|
+ <div class="multiCheckBox" style="width:270px">
|
|
|
+ <button type="button" class="sltBtn" data-name="[전체]" style="overflow-x: hidden; padding-right:5px;">[전체]</button>
|
|
|
+ <ul style="display: none; box-shadow: 3px 3px 3px; overflow-y: scroll; height: 112px;" id="group1">
|
|
|
+ <li th:if="${ordDtlStatList}" th:each="oneData, status : ${ordDtlStatList}">
|
|
|
+ <label class="chkBox" data-group="group1">
|
|
|
+ <input type="checkbox" name="multiOrdDtlStat" th:value="${oneData.cd}" th:text="|[${oneData.cd}] ${oneData.cdNm}|">
|
|
|
+ </label>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
@@ -124,48 +128,27 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th>출고처유형</th>
|
|
|
+ <th>출고유형</th>
|
|
|
<td>
|
|
|
- <select class="w150" name="delvLocClsf" id="delvLocClsf">
|
|
|
- <option value="">[전체]</option>
|
|
|
- <option th:if="${delvTypeList}" th:each="oneData, status : ${delvTypeList}" th:value="${oneData.cd}" th:text="| ${oneData.cdNm}|"></option>
|
|
|
+ <select class="w150" name="shotDelvYn" id="shotDelvYn">
|
|
|
+ <option value="">전체</option>
|
|
|
+ <option value="N">일반배송</option>
|
|
|
+ <option value="Y">총알배송</option>
|
|
|
</select>
|
|
|
+
|
|
|
</td>
|
|
|
<th>출고처</th>
|
|
|
<td>
|
|
|
<select name="delvLocCd" id="delvLocCd">
|
|
|
<option value="">[전체]</option>
|
|
|
- <option th:if="${deliveryLocList}" th:each="oneData, status : ${deliveryLocList}" th:value="${oneData.cd}" th:text="${oneData.cdNm}"></option>
|
|
|
+ <option th:if="${deliveryLocList}" th:each="oneData, status : ${deliveryLocList}" th:value="${oneData.cd}" th:text="|[${oneData.cd}] ${oneData.cdNm}|"></option>
|
|
|
</select>
|
|
|
</td>
|
|
|
- <th>주문상세상태</th>
|
|
|
- <td>
|
|
|
- <div class="multiCheckBox" style="width:270px">
|
|
|
- <button type="button" class="sltBtn" data-name="[전체]" style="overflow-x: hidden; padding-right:5px;">[전체]</button>
|
|
|
- <ul style="display: none; box-shadow: 3px 3px 3px; overflow-y: scroll; height: 112px;" id="group1">
|
|
|
- <li th:if="${ordDtlStatList}" th:each="oneData, status : ${ordDtlStatList}">
|
|
|
- <label class="chkBox" data-group="group1">
|
|
|
- <input type="checkbox" name="multiOrdDtlStat" th:value="${oneData.cd}" th:text="|[${oneData.cd}] ${oneData.cdNm}|">
|
|
|
- </label>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
<th>배송지연일</th>
|
|
|
<td>
|
|
|
<input type="text" class="" name="delvDelayDays" data-valid-type="integer" placeholder="" maxlength="3" style="width:20%;"/>일
|
|
|
이상(결제일 기준)
|
|
|
</td>
|
|
|
- <th>결품여부</th>
|
|
|
- <td>
|
|
|
- <select name="soldoutYn" id="soldoutYn">
|
|
|
- <option value="">[전체]</option>
|
|
|
- <option value="Y">Yes</option>
|
|
|
- <option value="N" selected>No</option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>기간</th>
|
|
|
@@ -182,7 +165,7 @@
|
|
|
<ul class="panelBar">
|
|
|
<li class="center">
|
|
|
<button type="button" class="btn btn-base btn-lg" id="btnSearch">조회</button>
|
|
|
- <button type="button" class="btn btn-gray btn-lg" onclick="$('#searchForm')[0].reset(); fnInitCalendar();">초기화</button>
|
|
|
+ <button type="button" class="btn btn-gray btn-lg" onclick="$('#searchForm')[0].reset(); fnInitCalendar(); $('#multiBrand').empty();">초기화</button>
|
|
|
<button type="button" id="btnExcel" class="btn btn-info btn-lg">엑셀다운로드</button>
|
|
|
</li>
|
|
|
</ul>
|
|
|
@@ -241,7 +224,7 @@
|
|
|
headerCheckboxSelectionFilteredOnly: true
|
|
|
,
|
|
|
checkboxSelection: function (params) {
|
|
|
- return (params.data.ordDtlStat == 'G013_20' || params.data.ordDtlStat == 'G013_25') ? true : false;
|
|
|
+ return (params.data.ordDtlStat == 'G013_20') ? true : false;
|
|
|
}
|
|
|
},
|
|
|
{headerName: "지연일", field: "delvDelayDays", width: 70, cellClass: 'text-center'},
|
|
|
@@ -365,9 +348,11 @@
|
|
|
}
|
|
|
},
|
|
|
{headerName: "외부몰주문번호", field: "extmallOrderId",width: 150, cellClass: 'text-left'},
|
|
|
- {headerName: "에이전트주문번호", field: "agentOrderId", width: 150, cellClass: 'text-left'},
|
|
|
- {headerName: "결품여부", field: "soldoutYn", width: 80, cellClass: 'text-center'},
|
|
|
+ {headerName: "샵링커주문번호", field: "agentOrderId", width: 150, cellClass: 'text-left'},
|
|
|
{headerName: "배송메모", field: "delvMemo", width: 200, cellClass: 'text-left'},
|
|
|
+ {headerName: "우편번호", field: "recipZipcode", width: 80, cellClass: 'text-center'},
|
|
|
+ {headerName: "기본주소", field: "recipBaseAddr", width: 200, cellClass: 'text-left'},
|
|
|
+ {headerName: "상세주소", field: "recipDtlAddr", width: 200, cellClass: 'text-left'},
|
|
|
{headerName: "product_no", field: "productNo", width: 100, cellClass: 'text-center'},
|
|
|
{headerName: "product_code",field: "productCode", width: 100, cellClass: 'text-center'}
|
|
|
|
|
|
@@ -553,44 +538,25 @@
|
|
|
cfnOpenModalPopup(actionUrl, 'popupChangeInvoice');
|
|
|
};
|
|
|
|
|
|
-
|
|
|
/*************************************************************************
|
|
|
- * 자사/입점 변경여부
|
|
|
- **************************************************************************/
|
|
|
- $("#searchForm input[name=selfYn]").bind('click change', function () {
|
|
|
- var radioValue = $(this).val();
|
|
|
- var selfGb = "S"; // 자사 공급 업체
|
|
|
+ * 업체 콤보박스 변경 시
|
|
|
+ **************************************************************************/
|
|
|
+ $('#searchForm select[name=supplyCompCd]').on('change', function() {
|
|
|
+ var actionUrl = '/renderer/supplyCompany/brand/list/'+ $(this).val();
|
|
|
|
|
|
- if (radioValue == "N"){
|
|
|
- selfGb = "E"; //입점 공급업체
|
|
|
- }
|
|
|
+ cfnCreateMultiCombo(actionUrl, "multiBrand", "[전체]", null, 'Y');
|
|
|
|
|
|
- var actionUrl = '/renderer/supply/company/list/'+ selfGb;
|
|
|
-
|
|
|
- $('#searchForm').find('#multiBrand').empty();
|
|
|
-
|
|
|
- cfnCreateCombo(actionUrl, $('#searchForm select[name=supplyCompCd]'), "[전체]", "");
|
|
|
- });
|
|
|
-
|
|
|
- /*************************************************************************
|
|
|
- * 업체변경시
|
|
|
- **************************************************************************/
|
|
|
- $('#searchForm select[name=supplyCompCd]').on('change', function() {
|
|
|
- var actionUrl = '/renderer/supplyCompany/brand/list/' + $(this).val();
|
|
|
-
|
|
|
- if(roleCd == "G001_B000"){
|
|
|
- actionUrl = '/renderer/brand/AuthBrandlist';
|
|
|
- }
|
|
|
-
|
|
|
- cfnCreateMultiCombo(actionUrl,"multiBrand", "[전체]",null, 'Y');
|
|
|
|
|
|
var actionUrl2 = '/renderer/delvloc/list/'+ $(this).val();
|
|
|
|
|
|
cfnCreateCombo(actionUrl2, $('#searchForm select[name=delvLocCd]'), "[전체]");
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
});
|
|
|
|
|
|
+
|
|
|
+
|
|
|
/*************************************************************************
|
|
|
* init
|
|
|
**************************************************************************/
|
|
|
@@ -600,9 +566,7 @@
|
|
|
cfnCreateCalendar('#terms', 'stDate', 'edDate', true, '주문', '', hideList);
|
|
|
$(".btnToday").trigger('click');
|
|
|
$('#searchForm select[name=mallGb]').trigger('change');
|
|
|
- $("#searchForm input[name=selfYn]").trigger('click');
|
|
|
- $("#searchForm input[name='selfYn']:radio[value='Y']").prop('checked',true);
|
|
|
-
|
|
|
+ $('#searchForm').find('#multiBrand').empty();
|
|
|
});
|
|
|
|
|
|
/*]]>*/
|