This commit is contained in:
jiangyinzhi
2025-07-29 10:21:59 +08:00
parent 3523dcade7
commit 63dc3bcc89
35 changed files with 1017 additions and 443 deletions
+15 -12
View File
@@ -106,7 +106,7 @@
/>
<van-field
v-input.reset
v-input.floatNo0
v-input.float
:disabled="showForm"
type="number"
@blur="checkData"
@@ -518,13 +518,13 @@ export default {
readOnly(){
return this.yearForm.energyUnutilizedVO&&this.yearForm.energyUnutilizedVO.notUsedResidueEnergyType!='01'
},
tips2(){
let rate = Number(this.yearForm.actualPowerValue)/Number(this.yearForm.installedCapacityValue)
if(0 < rate && 2000 > rate){
return false
}
return true
}
// tips2(){
// let rate = Number(this.yearForm.actualPowerValue)/Number(this.yearForm.installedCapacityValue)
// if(0 < rate && 2000 > rate){
// return false
// }
// return true
// }
},
mounted() {
this.doDebounce=debounce(async function () {
@@ -756,6 +756,9 @@ export default {
Notify({ type: 'danger', duration: 500, message: '请选择年份' })
return
}
if(this.tabName == 'a'){
this.checkData()
}
if(this.tabName == 'b') {
if(this.heatDemandOtherName) {
this.yearForm.energyUnutilizedVO.heatDemandOther = this.heatDemandOtherName
@@ -766,14 +769,14 @@ export default {
this.yearForm.energyUnutilizedVO = Object.assign( this.yearForm.energyUnutilizedVO ,this.customerInfo)
}
if(this.tabName == 'a'&&this.tips1){
return
return
}
if(this.tabName == 'c'&&this.tips0){
return
}
if(this.yearForm.isPvInstallCondition == '1'&&this.tips2){
return
}
// if(this.yearForm.isPvInstallCondition == '1'&&this.tips2){
// return
// }
let params = Object.assign(this.customerInfo, this.yearForm)
params.taskId = this.tidCid.taskId
if(this.$route.query.id) {