@@ -50,7 +50,7 @@
收银记录

-
今日收银: 0元
+
今日收银: {{price03}}元
@@ -75,6 +75,9 @@ export default {
},
data() {
return {
+ price01: 0,
+ price02: 0,
+ price03: 0,
showJiaoyi: true,
showHexiao: true,
showShouyin: true,
@@ -175,6 +178,7 @@ export default {
this.$http.getTabletListOrder({
method: 'get',
}).then(res => {
+ this.price01 = res.data[res.data.length-1].amount
let newArr = {
xList: [],
amountList: []
@@ -202,6 +206,7 @@ export default {
this.$http.getTabletListVerify({
method: 'get',
}).then(res => {
+ this.price02 = res.data[res.data.length-1].amount
let newArr = {
xList: [],
amountList: []
@@ -229,6 +234,7 @@ export default {
this.$http.getMicroPayAmountOnDate({
method: 'get',
}).then(res => {
+ this.price03 = res.data[res.data.length-1].amount
let newArr = {
xList: [],
amountList: []
diff --git a/src/views/home/recordDetail.vue b/src/views/home/recordDetail.vue
index 2b7d07d..94556ca 100644
--- a/src/views/home/recordDetail.vue
+++ b/src/views/home/recordDetail.vue
@@ -212,8 +212,8 @@ export default {
this.$http[arr[this.pageType]]({
method: 'get',
params: {
- data: '2020-10-22',
- // data: this.currentDate,
+ // data: '2020-10-22',
+ data: this.currentDate,
pageNum: this.pageNum,
pageSize: 10,
}