Compare commits
No commits in common. "b7c8bed7270da25b32045e6af11c2dde6cb494ec" and "f059dda7eb3a92d12df444f5d6971b7afa5ba2b5" have entirely different histories.
b7c8bed727
...
f059dda7eb
|
@ -43,6 +43,8 @@
|
||||||
조회
|
조회
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
|
|
||||||
<v-spacer />
|
<v-spacer />
|
||||||
</v-row>
|
</v-row>
|
||||||
<v-row>
|
<v-row>
|
||||||
|
@ -55,20 +57,6 @@
|
||||||
class="elevation-1"
|
class="elevation-1"
|
||||||
hide-default-footer
|
hide-default-footer
|
||||||
>
|
>
|
||||||
<template slot="body.prepend">
|
|
||||||
<tr>
|
|
||||||
<td colspan="4">
|
|
||||||
합계
|
|
||||||
</td>
|
|
||||||
<td>{{ sumField('totalCan').toLocaleString() }} 캔</td>
|
|
||||||
<td>{{ sumField('totalKrw').toLocaleString() }} 원</td>
|
|
||||||
<td>{{ sumField('paymentFee').toLocaleString() }} 원</td>
|
|
||||||
<td>{{ sumField('settlementAmount').toLocaleString() }} 원</td>
|
|
||||||
<td>{{ sumField('tax').toLocaleString() }} 원</td>
|
|
||||||
<td>{{ sumField('depositAmount').toLocaleString() }} 원</td>
|
|
||||||
</tr>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<template v-slot:item.title="{ item }">
|
<template v-slot:item.title="{ item }">
|
||||||
{{ item.title }}...
|
{{ item.title }}...
|
||||||
</template>
|
</template>
|
||||||
|
@ -223,10 +211,6 @@ export default {
|
||||||
this.$dialog.notify.error(message)
|
this.$dialog.notify.error(message)
|
||||||
},
|
},
|
||||||
|
|
||||||
sumField(key) {
|
|
||||||
return this.items.reduce((a, b) => a + (b[key] || 0), 0)
|
|
||||||
},
|
|
||||||
|
|
||||||
async next() {
|
async next() {
|
||||||
await this.getCalculateCommunityPost()
|
await this.getCalculateCommunityPost()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue