一致性分析即首次自身/组间一致性分析时虚拟中心编号可编辑

uat_us
wangxiaoshuang 2024-03-20 09:21:11 +08:00
parent d5594e87b2
commit ee049b4017
1 changed files with 8 additions and 1 deletions

View File

@ -29,7 +29,7 @@
</el-form-item>
<!-- 虚拟中心编号 -->
<el-form-item :label="$t('trials:consistencyAnalysisRule:table:siteCode')" prop="BlindTrialSiteCode">
<el-input v-model="form.BlindTrialSiteCode" style="width: 140px;" :disabled="Result.BlindTrialSiteCode" @input="(v)=>(form.BlindTrialSiteCode = v.replace(/[^\a-\z\A-\Z0-9]/g, ''))"/>
<el-input v-model="form.BlindTrialSiteCode" style="width: 140px;" :disabled="!!Result.BlindTrialSiteCode || !!OtherInfo.VitrualSiteCode" @input="(v)=>(form.BlindTrialSiteCode = v.replace(/[^\a-\z\A-\Z0-9]/g, ''))"/>
</el-form-item>
<!-- 虚拟受试者位数 -->
<el-form-item :label="$t('trials:consistencyAnalysisRule:table:subjectNum')" prop="BlindSubjectNumberOfPlaces">
@ -146,6 +146,13 @@ export default {
// }
this.getFrom()
},
watch:{
"OtherInfo.VitrualSiteCode":{
handler(){
this.form.BlindTrialSiteCode = this.OtherInfo.VitrualSiteCode;
}
}
},
methods: {
getFrom() {
getConsistentRule({