[update] 修改bug80422
This commit is contained in:
+2
-15
@@ -37,9 +37,9 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
<!-- 部门联络人 -->
|
<!-- 部门联络人 -->
|
||||||
<div class="box-title-text form-flex-item">
|
<div v-if="formInline.adviceFlag === '1'" class="box-title-text form-flex-item">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="required" v-if="rules.contactUser[0].required">*</span>
|
<span class="required">*</span>
|
||||||
<span class="title-text-text" :title="$t('workCenter.enStandardRevision.departmentalLiaison')">
|
<span class="title-text-text" :title="$t('workCenter.enStandardRevision.departmentalLiaison')">
|
||||||
{{ $t('workCenter.enStandardRevision.departmentalLiaison') }}
|
{{ $t('workCenter.enStandardRevision.departmentalLiaison') }}
|
||||||
</span>
|
</span>
|
||||||
@@ -87,19 +87,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
|
||||||
// 是否开启征求意见
|
|
||||||
'formInline.adviceFlag': {
|
|
||||||
handler (val) {
|
|
||||||
if (val && val === '1') {
|
|
||||||
// 开启征求意见,部门联络人必填
|
|
||||||
this.rules.contactUser[0].required = true
|
|
||||||
} else {
|
|
||||||
this.rules.contactUser[0].required = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
// 拿到外面传进来的数据初始化,因为套了几层就不在外层初始化数据了
|
// 拿到外面传进来的数据初始化,因为套了几层就不在外层初始化数据了
|
||||||
initData (data) {
|
initData (data) {
|
||||||
|
|||||||
+4
@@ -238,4 +238,8 @@ export default {
|
|||||||
.title-text-long {
|
.title-text-long {
|
||||||
width: 220px !important;
|
width: 220px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/deep/ .ant-form-item-children > * {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user