master
xy 3 years ago
parent 669aa8cc11
commit 9edecd30a6

@ -78,13 +78,6 @@ export default {
value={row.link_table_name}
on={{
['change']:async e => {
if(row.parameter_id) {
this.$message({
type: 'warning',
message: `${row.local_key || ''}已选择关联数据字典`
})
return
}
row.link_table_name = e
if (e) {
this.foreignFields = await this.getFields(e)
@ -112,13 +105,6 @@ export default {
value={row.parameter_id}
on={{
['change']:async e => {
if(row.link_table_name) {
this.$message({
type: 'warning',
message: `${row.local_key || ''}已选择关联表`
})
return
}
row.parameter_id = e
if (e) {
this.foreignFields = await this.getFields('parameters')
@ -165,7 +151,6 @@ export default {
customFn: (row) => {
return (
<el-select size="mini"
disabled={!!row.parameter_id}
value={row.link_relation}
on={{
['change']:e => {

Loading…
Cancel
Save