更新工作台页面,优化交易数据展示,修复核销订单金额等数据展示错误,并调整相关API接口路径

This commit is contained in:
zmj 2024-07-02 10:32:17 +08:00
parent e9f537900f
commit 8fefa806a9
3 changed files with 9 additions and 9 deletions

View File

@ -1,8 +1,8 @@
NODE_ENV = 'development' NODE_ENV = 'development'
# Base API # Base API
# VITE_NOW_TYPE='dist/store' VITE_NOW_TYPE='dist/store'
# VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn' VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn'
VITE_NOW_TYPE='build/store' # VITE_NOW_TYPE='build/store'
VITE_APP_BASE_URL='https://multi-store.lihaink.cn' # VITE_APP_BASE_URL='https://multi-store.lihaink.cn'

View File

@ -99,7 +99,7 @@ const statisticLists2 = reactive([
}, },
{ {
src: "https://ceshi-engineering.lihaink.cn/uploads/files/20240604/2024060417170150a511510.png", src: "https://ceshi-engineering.lihaink.cn/uploads/files/20240604/2024060417170150a511510.png",
title: "门店累计营业额", title: "门店累计盈利额",
value: () => { value: () => {
return String(formData.value.all.profit_all || 0) return String(formData.value.all.profit_all || 0)
} }

View File

@ -112,16 +112,16 @@ 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)
}, },
row: 1, row: 1,
footer: "今日门店所有交易的合计金额" footer: "门店所有交易的合计金额"
}, },
{ {
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)
}, },
@ -131,7 +131,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)
}, },