|
@@ -19,21 +19,21 @@
|
|
|
<view class="statistics">
|
|
|
<view class="statistics-title">实收数(聚合)</view>
|
|
|
<view class="statistics-total">
|
|
|
- <span class="number">1380.30</span>
|
|
|
+ <span class="number">{{resdata.actualAmount||''}}</span>
|
|
|
元
|
|
|
</view>
|
|
|
<view class="statistics-item u-flex">
|
|
|
<view class="statistics-item-cell">
|
|
|
<view class="til">入场数</view>
|
|
|
- <view class="con">26</view>
|
|
|
+ <view class="con">{{resdata.parkInNum||''}}</view>
|
|
|
</view>
|
|
|
<view class="statistics-item-cell">
|
|
|
<view class="til">出场数</view>
|
|
|
- <view class="con">18</view>
|
|
|
+ <view class="con">{{resdata.parkLeaveNum||''}}</view>
|
|
|
</view>
|
|
|
<view class="statistics-item-cell">
|
|
|
<view class="til">应收数</view>
|
|
|
- <view class="con">2215.00</view>
|
|
|
+ <view class="con">{{resdata.mustAmount||''}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -67,6 +67,7 @@
|
|
|
pickerMonth:'',
|
|
|
pickerDay:'',
|
|
|
achievementData:'',
|
|
|
+ resdata:[]
|
|
|
|
|
|
}
|
|
|
},
|
|
@@ -100,18 +101,20 @@
|
|
|
this.pickerYear = e.year;
|
|
|
this.pickerMonth = e.month;
|
|
|
this.pickerDay = e.day;
|
|
|
+ this.handleAchievement();
|
|
|
},
|
|
|
handleAchievement(){
|
|
|
this.$u.api.achievement({startDate:this.theTime,endDate:this.theTime})
|
|
|
.then(res=>{
|
|
|
- this.$refs.uToast.show({
|
|
|
- title: res.msg,
|
|
|
- type: 'success',
|
|
|
- });
|
|
|
+ // this.$refs.uToast.show({
|
|
|
+ // title: res.msg,
|
|
|
+ // type: 'success',
|
|
|
+ // });
|
|
|
+ this.resdata = res.data;
|
|
|
console.log('achievement',res)
|
|
|
}).catch(err=>{
|
|
|
this.$refs.uToast.show({
|
|
|
- title: err.msg,
|
|
|
+ title: err,
|
|
|
type: 'error',
|
|
|
});
|
|
|
console.log('achievement ',err)
|