|
|
@@ -48,14 +48,14 @@ var columnDefs = [
|
|
|
{headerName: 'No', width: 60, cellClass: 'text-center', valueGetter: function(params) { return params.node.rowIndex + 1 }},
|
|
|
{headerName: "입점업체", field:"supplyCompNm", width:70, cellClass: 'text-center'},
|
|
|
{headerName: "입점업체코드", field:"supplyCompCd", width:80, cellClass: 'text-center', hide: true},
|
|
|
- {headerName: "브랜드", field:"brandKnm", width:80, cellClass: 'text-center'},
|
|
|
+ {headerName: "브랜드", field:"brandKnm", width:80, cellClass: 'text-center'},
|
|
|
{headerName: "주문번호", field:"ordNo", width:70, cellClass: 'text-center'},
|
|
|
{headerName: "주문상세번호", field:"ordDtlNo", width:100, cellClass: 'text-center'},
|
|
|
{headerName: "업체상품코드", field:"supplyGoodsCd", width:100, cellClass: 'text-center'},
|
|
|
{headerName: "상품코드", field:"goodsCd", width:100, cellClass: 'text-center'},
|
|
|
- {headerName: "상품명", field:"goodsNm", 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:"goodsNm", width:300, cellClass: 'text-center'},
|
|
|
+ {headerName: "옵션1", field:"optCd1", width:100, cellClass: 'text-center'},
|
|
|
+ {headerName: "옵션2", field:"optCd2", width:100, cellClass: 'text-center'},
|
|
|
{headerName: "배송업체", field:"shipCompCd", width:120, cellClass: 'text-center'
|
|
|
, valueFormatter: function (params) {
|
|
|
return gagaAgGrid.lookupValue(shipCompanyList, params.value);
|
|
|
@@ -67,33 +67,11 @@ var columnDefs = [
|
|
|
{headerName: "송장", field:"invoiceNo", width:120, cellClass: 'text-center'},
|
|
|
{headerName: "주문수량", field:"ordQty", width:100, cellClass: 'text-center'},
|
|
|
{headerName: "취소수량", field:"cnclRtnQty", width:100, cellClass: 'text-center'},
|
|
|
- {headerName: "출고수량", field:"delvQty", width:100, cellClass: 'text-center'},
|
|
|
- {headerName: "미출고수량", field:"cancelQty", width:100, cellClass: 'text-center'
|
|
|
- , editable : true
|
|
|
- , cellEditor : 'agRichSelectCellEditor'
|
|
|
- , cellStyle : {color: '#fffff', 'background-color': '#aaaaff'}
|
|
|
- , cellEditorParams : function(params){
|
|
|
- if(params.data.ordExchGb == "E") {
|
|
|
- return {value : [0]};
|
|
|
- } else {
|
|
|
- var qtyList = new Array();
|
|
|
- for(var i = 0 ; i <= params.data.ordQty ; i++) qtyList.push(i);
|
|
|
- return {values: qtyList};
|
|
|
- }
|
|
|
- },
|
|
|
- onCellValueChanged : function(params) {
|
|
|
- if(params.data.cancelQty > -1) {
|
|
|
- params.data.cnclRtnQty = params.data.cancelQty;
|
|
|
- params.data.delvQty = params.data.ordQty - params.data.cancelQty;
|
|
|
- gridOptions.api.refreshCells();
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
{headerName: "결품수량", field: "cnclRtnQty", width: 100, cellClass: 'text-center', hide: true},
|
|
|
- {headerName: "결제PG", field: "pgGb", width: 100, cellClass: 'text-center', hide: true},
|
|
|
+ {headerName: "결제PG", field: "pgGb", width: 100, cellClass: 'text-center', hide: true},
|
|
|
{headerName: "결제수단", field: "payMeans", width: 100, cellClass: 'text-center', hide: true},
|
|
|
{headerName: "고객번호", field: "custNo", width: 100, cellClass: 'text-center', hide: true},
|
|
|
- {headerName: "주문고객명", field: "ordNm", width: 100, cellClass: 'text-center', hide: true},
|
|
|
+ {headerName: "주문고객명", field: "ordNm", width: 100, cellClass: 'text-center', hide: true},
|
|
|
{headerName: "환불계좌은행코드", field: "bankCd", width: 100, cellClass: 'text-center', hide: true},
|
|
|
{headerName: "환불계좌예금주명", field: "accountNm", width: 100, cellClass: 'text-center', hide: true},
|
|
|
{headerName: "환불계좌번호", field: "accountNo", width: 100, cellClass: 'text-center', hide: true}
|