xiugai
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user