修改禅道已知bug
This commit is contained in:
+14
-2
@@ -249,11 +249,11 @@
|
||||
</div>
|
||||
<a-form-model-item class="itemModel">
|
||||
<PersonnelSelection
|
||||
:query="{db_field_name:'lawsContactName',db_field_txt:$t('regulatoryContact')}"
|
||||
:query="{db_field_name:'lawsContact',db_field_txt:$t('regulatoryContact')}"
|
||||
:personneQuery="formInline"
|
||||
:disabled="disabled"
|
||||
@change="PersonnelSelectionChange"
|
||||
v-model="formInline.lawsContact"/>
|
||||
v-model="formInline.lawsContactName"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
@@ -382,6 +382,12 @@
|
||||
} else {
|
||||
this.formInline.technologyTerritory = []
|
||||
}
|
||||
if (!this.formInline.useMethod) {
|
||||
this.formInline.useMethod = undefined
|
||||
}
|
||||
if (!this.formInline.state) {
|
||||
this.formInline.state = undefined
|
||||
}
|
||||
this.formInline = { ...this.formInline }
|
||||
} else {
|
||||
this.formInline = {}
|
||||
@@ -443,6 +449,12 @@
|
||||
formInline[res] = formInline[res].join(',')
|
||||
}
|
||||
})
|
||||
if (!formInline.state || formInline.state == '' || formInline.state == 'null') {
|
||||
formInline.state = ''
|
||||
}
|
||||
if (!formInline.useMethod || formInline.useMethod == '' || formInline.useMethod == 'null') {
|
||||
formInline.useMethod = ''
|
||||
}
|
||||
callback && callback(formInline)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user