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