update 工作组、起草组批量新增成员单位完善
This commit is contained in:
@@ -31,10 +31,11 @@
|
||||
<!--todo 样式得调整,左侧和下面的成员单位应该保持一致。-->
|
||||
<template v-if="isBatchAdd && model.workingGroupIdList && model.workingGroupIdList.length > 0">
|
||||
<a-row v-for="(_, index) in model.workingGroupIdList" :key="index + ''">
|
||||
<a-col :xl="21" :sm="20">
|
||||
<!-- 对齐其他表单单独设置col样式 -->
|
||||
<a-col :xl="21" :sm="20" class="custom-col">
|
||||
<a-form-item :label="`工作组${index + 1}`" :labelCol="remarksLabelCol" :wrapperCol="remarksWrapperCol">
|
||||
<a-select
|
||||
:placeholder="`请选择工作组项目${index + 1}`"
|
||||
:placeholder="`请选择工作组${index + 1}`"
|
||||
show-search
|
||||
v-decorator="[`workingGroupIdList[${index}]`, {rules: [{ required: index === 0, validator: index === 0 ? validateWorkingGroupRequired : validateWorkingGroup }],validateTrigger: 'change'}]"
|
||||
:maxLength='50'
|
||||
@@ -1159,4 +1160,13 @@ export default {
|
||||
.del-btn {
|
||||
color: #ff4d4f
|
||||
}
|
||||
// 工作组选择对齐其他表单的样式
|
||||
.custom-col {
|
||||
/deep/ .ant-col-sm-4 {
|
||||
width: calc(100% / 24 * 4.5);
|
||||
}
|
||||
/deep/ .ant-col-sm-20 {
|
||||
width: calc(100% / 24 * 19.5);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user