update
This commit is contained in:
parent
2fc99587bf
commit
e56b53fb0c
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -386,7 +386,8 @@
|
|||||||
|
|
||||||
<view class="contentItem">
|
<view class="contentItem">
|
||||||
租金交付已完成
|
租金交付已完成
|
||||||
<text class="money">{{ item.rentDelivery ? item.rentDelivery > 100 ? 100 : item.rentDelivery + '%' :
|
<text class="money">{{ item.rentDelivery ? item.rentDelivery > 100 ? 100 :
|
||||||
|
item.rentDelivery.toFixed(2) + '%' :
|
||||||
'-'
|
'-'
|
||||||
}}</text>
|
}}</text>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -642,25 +642,26 @@ export default {
|
|||||||
bindDateChange(e) { // 切换日期 加载选中日期的营收数据
|
bindDateChange(e) { // 切换日期 加载选中日期的营收数据
|
||||||
// let nowDate = this.theRequest.time
|
// let nowDate = this.theRequest.time
|
||||||
let selectT = new Date(e.detail.value)
|
let selectT = new Date(e.detail.value)
|
||||||
if (selectT <= new Date(this.lastDay)) {
|
|
||||||
this.theRequest.time = e.detail.value
|
// if (selectT <= new Date(this.lastDay)) {
|
||||||
this.theRequest.month = this.$util.cutDate(e.detail.value, 'YYYYMM')
|
this.theRequest.time = e.detail.value
|
||||||
this.sevenDate = [this.$util.cutDate(selectT, 'MM.DD', -13),
|
this.theRequest.month = this.$util.cutDate(e.detail.value, 'YYYYMM')
|
||||||
this.$util.cutDate(selectT, 'MM.DD', -7)]
|
this.sevenDate = [this.$util.cutDate(selectT, 'MM.DD', -13),
|
||||||
uni.showLoading({
|
this.$util.cutDate(selectT, 'MM.DD', -7)]
|
||||||
title: '正在加载...',
|
uni.showLoading({
|
||||||
mask: false // 减少遮罩,提升用户体验
|
title: '正在加载...',
|
||||||
})
|
mask: false // 减少遮罩,提升用户体验
|
||||||
// 异步并行加载数据
|
})
|
||||||
Promise.all([
|
// 异步并行加载数据
|
||||||
this.initData(),
|
Promise.all([
|
||||||
this.todayAmount()
|
this.initData(),
|
||||||
]).catch(err => {
|
this.todayAmount()
|
||||||
console.error('数据刷新失败:', err)
|
]).catch(err => {
|
||||||
uni.hideLoading()
|
console.error('数据刷新失败:', err)
|
||||||
})
|
uni.hideLoading()
|
||||||
// 移除不必要的$forceUpdate
|
})
|
||||||
}
|
// 移除不必要的$forceUpdate
|
||||||
|
// }
|
||||||
|
|
||||||
},
|
},
|
||||||
toDetail(item, provinceId) { // 如果当前页面至存在一个初始化的省份编码 则不需要传入参数provinceId
|
toDetail(item, provinceId) { // 如果当前页面至存在一个初始化的省份编码 则不需要传入参数provinceId
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -3620,14 +3620,14 @@
|
|||||||
}}</view>
|
}}</view>
|
||||||
<view class="itemLabel">已完成<text class="unit">/{{
|
<view class="itemLabel">已完成<text class="unit">/{{
|
||||||
plan.revenueType === "yi" ? "亿元" : "万元"
|
plan.revenueType === "yi" ? "亿元" : "万元"
|
||||||
}}</text></view>
|
}}</text></view>
|
||||||
</view>
|
</view>
|
||||||
<view class="bottomItem">
|
<view class="bottomItem">
|
||||||
<view class="itemValue">{{
|
<view class="itemValue">{{
|
||||||
plan.BudgetYear_Amount ? plan.BudgetYear_Amount : "-"
|
plan.BudgetYear_Amount ? plan.BudgetYear_Amount : "-"
|
||||||
}}</view>
|
}}</view>
|
||||||
<view class="itemLabel">计划<text class="unit">/{{ plan.budgetType === "yi" ? "亿元" : "万元"
|
<view class="itemLabel">计划<text class="unit">/{{ plan.budgetType === "yi" ? "亿元" : "万元"
|
||||||
}}</text></view>
|
}}</text></view>
|
||||||
</view>
|
</view>
|
||||||
<view class="bottomItem">
|
<view class="bottomItem">
|
||||||
<view class="itemValue">{{
|
<view class="itemValue">{{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user