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

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')" :title="form.qttext ? form.qttext : $t('PleaseEnter')"
:placeholder="$t('PleaseEnter')"></a-input> :placeholder="$t('PleaseEnter')"></a-input>
</div> </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> </td>
</tr> </tr>
<tr> <tr>
@@ -220,6 +226,7 @@ export default {
flag:false, flag:false,
flagqr:false, flagqr:false,
flagqrqt:false, flagqrqt:false,
flagly:false,
loading: false, loading: false,
disable:false, disable:false,
columns: [ columns: [
@@ -420,22 +427,27 @@ this.$forceUpdate()
} }
if(this.form.yhqr == '1'){ if(this.form.yhqr == '1'){
this.flagqr = true this.flagqr = true
this.flagly = false
this.qrheight = '100px' this.qrheight = '100px'
}else{ }else{
this.flagqr = false this.flagqr = false
this.qrheight = '50px' this.flagly = true
this.qrheight = '100px'
} }
if(this.form.yhqr == '1' && this.form.flagqr == '344a3320beba45afb3718c59b7a7144a'){ if(this.form.yhqr == '1' && this.form.flagqr == '344a3320beba45afb3718c59b7a7144a'){
this.qrheight = '150px' this.qrheight = '150px'
this.flagqrqt = true this.flagqrqt = true
this.flagly = false
}else if(this.form.yhqr == '1' && this.form.flagqr != '344a3320beba45afb3718c59b7a7144a'){ }else if(this.form.yhqr == '1' && this.form.flagqr != '344a3320beba45afb3718c59b7a7144a'){
this.flagqr = true this.flagqr = true
this.flagqrqt = false this.flagqrqt = false
this.flagly = false
this.qrheight = '100px' this.qrheight = '100px'
}else { }else {
this.flagqrqt = false this.flagqrqt = false
this.flagqr = false this.flagqr = false
this.qrheight = '50px' this.flagly = true
this.qrheight = '100px'
} }
}) })
}, },
@@ -476,12 +488,14 @@ this.$forceUpdate()
if(val.target.value == '1'){ if(val.target.value == '1'){
this.qrheight = '100px' this.qrheight = '100px'
this.flagqr = true this.flagqr = true
this.flagly = false
if(this.form.flagqr == '344a3320beba45afb3718c59b7a7144a'){ if(this.form.flagqr == '344a3320beba45afb3718c59b7a7144a'){
this.qrheight = '150px' this.qrheight = '150px'
this.flagqrqt = true this.flagqrqt = true
} }
}else{ }else{
this.qrheight = '50px' this.qrheight = '100px'
this.flagly = true
this.flagqr = false this.flagqr = false
this.flagqrqt = false this.flagqrqt = false
} }
@@ -490,9 +504,11 @@ this.$forceUpdate()
if(val == '344a3320beba45afb3718c59b7a7144a'){ if(val == '344a3320beba45afb3718c59b7a7144a'){
this.qrheight = '150px' this.qrheight = '150px'
this.flagqrqt = true this.flagqrqt = true
this.flagly = false
}else { }else {
this.qrheight = '100px' this.qrheight = '100px'
this.flagqrqt = false this.flagqrqt = false
this.flagly = false
} }
}, },
} }