orderType 추가, 판매수 -> 누적 판매수 로 변경
This commit is contained in:
parent
710f6f5a49
commit
5df44fac76
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue