@@ -526,159 +684,9 @@
-
-
- 自营计划
-
-
-
-
-
- 本月计划
-
-
- 查看更多
-
-
-
-
-
-
-
-
-
-
- {{monthAdd}}%
- (比计划)
-
-
-
-
- {{plan.RevenueMonth_Amount?plan.RevenueMonth_Amount:'-'}}
- 已完成/万元
-
-
- {{plan.BudgetMonth_Amount?plan.BudgetMonth_Amount:'-'}}
- 计划/万元
-
-
- {{plan.MonthYOY_Rate?plan.MonthYOY_Rate>0?`+${plan.MonthYOY_Rate}%`:`${plan.MonthYOY_Rate}%`:'-'}}
- 同比
-
-
-
-
-
-
-
-
-
- 本年计划
-
-
- 查看更多
-
-
-
-
-
-
-
-
-
-
-
-
- {{yearAdd}}%
- (比计划)
-
-
-
-
- {{plan.RevenueYear_Amount?plan.RevenueYear_Amount:'-'}}
- 已完成/{{ plan.revenueType==='yi'?'亿元':'万元' }}
-
-
- {{plan.BudgetYear_Amount?plan.BudgetYear_Amount:'-'}}
- 计划/{{ plan.budgetType==='yi'?'亿元':'万元' }}
-
-
- {{plan.YearYOY_Rate?plan.YearYOY_Rate>0?`+${plan.YearYOY_Rate}%`:`${plan.YearYOY_Rate}%`:'-'}}
- 同比
-
-
-
-
-
-
-
-
-
-
- 营收占比
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
-
- {{o+1}}
-
-
{{item.name}}
-
-
{{$util.fmoney(item.value,2)}}
-
-
-
-
{{item.percentage+'%'}}
-
-
-
-
-
-
-
-
-
-
-
- {{o+1}}
-
-
{{item.name}}
-
-
{{$util.fmoney(item.value,2)}}
-
-
-
-
{{item.percentage+'%'}}
-
-
-
-
-
-
-
@@ -1756,7 +1764,7 @@ export default {
this.dailyExamineObj = null
this.monthAdd = null
- // 阻止调用swiper的滚动
+ // 阻止调用swiper的滚动 防止切换时间调了一次方法 swiper移动又会自动调用接口的问题
this.stopSwiper = true
let isOnRefresh = false
const date = new Date(e.detail.value)
@@ -1940,20 +1948,13 @@ $iphoneHeight: env(safe-area-inset-bottom);
}
.header {
width: 100%;
- background: linear-gradient(315deg, #FF8670 0%, #FFDCA8 100%);
+ //background: linear-gradient(315deg, #FF8670 0%, #FFDCA8 100%);
box-sizing: border-box;
- padding: 0 16px;
- position: relative;
- //.headerBg {
- // width: 100%;
- // height: 100%;
- // position: absolute;
- // left: 0;
- // top: 0;
- //}
+ //padding: 0 16px;
+ //position: relative;
.headerTop{
width: 100%;
- background: linear-gradient(315deg, #FFAF95 0%, #FFD6A6 100%);
+ //background: linear-gradient(315deg, #FFAF95 0%, #FFD6A6 100%);
position: fixed;
top: 0;left:0;
box-sizing: border-box;
@@ -1999,7 +2000,9 @@ $iphoneHeight: env(safe-area-inset-bottom);
.storeDetail{
width: 100%;
- position: absolute;
+ margin-top: 16rpx;
+ box-sizing: border-box;
+ padding-bottom: 64rpx;
.storeName{
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
diff --git a/pages/newamine/index.vue b/pages/newamine/index.vue
index 969493b..ee1f0b9 100644
--- a/pages/newamine/index.vue
+++ b/pages/newamine/index.vue
@@ -361,7 +361,8 @@ export default {
useInfo:{},
sortType:'sequence',// reverse倒序 sequence正序
dailyServiceList:[],// 整改显示的列表
- dailyAllList:[] // 整改的全部列表
+ dailyAllList:[], // 整改的全部列表
+ dailyFlag:true,// 是否能调用巡检方法
}
},
onLoad(query){
@@ -475,6 +476,7 @@ export default {
},
// 拿到考核和巡检上面的详情
handleGetDailyPatrol(){
+
const req = {
StartDate:this.singleDay,
EndDate:this.singleDay,
@@ -557,6 +559,7 @@ export default {
},
// 拿到巡检的列表数据
handleNewGetPatrol(){
+
const req = {
StartDate:this.singleDay,
EndDate:this.singleDay,
@@ -617,16 +620,14 @@ export default {
this.handleNewGetPatrol()
}
},
- // 增加日期
+ // 增加减少日期
handleAddDate(type){
this.selectContentTab = 1
const nowDate = new Date(this.lastDay)
let nowMonth = nowDate.getMonth() + 1
let nowDay = nowDate.getDate()
this.rate = null
- uni.showLoading({
- title:'正在加载'
- })
+
// 先判断是加 还是 减 再判断是哪个选项卡下面的 再调用方法
// 1 是减 2是加
if (type===1){
@@ -641,6 +642,9 @@ export default {
}
this.single = `${y}-${m}`
}
+ uni.showLoading({
+ title:'正在加载'
+ })
// 获取月度考核数据
this.handleGetExamine()
this.handleNewGetExamine()
@@ -667,6 +671,9 @@ export default {
}
this.singleDay = `${y}-${m}-${d}`
}
+ uni.showLoading({
+ title:'正在加载'
+ })
// 拿到顶部的巡检数据
this.handleGetDailyPatrol()
this.handleNewGetPatrol()
@@ -685,17 +692,17 @@ export default {
}
this.single = `${y}-${m}`
// 获取月度考核数据
-
+ uni.showLoading({
+ title:'正在加载'
+ })
this.handleGetExamine()
this.handleNewGetExamine()
}else if(this.selectTab===2){
const date = new Date(this.singleDay)
let y = date.getFullYear()
let m = date.getMonth() + 1
-
let d = date.getDate() + 1
- if (nowMonth===m && d>nowDay){
- return
+ if (nowMonth===m && d>nowDay+1){
}else{
if (nowMonth>m){
let allDay = this.$util.getThisMonthDay(`${y}-${m<10?'0'+m:m}`)
@@ -709,10 +716,14 @@ export default {
}else{
this.singleDay = `${y}-${m<10?'0'+m:m}-${d<10?'0'+d:d}`
}
+ uni.showLoading({
+ title:'正在加载'
+ })
+ // 拿到顶部的巡检数据
+ this.handleGetDailyPatrol()
+ this.handleNewGetPatrol()
}
- // 拿到顶部的巡检数据
- this.handleGetDailyPatrol()
- this.handleNewGetPatrol()
+
}
}
},
@@ -857,7 +868,7 @@ export default {
}
.tabBox{
position: absolute;
- width: 100%;
+ width: calc(100% - 64rpx);
display: flex;
align-items: center;
.tabItem{
diff --git a/pages/revenue/component/otherCharts.vue b/pages/revenue/component/otherCharts.vue
index a268f7d..3d04b3d 100644
--- a/pages/revenue/component/otherCharts.vue
+++ b/pages/revenue/component/otherCharts.vue
@@ -1,7 +1,7 @@
-
-
+
+
@@ -85,27 +85,26 @@ export default {
}
});
setTimeout( ()=>{
- _this.canvasToTempImage('month')
- },500)
+ this.canvasToTempImage('month')
+ },100)
},
canvasToTempImage(id){
- let _this = this
uni.canvasToTempFilePath({
canvasId:id,
complete:(res)=>{
- console.log('res',res)
+ console.log('res2',res)
if (res.tempFilePath){
uni.getFileSystemManager().readFile({
filePath: res.tempFilePath,
encoding: 'base64',
success: res => {
let base64 = 'data:image/png;base64,' + res.data;
- _this.preferPath = base64
+ this.preferPath = base64
}
})
}
}
- },_this)
+ },this)
},
}
}
@@ -115,9 +114,5 @@ export default {
.main{
width: 128rpx;
height: 128rpx;
- .month{
- width: 128rpx;
- height: 128rpx;
- }
}
diff --git a/pages/revenue/component/yearCharts.vue b/pages/revenue/component/yearCharts.vue
index fef6148..08891a9 100644
--- a/pages/revenue/component/yearCharts.vue
+++ b/pages/revenue/component/yearCharts.vue
@@ -1,7 +1,7 @@
-
+
@@ -76,32 +76,38 @@ export default {
}
});
setTimeout( ()=>{
- console.log('变成图片')
- _this.canvasToTempImage('month')
- },500)
+ this.canvasToTempImage('month')
+ },100)
},
canvasToTempImage(id){
- let _this = this
uni.canvasToTempFilePath({
canvasId:id,
complete:(res)=>{
+ console.log('res1',res)
if (res.tempFilePath){
uni.getFileSystemManager().readFile({
filePath: res.tempFilePath,
encoding: 'base64',
success: res => {
let base64 = 'data:image/png;base64,' + res.data;
- _this.preferPath = base64
- console.log('this.preferPath',_this.preferPath)
+ this.preferPath = base64
}
})
}
}
- },_this)
+ },this)
},
}
}
diff --git a/pages/revenue/index.vue b/pages/revenue/index.vue
index 11353f5..7fd6ce9 100644
--- a/pages/revenue/index.vue
+++ b/pages/revenue/index.vue
@@ -1,5 +1,6 @@
+
@@ -16,7 +17,7 @@
- 收支预测
+ 财务营收报表
@@ -74,11 +82,11 @@
167.27%
收支比
- ?
-
- 收支比:本月成本 / 本月支出
-
-
+
+
+
+
+
@@ -88,12 +96,12 @@
本月支出
/万元
- ?
-
- 本月支出=管理费用 + 销售费用 + 财务费用 + 营业外支出
-
-
+
+
+
+
+
+
@@ -111,17 +119,28 @@
- 2023年度累计利润
+
+ 2023年度累计利润
+ ?
+
+ 利润总额完成率=本年累计/年度预算
(389.00/275.00)
+ 本年累计:本年度利润总额的累计数
+ 年度预算:本年度利润总额的预算数
+ 净利润预算:本年度净利润的预算数
+ 净利润完成度=本年净利润/净利润预算
(292.00/156.00)
+
+
+
完成率
- ?
-
- 完成率=本年累计/年度预算(389.00/275.00)
-
-
+
+
+
+
+
{{secondBoxProgress + '%'}}
@@ -134,11 +153,11 @@
389.00
- ?
-
- 本年度利润总额的累计数
-
-
+
+
+
+
+
本年累计/万元
@@ -146,12 +165,12 @@
275.00
- ?
-
- 本年度利润总额的预算数
-
-
+
+
+
+
+
+
年度预算/万元
@@ -170,12 +189,12 @@
156.00
- ?
-
- 本年度净利润的预算数
-
-
+
+
+
+
+
+
净利润预算/万元
@@ -184,12 +203,12 @@
187.18%
完成度
- ?
-
- 完成度=本年净利润/净利润预算(292.00/156.00)
-
-
+
+
+
+
+
+
@@ -202,24 +221,28 @@
2023年营收累计
?
-
- 不包含营业外收入
+ 不包含营业外收入
+ 完成率=本年累计 / 年度预算
(472,356,021.71/725,370,000.00)
+ 成本比=本年成本/本年累计收入
(180,563,832.50/472,356,021.71)
+ 年度预算同比:本年累计营收的同比值
-
+
+
65.12%
-
-
- 完成率=本年累计 / 年度预算(472,356,021.71/725,370,000.00)
-
-
+
+
+
+
+
+
@@ -230,12 +253,12 @@
38.23%
成本比
- ?
-
- 成本比=本年成本/本年累计收入(180,563,832.50/472,356,021.71)
-
-
+
+
+
+
+
+
@@ -248,12 +271,12 @@
+47.81%
同比
- ?
-
- 本年累计营收的同比值
-
-
+
+
+
+
+
+
@@ -267,23 +290,28 @@
2023年收入合计
?
-
- 包含营业外收入
+ 包含营业外收入
+ 完成率=本年累计 / 年度预算
(473,766,021.71/726,870,000.00)
+ 成本比=本年累计成本/本年累计收入
(180,563,832.50/473,766,021.71)
+ 年度预算:年度预算包含营业外
+ 年度预算同比: 本年累计收入的同比值
-
+
+
65.18%
-
-
- 完成率=本年累计 / 年度预算(473,766,021.71/726,870,000.00)
-
-
+
+
+
+
+
+
@@ -299,12 +327,12 @@
38.11%
成本比
- ?
-
- 成本比=本年累计成本/本年累计收入(180,563,832.50/473,766,021.71)
-
-
+
+
+
+
+
+
@@ -314,24 +342,24 @@
年度预算
/万元
- ?
-
- 年度预算包含营业外
-
-
+
+
+
+
+
+
+48.54%
同比
- ?
-
- 本年累计收入的同比值
-
-
+
+
+
+
+
+
@@ -349,9 +377,14 @@
自营收入小计
?
-
- 便利店、餐饮及客房的累计数
+ 便利店、餐饮及客房的累计数
+ 完成率=本年累计自营收入 / 自营收入的年度预算
(339,787,552.17/473,920,000.00)
+ 本月占比=7月自营收入 / 本年累计自营收入(50,708,267.25/339,787,552.17)
+ 服务区自营小计:完成率=服务区自营收入 / 自营收入的年度预算
(304,283,297.04/473,920,000.00)
+ 服务区自营小计:城市店、批发团购及通道费的累计数
+ 分公司收入小计:完成率=分公司收入 / 自营收入的年度预算
(35,504,255.13/473,920,000.00)
@@ -363,15 +396,16 @@
-
+
+
71.70%
-
-
- 完成率=本年累计自营收入 / 自营收入的年度预算(339,787,552.17/473,920,000.00)
-
-
+
+
+
+
+
+
@@ -392,7 +426,6 @@
7月累计
/万元
-
@@ -405,12 +438,12 @@
14.92%
本月占比
- ?
-
- 本月占比=7月自营收入 / 本年累计自营收入(50,708,267.25/339,787,552.17)
-
-
+
+
+
+
+
+
@@ -427,12 +460,12 @@
完成率
64.21%
- ?
-
- 完成率=服务区自营收入 / 自营收入的年度预算(304,283,297.04/473,920,000.00)
-
-
+
+
+
+
+
+
@@ -440,24 +473,24 @@
分公司收入小计
- ?
-
- 城市店、批发团购及通道费的累计数
-
-
+
+
+
+
+
+
+
完成率
7.49%
- ?
-
- 完成率=分公司收入 / 自营收入的年度预算(35,504,255.13/473,920,000.00)
-
-
+
+
+
+
+
+
@@ -471,9 +504,13 @@
其他收入小计
?
-
- 场地租赁、物业及受托代管、公共服务补贴、营业外收入的累计数
+ 场地租赁、物业及受托代管、公共服务补贴、营业外收入的累计数
+ 完成率=7月其他收入 / 其他收入的年度预算(133,978,469.54/252,950,000.00)
+ 本月占比=7月其他收入 / 本年累计其他收入(20,285,867.69/133,978,469.54)
+ 服务区租赁小计:商铺、充电桩、汽修、加油站的租赁累计收入
+ 服务区租赁小计完成率=服务区租赁累计收入 / 本年累计其他收入
(91,051,247.82/252,950,000.00)
@@ -484,15 +521,16 @@
-
+
+
52.97%
-
-
- 完成率=7月其他收入 / 其他收入的年度预算(133,978,469.54/252,950,000.00)
-
-
+
+
+
+
+
+
@@ -516,12 +554,12 @@
15.14%
本月占比
- ?
-
- 本月占比=7月其他收入 / 本年累计其他收入(20,285,867.69/133,978,469.54)
-
-
+
+
+
+
+
+
@@ -533,23 +571,23 @@
服务区租赁小计
- ?
-
- 商铺、充电桩、汽修、加油站的租赁累计收入(91,051,247.82/252,950,000.00)
-
-
+
+
+
+
+
+
完成率
35.99%
- ?
-
- 完成率=服务区租赁累计收入 / 本年累计其他收入(91,051,247.82/252,950,000.00)
-
-
+
+
+
+
+
+
@@ -938,6 +976,7 @@ export default {
this.menu = uni.getMenuButtonBoundingClientRect()
console.log('this.menu',this.menu)
let _this = this
+ // 延迟时间 相当于接口 把数据给图表组件
setTimeout(()=>{
_this.number = 40
_this.firstBox1st = 39.39
@@ -946,7 +985,7 @@ export default {
_this.firthBox1stRate = 65.18
_this.firthBox2stRate = 71.70
_this.firthBox3stRate = 52.97
- },100)
+ },1000)
},
methods:{
// 点击出现备注
@@ -1090,17 +1129,9 @@ export default {
uni.switchTab({
url: '/pages/index/index'
})
- // if (this.come==='index'){
- //
- // }else{
- // uni.switchTab({
- // url: '/pages/userCenter/userCenter'
- // })
- // }
},
// 进入收入详情
handleGoInComeDetail(){
- console.log('1111')
uni.navigateTo({
url: '/pages/revenue/incomeDetail'
});
@@ -1224,6 +1255,30 @@ export default {
color: #018ABD;
line-height: 44rpx;
}
+ .notice{
+ margin-left: 8rpx;
+ width: 12px;
+ height: 12px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ border: 2px solid #A69E9F;
+ border-radius: 50%;
+ color: #A69E9F;
+ font-size: 12px;
+ font-weight: 600;
+ .noticeBox{
+ max-width: 80%;
+ position: absolute;
+ top: 15px;
+ display: inline-block;
+ padding: 5px 10px;
+ background: #fff;
+ border-radius: 10rpx;
+ box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(166, 158, 159, 0.3);
+ z-index:9;
+ }
+ }
}
.moneyBox{
width: 100%;
@@ -1386,6 +1441,30 @@ export default {
color: #474EF4;
line-height: 44rpx;
}
+ .notice{
+ margin-left: 8rpx;
+ width: 12px;
+ height: 12px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ border: 2px solid #A69E9F;
+ border-radius: 50%;
+ color: #A69E9F;
+ font-size: 12px;
+ font-weight: 600;
+ .noticeBox{
+ max-width: 80%;
+ position: absolute;
+ left: 0;top: 0;
+ display: inline-block;
+ padding: 5px 10px;
+ background: #fff;
+ border-radius: 10rpx;
+ box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(166, 158, 159, 0.3);
+ z-index:9;
+ }
+ }
.monthSumBg{
position: absolute;
width: 320rpx;
@@ -1496,7 +1575,7 @@ export default {
font-size: 12px;
font-weight: 600;
.noticeBox{
- max-width: 60%;
+ max-width: 100%;
position: absolute;
display: inline-block;
padding: 5px 10px;
@@ -1527,7 +1606,7 @@ export default {
font-size: 12px;
font-weight: 600;
.noticeBox{
- max-width: 60%;
+ max-width: 80%;
position: absolute;
right: 0;top: 0;
display: inline-block;
@@ -1975,7 +2054,7 @@ export default {
font-size: 12px;
font-weight: 600;
.noticeBox{
- max-width: 60%;
+ max-width: 80%;
position: absolute;
display: inline-block;
padding: 5px 10px;
diff --git a/static/public/fontRevenue/stylesheet.css b/static/public/fontRevenue/stylesheet.css
index 2d31869..f50e04c 100644
--- a/static/public/fontRevenue/stylesheet.css
+++ b/static/public/fontRevenue/stylesheet.css
@@ -1,6 +1,6 @@
@font-face {
font-family: 'Alimama ShuHeiTi';
- src:url("/static/public/fontRevenue/up9HUFeeQJsE.woff2");
+ src:url("/static/public/fontRevenue/PlSxUbHwNZJZ.woff2");
font-weight: bold;
font-style: normal;
font-display: swap;