orderType 추가, 판매수 -> 누적 판매수 로 변경 #11

Merged
klaus merged 1 commits from test into main 2023-11-13 14:52:39 +00:00
1 changed files with 7 additions and 10 deletions

View File

@ -9,13 +9,6 @@
<br>
<v-container>
<v-row>
<v-col cols="2">
콘텐츠 개수 : {{ total_count }}
</v-col>
<v-spacer />
</v-row>
<v-row>
<v-col>
<v-data-table
@ -82,7 +75,6 @@ export default {
page: 1,
page_size: 20,
total_page: 0,
total_count: 0,
items: [],
headers: [
{
@ -104,6 +96,12 @@ export default {
align: 'center',
width: "300px"
},
{
text: '구분',
align: 'center',
sortable: false,
value: 'orderType',
},
{
text: '판매금액(캔)',
align: 'center',
@ -111,7 +109,7 @@ export default {
value: 'orderPrice',
},
{
text: '판매수',
text: '누적 판매수',
align: 'center',
sortable: false,
value: 'numberOfPeople',
@ -187,7 +185,6 @@ export default {
const totalPage = Math.ceil(data.totalCount / this.page_size)
this.items = data.items
this.total_count = data.totalCount
if (totalPage <= 0)
this.total_page = 1