|
@@ -49,7 +49,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="item">
|
|
<view class="title">销售金额</view>
|
|
<view class="title">销售金额</view>
|
|
- <view class="num">{{ intradayData.xsje }}</view>
|
|
|
|
|
|
+ <view class="num">{{ xsje}}元</view>
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="item">
|
|
<view class="title">入园人次</view>
|
|
<view class="title">入园人次</view>
|
|
@@ -57,7 +57,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="item">
|
|
<view class="title">核销金额</view>
|
|
<view class="title">核销金额</view>
|
|
- <view class="num">{{ intradayData.hxje }}</view>
|
|
|
|
|
|
+ <view class="num">{{ hxje }}元</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -137,7 +137,7 @@
|
|
<view class="sale_box" v-else>
|
|
<view class="sale_box" v-else>
|
|
<view class="box">
|
|
<view class="box">
|
|
<view class="todo-list">
|
|
<view class="todo-list">
|
|
- <view class="item">
|
|
|
|
|
|
+ <view class="item" style="width: 100%;">
|
|
<view class="title">今日新增用户</view>
|
|
<view class="title">今日新增用户</view>
|
|
<view class="num">{{ todayNewUser }}</view>
|
|
<view class="num">{{ todayNewUser }}</view>
|
|
</view>
|
|
</view>
|
|
@@ -173,6 +173,26 @@ import selfUcharts from '@/pages/components/self-ucharts.vue'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
components: { cmdProgress, selfUcharts },
|
|
components: { cmdProgress, selfUcharts },
|
|
|
|
+ computed: {
|
|
|
|
+ xsje () {
|
|
|
|
+ if (this.intradayData === null) {
|
|
|
|
+ return 0
|
|
|
|
+ } else if (this.intradayData.xsje === 0) {
|
|
|
|
+ return 0
|
|
|
|
+ } else {
|
|
|
|
+ return (this.intradayData.xsje / 100).toFixed(2)
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ hxje () {
|
|
|
|
+ if (this.intradayData === null) {
|
|
|
|
+ return 0
|
|
|
|
+ } else if (this.intradayData.hxje === 0) {
|
|
|
|
+ return 0
|
|
|
|
+ } else {
|
|
|
|
+ return (this.intradayData.hxje / 100).toFixed(2)
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
ticketsBooking: null,
|
|
ticketsBooking: null,
|