|
@@ -6,7 +6,7 @@
|
|
|
<el-image :src="restaurant1" fit="scale-down" />
|
|
|
<el-col class="name"
|
|
|
>今日营业额<el-col class="num"
|
|
|
- >{{ data.consumerNowNumber || 0 }}<span class="unit">元</span></el-col
|
|
|
+ >{{ data.nowIncome || 0 }}<span class="unit">元</span></el-col
|
|
|
></el-col
|
|
|
>
|
|
|
</el-col>
|
|
@@ -14,7 +14,7 @@
|
|
|
<el-image :src="restaurant1" fit="scale-down" />
|
|
|
<el-col class="name"
|
|
|
>今日销售人/次<el-col class="num"
|
|
|
- >{{ data.nowIncome || 0 }}<span class="unit">份</span></el-col
|
|
|
+ >{{ data.consumerNowNumber || 0 }}<span class="unit"></span></el-col
|
|
|
></el-col
|
|
|
>
|
|
|
</el-col>
|
|
@@ -59,7 +59,6 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created(){
|
|
|
- console.log(getWeekDate())
|
|
|
if(getWeekDate() == "周一" || getWeekDate() == "周日"){
|
|
|
this.list2 = [
|
|
|
{id:num1,name:"未营业",num:0},
|