|
@@ -14,10 +14,15 @@
|
|
|
</View>
|
|
</View>
|
|
|
|
|
|
|
|
<view class="statistics flex-row justify-between ">
|
|
<view class="statistics flex-row justify-between ">
|
|
|
- <view class="left flex-row" @click="showDate">
|
|
|
|
|
- <text>{{dataTime || '全部'}}</text>
|
|
|
|
|
- <image class="xialaImage" src="/static/transaction/u5.png"></image>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <picker class="picker" @change="sureChooseDate" mode='date' fields="month" range-key="label" >
|
|
|
|
|
+ <view class="left flex-row" @click="showDate">
|
|
|
|
|
+ <text>{{dataTime || '全部'}}</text>
|
|
|
|
|
+ <image class="xialaImage" src="/static/transaction/u5.png"></image>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </picker>
|
|
|
|
|
+
|
|
|
<view class="right flex-row justify-around">
|
|
<view class="right flex-row justify-around">
|
|
|
<text>储值¥{{tranFlowstatistic.rechargeAmount || 0}}</text>
|
|
<text>储值¥{{tranFlowstatistic.rechargeAmount || 0}}</text>
|
|
|
<text>消费-¥{{tranFlowstatistic.consumeAmount || 0 }}</text>
|
|
<text>消费-¥{{tranFlowstatistic.consumeAmount || 0 }}</text>
|
|
@@ -40,15 +45,6 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
- <u-datetime-picker
|
|
|
|
|
- :show="serviceTimeShow"
|
|
|
|
|
- v-model="value1"
|
|
|
|
|
- mode="year-month"
|
|
|
|
|
- :closeOnClickOverlay="true"
|
|
|
|
|
- @confirm="sureChooseDate()"
|
|
|
|
|
- ></u-datetime-picker>
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
@@ -103,9 +99,10 @@
|
|
|
|
|
|
|
|
// 确定选择的服务日期
|
|
// 确定选择的服务日期
|
|
|
sureChooseDate(e){
|
|
sureChooseDate(e){
|
|
|
- this.serviceTimeShow = false;
|
|
|
|
|
- this.dataTime = uni.$u.timeFormat(e.value, 'yyyy-mm');
|
|
|
|
|
- this.$refs.MescrollItem[this.tabIndex].downCallback()
|
|
|
|
|
|
|
+ this.dataTime = e.detail.value
|
|
|
|
|
+ setTimeout(f=>{
|
|
|
|
|
+ this.$refs.MescrollItem[this.tabIndex].downCallback()
|
|
|
|
|
+ },100)
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
// 交易列表
|
|
// 交易列表
|