bug 78392
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
v-model="formInline[item.dbFieldName]" :rows="4" />
|
v-model="formInline[item.dbFieldName]" :rows="4" />
|
||||||
<!-- 6, 标准多选 -->
|
<!-- 6, 标准多选 -->
|
||||||
<standard-selection v-else-if="item.fieldShowType === FieldType.STANDARD_MORE.value"
|
<standard-selection v-else-if="item.fieldShowType === FieldType.STANDARD_MORE.value"
|
||||||
:source="flag"
|
:source="getFlag(item.dbFieldName)"
|
||||||
:disabledSourceSearch="true"
|
:disabledSourceSearch="true"
|
||||||
:disabled="disabled || disabledFieldList.includes(item.dbFieldName)"
|
:disabled="disabled || disabledFieldList.includes(item.dbFieldName)"
|
||||||
:exclude-standard-numbers="excludeStandardFields.includes(item.dbFieldName) ? excludeStandardNumbers : null"
|
:exclude-standard-numbers="excludeStandardFields.includes(item.dbFieldName) ? excludeStandardNumbers : null"
|
||||||
@@ -266,6 +266,14 @@ export default {
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
required: false,
|
required: false,
|
||||||
default: false
|
default: false
|
||||||
|
},
|
||||||
|
// 选择标准字段和选择来源的对应关系
|
||||||
|
flagByField: {
|
||||||
|
type: Object,
|
||||||
|
required: false,
|
||||||
|
default: () => {
|
||||||
|
return {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
@@ -597,6 +605,9 @@ export default {
|
|||||||
this.rules = Object.assign({}, rules)
|
this.rules = Object.assign({}, rules)
|
||||||
this.clearValidate()
|
this.clearValidate()
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
getFlag (fieldName) {
|
||||||
|
return this.flagByField[fieldName] || this.flag
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
:disabled-field-list="disabledField"
|
:disabled-field-list="disabledField"
|
||||||
:exclude-standard-fields="excludeStandardFields"
|
:exclude-standard-fields="excludeStandardFields"
|
||||||
domestic-special-check
|
domestic-special-check
|
||||||
|
:flag-by-field="{associated_foreign_standards: StandardSource.OVERSEAS.value}"
|
||||||
@submitFormData="submitFormData" />
|
@submitFormData="submitFormData" />
|
||||||
</a-spin>
|
</a-spin>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user