This commit is contained in:
zmj 2024-06-25 16:19:08 +08:00
parent 98c6de51f1
commit 5d6601ed66
1 changed files with 8 additions and 15 deletions

View File

@ -1,8 +1,8 @@
<template> <template>
<el-card shadow="never" class=" !border-none"> <el-card shadow="never" class=" !border-none">
<div class="flex justify-between items-center"> <div class="flex items-center">
<span class="text-2xl">营业趋势</span> <span class="text-2xl">营业趋势</span>
<div class="flex items-center text-sm"> <div class="flex items-center text-sm ml-8">
<span class="mr-4">时间筛选: </span> <span class="mr-4">时间筛选: </span>
<el-date-picker v-model="date" type="daterange" range-separator="" start-placeholder="开始日期" <el-date-picker v-model="date" type="daterange" range-separator="" start-placeholder="开始日期"
end-placeholder="结束日期" unlink-panels @change="deteToQuery" /> end-placeholder="结束日期" unlink-panels @change="deteToQuery" />
@ -110,7 +110,7 @@ const statisticLists = reactive([
{ {
src: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/c302520240618155729557.png', src: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/c302520240618155729557.png',
title: "门店收款金额", title: "今日门店收款金额",
value: () => { value: () => {
return String(formData.value.receipt_amount || 0) return String(formData.value.receipt_amount || 0)
}, },
@ -118,7 +118,7 @@ const statisticLists = reactive([
}, },
{ {
src: 'https://ceshi-engineering.lihaink.cn/uploads/files/20240604/20240604171701fbb680115.png', src: 'https://ceshi-engineering.lihaink.cn/uploads/files/20240604/20240604171701fbb680115.png',
title: "门店营业额", title: "今日门店营业额",
value: () => { value: () => {
return String(formData.value.order_amount || 0) return String(formData.value.order_amount || 0)
}, },
@ -127,7 +127,7 @@ const statisticLists = reactive([
}, },
{ {
src: 'https://ceshi-engineering.lihaink.cn/uploads/files/20240604/20240604171701594ff8897.png', src: 'https://ceshi-engineering.lihaink.cn/uploads/files/20240604/20240604171701594ff8897.png',
title: "门店收益金额", title: "今日门店盈利额",
value: () => { value: () => {
return String(formData.value.income_amount || 0) return String(formData.value.income_amount || 0)
}, },
@ -136,7 +136,7 @@ const statisticLists = reactive([
}, },
{ {
src: 'https://ceshi-engineering.lihaink.cn/uploads/files/20240604/20240604171701552002039.png', src: 'https://ceshi-engineering.lihaink.cn/uploads/files/20240604/20240604171701552002039.png',
title: "线上订单金额", title: "门店核销营业额",
value: () => { value: () => {
return String(formData.value.verify_amount || 0) return String(formData.value.verify_amount || 0)
} }
@ -144,25 +144,18 @@ const statisticLists = reactive([
}, },
{ {
src: 'https://ceshi-engineering.lihaink.cn/uploads/files/20240604/202406041717018a22e1161.png', src: 'https://ceshi-engineering.lihaink.cn/uploads/files/20240604/202406041717018a22e1161.png',
title: "线下收银订单金额", title: "收银订单营业额",
value: () => { value: () => {
return String(formData.value.cashier_amount || 0) return String(formData.value.cashier_amount || 0)
} }
}, },
{ {
src: 'https://ceshi-engineering.lihaink.cn/uploads/files/20240604/202406041717013a08c6793.png', src: 'https://ceshi-engineering.lihaink.cn/uploads/files/20240604/202406041717013a08c6793.png',
title: "现金收银订单金额", title: "现金收款营业额",
value: () => { value: () => {
return String(formData.value.cash_amount || 0) return String(formData.value.cash_amount || 0)
} }
}, },
{
src: "https://ceshi-engineering.lihaink.cn/uploads/files/20240604/2024060417170150a511510.png",
title: "消耗余额",
value: () => {
return String(formData.value.balance_amount || 0)
}
},
{ {
src: 'https://ceshi-engineering.lihaink.cn/uploads/files/20240604/20240604171701469b91377.png', src: 'https://ceshi-engineering.lihaink.cn/uploads/files/20240604/20240604171701469b91377.png',
title: "门店成交用户数", title: "门店成交用户数",