Compare commits
2 Commits
fd01786649
...
7e7ed46cea
Author | SHA1 | Date |
---|---|---|
|
7e7ed46cea | |
![]() |
c5c1a886c0 |
|
@ -76,6 +76,21 @@
|
||||||
class="elevation-1"
|
class="elevation-1"
|
||||||
hide-default-footer
|
hide-default-footer
|
||||||
>
|
>
|
||||||
|
<template slot="body.prepend">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
합계
|
||||||
|
</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>
|
||||||
|
<td />
|
||||||
|
</tr>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template v-slot:item.email="{ item }">
|
<template v-slot:item.email="{ item }">
|
||||||
{{ item.email }}
|
{{ item.email }}
|
||||||
</template>
|
</template>
|
||||||
|
@ -260,6 +275,10 @@ export default {
|
||||||
this.$dialog.notify.success(message)
|
this.$dialog.notify.success(message)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
sumField(key) {
|
||||||
|
return this.items.reduce((a, b) => a + (b[key] || 0), 0)
|
||||||
|
},
|
||||||
|
|
||||||
async next() {
|
async next() {
|
||||||
await this.getCalculateCommunityByCreator()
|
await this.getCalculateCommunityByCreator()
|
||||||
},
|
},
|
||||||
|
|
|
@ -76,6 +76,21 @@
|
||||||
class="elevation-1"
|
class="elevation-1"
|
||||||
hide-default-footer
|
hide-default-footer
|
||||||
>
|
>
|
||||||
|
<template slot="body.prepend">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
합계
|
||||||
|
</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>
|
||||||
|
<td />
|
||||||
|
</tr>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template v-slot:item.email="{ item }">
|
<template v-slot:item.email="{ item }">
|
||||||
{{ item.email }}
|
{{ item.email }}
|
||||||
</template>
|
</template>
|
||||||
|
@ -260,6 +275,10 @@ export default {
|
||||||
this.$dialog.notify.success(message)
|
this.$dialog.notify.success(message)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
sumField(key) {
|
||||||
|
return this.items.reduce((a, b) => a + (b[key] || 0), 0)
|
||||||
|
},
|
||||||
|
|
||||||
async next() {
|
async next() {
|
||||||
await this.getCalculateContentByCreator()
|
await this.getCalculateContentByCreator()
|
||||||
},
|
},
|
||||||
|
|
|
@ -76,6 +76,21 @@
|
||||||
class="elevation-1"
|
class="elevation-1"
|
||||||
hide-default-footer
|
hide-default-footer
|
||||||
>
|
>
|
||||||
|
<template slot="body.prepend">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
합계
|
||||||
|
</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>
|
||||||
|
<td />
|
||||||
|
</tr>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template v-slot:item.email="{ item }">
|
<template v-slot:item.email="{ item }">
|
||||||
{{ item.email }}
|
{{ item.email }}
|
||||||
</template>
|
</template>
|
||||||
|
@ -260,6 +275,10 @@ export default {
|
||||||
this.$dialog.notify.success(message)
|
this.$dialog.notify.success(message)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
sumField(key) {
|
||||||
|
return this.items.reduce((a, b) => a + (b[key] || 0), 0)
|
||||||
|
},
|
||||||
|
|
||||||
async next() {
|
async next() {
|
||||||
await this.getCalculateLiveByCreator()
|
await this.getCalculateLiveByCreator()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue