Commit 5fc760f7 authored by 袁玲利's avatar 袁玲利

校园报告切换月份默认不展示消费明细

parent 3b586675
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
sketch: ['消费记录 笔笔可查', '设置额度 管控消费', '消费异常 每日提醒', '使用疑问 一一解答', '校园报告'][index], sketch: ['消费记录 笔笔可查', '设置额度 管控消费', '消费异常 每日提醒', '使用疑问 一一解答', '校园报告'][index],
icon: this.$ImgUrl + `applyCons/menu${index+1}.png`, icon: this.$ImgUrl + `applyCons/menu${index+1}.png`,
// 是否需要鉴权 // 是否需要鉴权
auth: [true, true, true, false, true][index], auth: [true, true, true, false, false][index],
// 鉴权服务项code // 鉴权服务项code
serviceItemCode: [config['ServiceEnum']['Auth10'], config['ServiceEnum']['Auth8'], config[ serviceItemCode: [config['ServiceEnum']['Auth10'], config['ServiceEnum']['Auth8'], config[
'ServiceEnum']['Auth11'], '', config[ 'ServiceEnum']['Auth11'], '', config[
......
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
class="prefer_light">{{userDealReportListAndSumObj.wanSumAmount || 0}}</text></span> class="prefer_light">{{userDealReportListAndSumObj.wanSumAmount || 0}}</text></span>
</view> </view>
<view class="detail_lists"> <view class="detail_lists">
<view class="listsHead" v-if="userDealReportListAndSumObj.list.length"> <view class="listsHead" v-if="userDealReportListAndSumObj.list && userDealReportListAndSumObj.list.length">
<span>日期</span> <span>日期</span>
<span>早餐</span> <span>早餐</span>
<span>午餐</span> <span>午餐</span>
...@@ -495,6 +495,7 @@ ...@@ -495,6 +495,7 @@
this.getCateringAbnormalTypeGroupList() this.getCateringAbnormalTypeGroupList()
// } // }
this.pickerShow = !this.pickerShow; this.pickerShow = !this.pickerShow;
this.isShow = false;
}, },
choosePicker() { choosePicker() {
this.pickerShow = !this.pickerShow this.pickerShow = !this.pickerShow
...@@ -629,7 +630,7 @@ ...@@ -629,7 +630,7 @@
}) })
return return
} }
this.userDealReportListAndSumObj = data.data; this.userDealReportListAndSumObj = data.data || {};
console.log(this.userDealReportListAndSumObj, '查询订单流水用户分餐明细及汇总统计') console.log(this.userDealReportListAndSumObj, '查询订单流水用户分餐明细及汇总统计')
} catch (e) { } catch (e) {
console.warn(e) console.warn(e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment