diff --git a/src/components/customField/AddForm.vue b/src/components/customField/AddForm.vue index 81fe83f0..83cc78f3 100644 --- a/src/components/customField/AddForm.vue +++ b/src/components/customField/AddForm.vue @@ -51,7 +51,7 @@ v-model="formInline[item.dbFieldName]" :rows="4" /> { + return {} + } } }, mounted () { @@ -597,6 +605,9 @@ export default { this.rules = Object.assign({}, rules) this.clearValidate() } + }, + getFlag (fieldName) { + return this.flagByField[fieldName] || this.flag } } } diff --git a/src/views/standardRegulationLibrary/domesticStandard/modules/DomesticStandardModal.vue b/src/views/standardRegulationLibrary/domesticStandard/modules/DomesticStandardModal.vue index 1e4b6772..a8baffbf 100644 --- a/src/views/standardRegulationLibrary/domesticStandard/modules/DomesticStandardModal.vue +++ b/src/views/standardRegulationLibrary/domesticStandard/modules/DomesticStandardModal.vue @@ -21,6 +21,7 @@ :disabled-field-list="disabledField" :exclude-standard-fields="excludeStandardFields" domestic-special-check + :flag-by-field="{associated_foreign_standards: StandardSource.OVERSEAS.value}" @submitFormData="submitFormData" />