|
@@ -167,7 +167,8 @@ var columnDefs = [
|
|
|
{headerName: "업체상품코드", field:"supplyGoodsCd", width:100, cellClass: 'text-center'},
|
|
{headerName: "업체상품코드", field:"supplyGoodsCd", width:100, cellClass: 'text-center'},
|
|
|
{headerName: "상품코드", field:"goodsCd", width:100, cellClass: 'text-center'},
|
|
{headerName: "상품코드", field:"goodsCd", width:100, cellClass: 'text-center'},
|
|
|
{headerName: "상품명", field:"goodsNm", width:100, cellClass: 'text-center'},
|
|
{headerName: "상품명", field:"goodsNm", width:100, cellClass: 'text-center'},
|
|
|
- {headerName: "사이즈", field:"optCd2", width:100, cellClass: 'text-center'},
|
|
|
|
|
|
|
+ {headerName: "옵션1", field:"optCd1", width:100, cellClass: 'text-center'},
|
|
|
|
|
+ {headerName: "옵션2", field:"optCd2", width:100, cellClass: 'text-center'},
|
|
|
{headerName: "주문수량", field:"ordQty", width:100, cellClass: 'text-center'},
|
|
{headerName: "주문수량", field:"ordQty", width:100, cellClass: 'text-center'},
|
|
|
{headerName: "취소수량", field:"cnclRtnQty", width:100, cellClass: 'text-center'},
|
|
{headerName: "취소수량", field:"cnclRtnQty", width:100, cellClass: 'text-center'},
|
|
|
{headerName: "주문금액", field:"ordAmt", width:100, cellClass: 'text-center'},
|
|
{headerName: "주문금액", field:"ordAmt", width:100, cellClass: 'text-center'},
|
|
@@ -207,14 +208,16 @@ var fnSearch = function() {
|
|
|
var ordNo = $('#searchForm input[name=ordNo]').val();
|
|
var ordNo = $('#searchForm input[name=ordNo]').val();
|
|
|
var stDate = $('#stDate').val();
|
|
var stDate = $('#stDate').val();
|
|
|
var edDate = $('#edDate').val();
|
|
var edDate = $('#edDate').val();
|
|
|
-
|
|
|
|
|
- if (gagajf.isNull(ordNo)) {
|
|
|
|
|
- if (gagajf.isNull(stDate)) {
|
|
|
|
|
- mcxDialog.alert('시작 기간을 입력하세요.');
|
|
|
|
|
|
|
+
|
|
|
|
|
+ if (!gagajf.isNull(stDate)) {
|
|
|
|
|
+ if (gagajf.isNull(edDate)) {
|
|
|
|
|
+ mcxDialog.alert('종료 기간을 입력하세요.');
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- if (gagajf.isNull(edDate)) {
|
|
|
|
|
|
|
+ if (!gagajf.isNull(edDate)) {
|
|
|
|
|
+ if (gagajf.isNull(stDate)) {
|
|
|
mcxDialog.alert('종료 기간을 입력하세요.');
|
|
mcxDialog.alert('종료 기간을 입력하세요.');
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|