update
This commit is contained in:
parent
358f5be05d
commit
3ce4d3d9f6
@ -272,11 +272,14 @@
|
||||
<text class="unit">营收 /万元</text>
|
||||
</view>
|
||||
</view>
|
||||
<view style="width: 50%">
|
||||
<view style="width: 50%;position: relative" @click.stop="handleShowDetail(item)">
|
||||
<view class="moneyItem">
|
||||
<text class="value">{{item.PROFIT_AMOUNT?$util.getMoney(item.PROFIT_AMOUNT / 10000):'-'}}</text>
|
||||
<text class="unit">盈利 /万元</text>
|
||||
</view>
|
||||
<view class="moneyDetailFixed" v-if="item.showDetail" @click.stop="handleCloseDetail(item)">
|
||||
{{`营业金额(${item.REVENUE_AMOUNT ? $util.getMoney(item.REVENUE_AMOUNT / 10000) : 0}万元)-甲方利润(${item.ROYALTY_THEORY ? $util.getMoney(item.ROYALTY_THEORY / 10000) : 0}万元)- 商家成本预估(20%营业额;${item.LABOURS_COUNT?`员工${item.LABOURS_COUNT || 0}人;`:''}${item.LABOURS_WAGE?`月均${item.LABOURS_WAGE || 0}元/人;`:''}${item.DEPRECIATION_EXPENSE?`折旧费${item.DEPRECIATION_EXPENSE || 0}万元/3年;`:''}${item.OTHER_EXPENSE?`其他运营成本${item.OTHER_EXPENSE || 0}万元`:''})(${$util.getMoney(item.COST_AMOUNT /10000) || 0}万元)`}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -389,6 +392,30 @@ export default {
|
||||
this.handleGetSearchCount()
|
||||
},
|
||||
methods:{
|
||||
// 展示盈利具体是怎么算的
|
||||
handleShowDetail(obj){
|
||||
console.log('obj',obj)
|
||||
let list = JSON.parse(JSON.stringify(this.dataList))
|
||||
console.log('list',list)
|
||||
list.forEach(item=>{
|
||||
if(item.BUSINESSPROJECT_ID === obj.BUSINESSPROJECT_ID){
|
||||
item.showDetail = true
|
||||
}
|
||||
})
|
||||
this.dataList = list
|
||||
},
|
||||
// 关闭盈利
|
||||
handleCloseDetail(obj){
|
||||
console.log('obj',obj)
|
||||
let list = JSON.parse(JSON.stringify(this.dataList))
|
||||
console.log('list',list)
|
||||
list.forEach(item=>{
|
||||
if(item.BUSINESSPROJECT_ID === obj.BUSINESSPROJECT_ID){
|
||||
item.showDetail = false
|
||||
}
|
||||
})
|
||||
this.dataList = list
|
||||
},
|
||||
// 修改排序
|
||||
handleChangeSortName(value){
|
||||
if (value===this.sortName){
|
||||
@ -1200,6 +1227,16 @@ export default {
|
||||
line-height: 36rpx;
|
||||
}
|
||||
}
|
||||
.moneyDetailFixed{
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
background: #fff;
|
||||
padding: 12rpx;
|
||||
border-radius: 12rpx;
|
||||
bottom: 40rpx;right: 10%;
|
||||
width: 80vw;
|
||||
box-shadow: 0rpx 2rpx 8rpx 0rpx rgba(231, 231, 231, 0.67);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1050,8 +1050,8 @@
|
||||
isShowFestival==='dragonBoat'?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/dragonBoatIcon.png':
|
||||
''"/>
|
||||
</view>
|
||||
<text class="funText">端午节</text>
|
||||
<!-- <text class="funText">节日特刊</text>-->
|
||||
<!-- <text class="funText">端午节</text>-->
|
||||
<text class="funText">节日特刊</text>
|
||||
<!-- <text class="funText">平安春运</text>-->
|
||||
<!-- <text class="funText">{{ isShowFestival==='spring'?'平安春运':isShowFestival==='qm'?'清明节':'' }}</text>-->
|
||||
</view>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user