|
|
@@ -95,7 +95,7 @@
|
|
|
<tr>
|
|
|
<th>업체코드</th>
|
|
|
<td>
|
|
|
- <input type="text" class="w150" name="supplyCompCd" placeholder="자동생성" maxlength="5" data-valid-name="업체코드" disabled="disabled"/>
|
|
|
+ <input type="text" class="w150" name="supplyCompCd" placeholder="자동생성" maxlength="5" data-valid-name="업체코드" readonly="readonly"/>
|
|
|
</td>
|
|
|
<th>업체명<i class="required" title="필수"></i></th>
|
|
|
<td>
|
|
|
@@ -103,8 +103,8 @@
|
|
|
</td>
|
|
|
<th>사업자구분<i class="required" title="필수"></i></th>
|
|
|
<td>
|
|
|
- <label class="rdoBtn"><input type="radio" name="bizGb" id="bizGb" value="C">법인<span></span></label>
|
|
|
- <label class="rdoBtn"><input type="radio" name="bizGb" id="bizGb" value="P">개인<span></span></label>
|
|
|
+ <label class="rdoBtn"><input type="radio" name="bizGb" id="bizGb" value="C" checked="checked"/>법인<span></span></label>
|
|
|
+ <label class="rdoBtn"><input type="radio" name="bizGb" id="bizGb" value="P"/>개인<span></span></label>
|
|
|
</td>
|
|
|
<th>사업자등록번호<i class="required" title="필수"></i></th>
|
|
|
<td>
|
|
|
@@ -139,9 +139,9 @@
|
|
|
|
|
|
<button type="button" class="btn btn-info btn-sm" onclick="cfnOpenPostFindPopup();">우편번호찾기</button>
|
|
|
<br>
|
|
|
- <input type="text" name="bizBaseAddr" class="w300" required="required" data-valid-name="사업장주소" readonly="readonly"/>
|
|
|
+ <input type="text" name="bizBaseAddr" class="w300" maxlength="200" required="required" data-valid-name="사업장주소" readonly="readonly"/>
|
|
|
-
|
|
|
- <input type="text" name="bizDtlAddr" class="w300" required="required" data-valid-name="사업장상세주소"/>
|
|
|
+ <input type="text" name="bizDtlAddr" class="w300" maxlength="200"/>
|
|
|
</td>
|
|
|
<th>홈페이지URL</th>
|
|
|
<td colspan="3">
|
|
|
@@ -182,7 +182,7 @@
|
|
|
<tr>
|
|
|
<th>정산일<i class="required" title="필수"></i></th>
|
|
|
<td>
|
|
|
- 매일 <input type="text" name="settleDay" class="w100 aR" maxlength="2" required="required" data-valid-type="numeric" data-valid-name="정산일"/>일
|
|
|
+ 매일 <input type="text" name="settleDay" class="w100 aR" maxlength="2" data-valid-type="numeric"/>일
|
|
|
</td>
|
|
|
<th>거래은행</th>
|
|
|
<td>
|
|
|
@@ -235,7 +235,7 @@
|
|
|
let bankList = gagajf.convertToArray([[${bankList}]]);
|
|
|
|
|
|
let columnDefs = [
|
|
|
- {headerName: "업체코드", field: "supplyCompCd", width: 100, cellClass: 'text-center' },
|
|
|
+ { headerName: "업체코드", field: "supplyCompCd", width: 100, cellClass: 'text-center' },
|
|
|
{
|
|
|
headerName: "업체명", field: "supplyCompNm", width: 150, cellClass: 'text-center',
|
|
|
cellRenderer: function(params) {
|
|
|
@@ -246,22 +246,22 @@
|
|
|
headerName: "사업자구분", field: "bizGb", width: 100, cellClass: 'text-center',
|
|
|
valueGetter: function (params) { return params.data.bizGb == 'C' ? '법인' : '개인'; }
|
|
|
},
|
|
|
- {headerName: "사업장자록번호", field: "bizNo", width: 120, cellClass: 'text-center' },
|
|
|
- {headerName: "업종", field: "bizKind", width: 200 },
|
|
|
- {headerName: "업태", field: "bizType", width: 200 },
|
|
|
+ { headerName: "사업장자록번호", field: "bizNo", width: 120, cellClass: 'text-center' },
|
|
|
+ { headerName: "업종", field: "bizKind", width: 200, cellClass: 'text-center' },
|
|
|
+ { headerName: "업태", field: "bizType", width: 200, cellClass: 'text-center' },
|
|
|
{
|
|
|
headerName: "입점상태", field: "supplyStat", width: 100, cellClass: 'text-center',
|
|
|
valueGetter: function (params) {
|
|
|
return gagaAgGrid.lookupValue(supplyStatList, params.data.supplyStat);
|
|
|
}
|
|
|
},
|
|
|
- {headerName: "대표자명", field: "ownerNm", width: 100, cellClass: 'text-center' },
|
|
|
- {headerName: "우편번호", field: "bizZipcode", width: 80, cellClass: 'text-center' },
|
|
|
- {headerName: "기본주소", field: "bizBaseAddr", width: 250 },
|
|
|
- {headerName: "상세주소", field: "bizDtlAddr", width: 150 },
|
|
|
- {headerName: "대표전화번호", field: "mainTelno", width: 120, cellClass: 'text-center' },
|
|
|
- {headerName: "대표팩스번호", field: "mainFaxno", width: 120, cellClass: 'text-center' },
|
|
|
- {headerName: "홈페이지URL", field: "homepageUrl", width: 200 },
|
|
|
+ { headerName: "대표자명", field: "ownerNm", width: 100, cellClass: 'text-center' },
|
|
|
+ { headerName: "우편번호", field: "bizZipcode", width: 80, cellClass: 'text-center' },
|
|
|
+ { headerName: "기본주소", field: "bizBaseAddr", width: 250 },
|
|
|
+ { headerName: "상세주소", field: "bizDtlAddr", width: 150 },
|
|
|
+ { headerName: "대표전화번호", field: "mainTelno", width: 120, cellClass: 'text-center' },
|
|
|
+ { headerName: "대표팩스번호", field: "mainFaxno", width: 120, cellClass: 'text-center' },
|
|
|
+ { headerName: "홈페이지URL", field: "homepageUrl", width: 200 },
|
|
|
{
|
|
|
headerName: "유통구분", field: "distributionGb", width: 100, cellClass: 'text-center',
|
|
|
valueGetter: function (params) {
|
|
|
@@ -286,20 +286,20 @@
|
|
|
return params.data.sellFeeRate + '%';
|
|
|
}
|
|
|
},
|
|
|
- {headerName: "정산일(매월)", field: "settleDay", width: 100, cellClass: 'text-center' },
|
|
|
+ { headerName: "정산일(매월)", field: "settleDay", width: 100, cellClass: 'text-center' },
|
|
|
{
|
|
|
headerName: "은행명", field: "bankCd", width: 150, cellClass: 'text-center',
|
|
|
valueGetter: function (params) {
|
|
|
return gagaAgGrid.lookupValue(bankList, params.data.bankCd);
|
|
|
}
|
|
|
},
|
|
|
- {headerName: "계좌번호", field: "accountNo", width: 150, cellClass: 'text-center' },
|
|
|
- {headerName: "예금주명", field: "depositorNm", width: 100, cellClass: 'text-center' },
|
|
|
+ { headerName: "계좌번호", field: "accountNo", width: 150, cellClass: 'text-center' },
|
|
|
+ { headerName: "예금주명", field: "depositorNm", width: 100, cellClass: 'text-center' },
|
|
|
{
|
|
|
headerName: "사용여부", field: "useYn", width: 100, cellClass: 'text-center',
|
|
|
valueGetter: function (params) { return params.data.useYn == 'Y' ? 'Yes' : 'No'; }
|
|
|
},
|
|
|
- {headerName: "비고", field: "remarks", width: 150, hide: true }
|
|
|
+ { headerName: "비고", field: "remarks", width: 150, hide: true }
|
|
|
];
|
|
|
|
|
|
let gridOptions = gagaAgGrid.getGridOptions(columnDefs);
|
|
|
@@ -329,7 +329,7 @@
|
|
|
$('#detailForm input[name=settleDay]').val(event.data.settleDay);
|
|
|
$('#detailForm input[name=minOrdAmt]').val(Number(event.data.minOrdAmt).addComma());
|
|
|
$('#detailForm input[name=delvFee]').val(Number(event.data.delvFee).addComma());
|
|
|
- $('#detailForm select[name=bankNm]').val(event.data.bankNm);
|
|
|
+ $('#detailForm select[name=bankCd]').val(event.data.bankCd);
|
|
|
$('#detailForm input[name=accountNo]').val(event.data.accountNo);
|
|
|
$('#detailForm input[name=depositorNm]').val(event.data.depositorNm);
|
|
|
$('#detailForm textarea[name=remarks]').val(event.data.remarks);
|