|
@@ -29,7 +29,7 @@
|
|
|
</div>
|
|
|
<!-- 合计 -->
|
|
|
<a-alert type="info" showIcon style="margin-bottom:15px">
|
|
|
- <div class="ftext" slot="message">总计<span> {{ orderTotal }} </span>个,收取乐豆<span> {{ amountTotal }} </span>个</div>
|
|
|
+ <div class="ftext" slot="message">总计<span> {{ orderTotal }} </span>条记录,收取乐豆<span> {{ amountTotal }} </span>个</div>
|
|
|
</a-alert>
|
|
|
<s-table
|
|
|
ref="table"
|
|
@@ -45,7 +45,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { STable, VSelect } from '@/components'
|
|
|
-import { getOffPartnerGoldLog, exportOffPartnerGoldLog } from '@/api/offPartnerGoldLog.js'
|
|
|
+import { getOffPartnerGoldLog, exportOffPartnerGoldLog, getQueryStatistic } from '@/api/offPartnerGoldLog.js'
|
|
|
import moment from 'moment'
|
|
|
import getDate from '@/libs/getDate.js'
|
|
|
export default {
|
|
@@ -97,7 +97,7 @@ export default {
|
|
|
const _item = res.data.list[i]
|
|
|
_item.no = no + i + 1
|
|
|
}
|
|
|
- // this.getListTotal()
|
|
|
+ this.getListTotal()
|
|
|
return res.data
|
|
|
}
|
|
|
})
|
|
@@ -171,11 +171,11 @@ export default {
|
|
|
params.beginDate = ''
|
|
|
params.endDate = ''
|
|
|
}
|
|
|
- getDeliveryLogTotal(params).then(res => {
|
|
|
+ getQueryStatistic(params).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
if (res.data) {
|
|
|
- this.orderTotal = res.data.totalNum || 0
|
|
|
- this.amountTotal = res.data.goldNum || 0
|
|
|
+ this.orderTotal = res.data.dataCount || 0
|
|
|
+ this.amountTotal = res.data.dataSum || 0
|
|
|
} else {
|
|
|
this.orderTotal = 0
|
|
|
this.amountTotal = 0
|