orderType 추가, 판매수 -> 누적 판매수 로 변경
This commit is contained in:
parent
710f6f5a49
commit
5df44fac76
|
@ -9,13 +9,6 @@
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<v-container>
|
<v-container>
|
||||||
<v-row>
|
|
||||||
<v-col cols="2">
|
|
||||||
총 콘텐츠 개수 : {{ total_count }} 개
|
|
||||||
</v-col>
|
|
||||||
|
|
||||||
<v-spacer />
|
|
||||||
</v-row>
|
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col>
|
<v-col>
|
||||||
<v-data-table
|
<v-data-table
|
||||||
|
@ -82,7 +75,6 @@ export default {
|
||||||
page: 1,
|
page: 1,
|
||||||
page_size: 20,
|
page_size: 20,
|
||||||
total_page: 0,
|
total_page: 0,
|
||||||
total_count: 0,
|
|
||||||
items: [],
|
items: [],
|
||||||
headers: [
|
headers: [
|
||||||
{
|
{
|
||||||
|
@ -104,6 +96,12 @@ export default {
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: "300px"
|
width: "300px"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: '구분',
|
||||||
|
align: 'center',
|
||||||
|
sortable: false,
|
||||||
|
value: 'orderType',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: '판매금액(캔)',
|
text: '판매금액(캔)',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
@ -111,7 +109,7 @@ export default {
|
||||||
value: 'orderPrice',
|
value: 'orderPrice',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: '판매수',
|
text: '누적 판매수',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
sortable: false,
|
sortable: false,
|
||||||
value: 'numberOfPeople',
|
value: 'numberOfPeople',
|
||||||
|
@ -187,7 +185,6 @@ export default {
|
||||||
|
|
||||||
const totalPage = Math.ceil(data.totalCount / this.page_size)
|
const totalPage = Math.ceil(data.totalCount / this.page_size)
|
||||||
this.items = data.items
|
this.items = data.items
|
||||||
this.total_count = data.totalCount
|
|
||||||
|
|
||||||
if (totalPage <= 0)
|
if (totalPage <= 0)
|
||||||
this.total_page = 1
|
this.total_page = 1
|
||||||
|
|
Loading…
Reference in New Issue