This commit is contained in:
cclu 2023-12-11 10:52:10 +08:00
parent 50ea9fc5c7
commit 9bf893f555

View File

@ -380,19 +380,33 @@
</view>
<view style="display: flex;align-items: center">
<view class="smallTitle">{{ item.name }}</view>
<view class="notice" @click="incomeChildrenShow('自营收入小计')">?
<view class="noticeBox" :style="{left: '10%',top:'20px'}" v-if="userRevenueSmallSum">
<view class="notice" @click="incomeChildrenShow(item.name,index)">?
<view class="noticeBox" :style="{left: '10%',top:'20px'}" v-if="userRevenueSmallSum && index===selectInComeIndex">
<view v-if="userRevenueSmallSum" @click.stop="handleShowNotice('userRevenueSmallSum')">
<view>便利店餐饮及客房的累计数</view>
<!-- <view>完成率 = 本年累计自营收入 / 自营收入的年度预算<br/>{{ `(${$util.fmoney(item.ThisYearTotal,2)} / ${$util.fmoney(item.ThisYearBudget,2)})` }}</view>-->
<!-- <view>{{ `本月占比 = ${thisMonth}月自营收入 / 本年累计自营收入(${$util.fmoney(item.ThisMonthIncome,2)} / ${$util.fmoney(item.ThisYearTotal,2)}) `}}</view> -->
<view>完成率 = 本年累计自营收入 / 自营收入的年度预算<br/>{{ `(${item.thisYearReal||'-'} / ${item.thisYearBudgetReal||'-'})` }}</view>
<view>{{ `本月占比 = ${thisMonth}月自营收入 / 本年累计自营收入(${item.thisMonthReal||'-'} / ${item.thisYearReal||'-'}) `}}</view>
<view>完成率 = 本年累计自营收入 / 自营收入的年度预算<br/>{{ `( ${item.thisYearReal||'-'} / ${item.thisYearBudgetReal||'-'} )` }}</view>
<view>{{ `本月占比 = ${thisMonth}月自营收入 / 本年累计自营收入( ${item.thisMonthReal||'-'} / ${item.thisYearReal||'-'} )`}}</view>
<!-- <view>服务区自营小计完成率=服务区自营收入 / 自营收入的年度预算<br/>{{ `${$util.fmoney(item.ServerpartIncome,2)} / ${$util.fmoney(item.ThisYearBudget,2)}` }}</view>-->
<view>服务区自营小计城市店批发团购及通道费的累计数</view>
<!-- <view>分公司收入小计完成率=分公司收入 / 自营收入的年度预算<br/>{{ `${$util.fmoney(item.FilialeIncome,2)} / ${$util.fmoney(item.ThisYearBudget,2)}` }}</view>-->
</view>
</view>
<view class="noticeBox" :style="{left: '10%',top:'20px'}" v-if="otherSmallSum && index===selectInComeIndex">
<view v-if="otherSmallSum" @click.stop="handleShowNotice('otherSmallSum')">
<view v-if="otherSmallSum" @click.stop="handleShowNotice('otherSmallSum')">
<view>场地租赁物业及受托代管公共服务补贴营业外收入的累计数</view>
<!-- <view>完成率=7月其他收入 / 其他收入的年度预算{{ `(${$util.fmoney(item.ThisYearTotal,2)}/ ${$util.fmoney(item.ThisYearBudget ,2)})` }}</view>-->
<!-- <view>本月占比=7月其他收入 / 本年累计其他收入{{ `(${$util.fmoney(item.ThisMonthIncome ,2)}/ ${$util.fmoney(item.ThisYearTotal ,2)})` }}</view> -->
<view>{{ `完成率= ${thisMonth}月其他收入 / 其他收入的年度预算( ${item.thisMonthReal||'-'}/${item.thisYearBudgetReal||'-'} )` }}</view>
<view>{{ `本月占比 = ${thisMonth}月其他收入 / 本年累计其他收入( ${item.thisMonthReal||'-'}/${item.thisYearReal||'-'} )` }}</view>
<view>服务区租赁小计商铺充电桩汽修加油站的租赁累计收入</view>
<!-- <view>服务区租赁小计完成率=服务区租赁累计收入 / 本年累计其他收入<br/>{{ `(${$util.fmoney(item.ServerpartIncome ,2)}/ ${$util.fmoney(item.ThisYearBudget,2)})` }}</view>-->
</view>
</view>
</view>
</view>
</view>
</view>
@ -883,8 +897,10 @@ export default {
thisYearRealNumber:133978469.54,//
thisMonth:'2,028.58',//
thisMonthReal:'20,285,867.69',//
otherThisMonthReal:20285867.69,//
thisYearBudget:'25,295.00',//
thisYearBudgetReal:'252,950,000.00',//
otherThisYearBudgetReal:252950000,//
thisMonthRate:'15.14',//
}
],//
@ -1104,6 +1120,7 @@ export default {
outFourth:0,//
showInComeNotice:false,//
showOutNoitive:false,
selectInComeIndex:0
}
},
onLoad(){
@ -1335,8 +1352,8 @@ export default {
// this.outFourth = (this.currentResult.outList[3].expenditureCostThisYearNumber/sum)*100
},
//
incomeChildrenShow(item){
this.childrenShow = true
incomeChildrenShow(item,index){
this.selectInComeIndex = index
if (item==='自营收入小计'){
this.handleShowNotice('userRevenueSmallSum')
}else{
@ -1345,7 +1362,6 @@ export default {
},
// swiper
handleChangeSwiper(e){
console.log('e',e)
this.selectMonth = e.target.current
this.thisMonth = this.monthList[this.selectMonth]
this.single = `${this.thisYear}-${this.thisMonth<10?'0'+this.thisMonth:this.thisMonth}`
@ -1361,7 +1377,6 @@ export default {
Month:this.thisMonth
}
const data = await request.$webGetTest('EShangApiMain/Budget/GetbudgetProjectReport',req)
console.log('data',data)
this.currentResult = data.Result_Data
let sum = 0
if (this.currentResult.outList && this.currentResult.outList.length>0){