升级影响评估选否时增加理由字段

This commit is contained in:
zyx.net
2023-06-09 09:21:11 +08:00
parent bdd6710fdc
commit 0cf8c9c58f
@@ -159,6 +159,12 @@
:title="form.qttext ? form.qttext : $t('PleaseEnter')"
:placeholder="$t('PleaseEnter')"></a-input>
</div>
<div v-if='flagly'>
<a-input class="box-input2"
v-model="form.ly"
:title="form.ly ? form.ly : $t('PleaseEnter')+ $t('reason')"
:placeholder="$t('PleaseEnter')+ $t('reason')"></a-input>
</div>
</td>
</tr>
<tr>
@@ -220,6 +226,7 @@ export default {
flag:false,
flagqr:false,
flagqrqt:false,
flagly:false,
loading: false,
disable:false,
columns: [
@@ -420,22 +427,27 @@ this.$forceUpdate()
}
if(this.form.yhqr == '1'){
this.flagqr = true
this.flagly = false
this.qrheight = '100px'
}else{
this.flagqr = false
this.qrheight = '50px'
this.flagly = true
this.qrheight = '100px'
}
if(this.form.yhqr == '1' && this.form.flagqr == '344a3320beba45afb3718c59b7a7144a'){
this.qrheight = '150px'
this.flagqrqt = true
this.flagly = false
}else if(this.form.yhqr == '1' && this.form.flagqr != '344a3320beba45afb3718c59b7a7144a'){
this.flagqr = true
this.flagqrqt = false
this.flagly = false
this.qrheight = '100px'
}else {
this.flagqrqt = false
this.flagqr = false
this.qrheight = '50px'
this.flagly = true
this.qrheight = '100px'
}
})
},
@@ -476,12 +488,14 @@ this.$forceUpdate()
if(val.target.value == '1'){
this.qrheight = '100px'
this.flagqr = true
this.flagly = false
if(this.form.flagqr == '344a3320beba45afb3718c59b7a7144a'){
this.qrheight = '150px'
this.flagqrqt = true
}
}else{
this.qrheight = '50px'
this.qrheight = '100px'
this.flagly = true
this.flagqr = false
this.flagqrqt = false
}
@@ -490,9 +504,11 @@ this.$forceUpdate()
if(val == '344a3320beba45afb3718c59b7a7144a'){
this.qrheight = '150px'
this.flagqrqt = true
this.flagly = false
}else {
this.qrheight = '100px'
this.flagqrqt = false
this.flagly = false
}
},
}