크리에이터 기준 라이브, 콘텐츠, 커뮤니티 합계 정산 페이지 추가
This commit is contained in:
		| @@ -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() | ||||||
|     }, |     }, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung