사업자별통계 > 월별/일별 집계결과 테이블 width 값 정리, 조회시 엔터로 조회되도록 기능 추가

This commit is contained in:
kimjhjjang
2022-11-30 13:30:52 +09:00
parent 4be6f217da
commit 060d3998fa
3 changed files with 38 additions and 7 deletions

View File

@@ -51,6 +51,7 @@
placeholder="검색어 입력"
v-model.trim="grid.params.custNm"
maxlength="100"
@keypress.enter="search"
/>
</div>
<div class="input_box">
@@ -61,6 +62,7 @@
id="name"
placeholder="검색어 입력"
v-model.trim="grid.params.bizrno"
@keypress.enter="search"
@keypress="onlyNum"
@input="onlyNum"
minlength="10"
@@ -157,12 +159,13 @@ export default {
],
columns: [
{ name: 'sumYm', header: '날짜', align: 'center' },
{ name: 'custNm', header: '고객사명', align: 'center' },
{ name: 'sumYm', header: '날짜', align: 'center', width: '8%' },
{ name: 'custNm', header: '고객사명', align: 'center', width: '12%' },
{
name: 'bizrno',
header: '사업자번호',
align: 'center',
width: '8%',
// , formatter: props => {
// let result = props.bizrno.substring(0, 3) + '-' + props.bizrno.substring(3, 5) + '-' + props.bizrno.substring(5, 10)
// return result;
@@ -177,6 +180,7 @@ export default {
let result = props.sndCnt.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
return result;
},
width: '7%',
},
{
name: 'succCntRt',
@@ -192,6 +196,7 @@ export default {
'%)</p>'
);
},
width: '7%',
},
{
name: 'sndCntS',
@@ -202,6 +207,7 @@ export default {
let result = props.sndCntS.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
return result;
},
width: '7%',
},
{
name: 'succCntRtS',
@@ -217,6 +223,7 @@ export default {
'%)</p>'
);
},
width: '7%',
},
{
name: 'sndCntL',
@@ -227,6 +234,7 @@ export default {
let result = props.sndCntL.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
return result;
},
width: '7%',
},
{
name: 'succCntRtL',
@@ -242,6 +250,7 @@ export default {
'%)</p>'
);
},
width: '7%',
},
{
name: 'sndCntM',
@@ -252,6 +261,7 @@ export default {
let result = props.sndCntM.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
return result;
},
width: '7%',
},
{
name: 'succCntRtM',
@@ -267,6 +277,7 @@ export default {
'%)</p>'
);
},
width: '7%',
},
{
name: 'sndCntR',
@@ -277,6 +288,7 @@ export default {
let result = props.sndCntR.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
return result;
},
width: '7%',
},
{
name: 'succCntRtR',
@@ -292,6 +304,7 @@ export default {
')</p>'
);
},
width: '7%',
},
],
noDataStr: '검색 결과가 없습니다.',