主子表选择过滤当前表
This commit is contained in:
parent
5e2232d7a1
commit
05b7b4d6db
@ -315,7 +315,12 @@
|
||||
</span>
|
||||
</template>
|
||||
<el-select v-model="info.subTableName" filterable placeholder="请选择" @change="subSelectChange(this)">
|
||||
<el-option v-for="(table, index) in tables" :key="index" :label="table.tableName + ':' + table.tableComment" :value="table.tableName">
|
||||
<el-option
|
||||
v-for="(table, index) in tables"
|
||||
:disabled="table.tableName == info.tableName"
|
||||
:key="index"
|
||||
:label="table.tableName + ':' + table.tableComment"
|
||||
:value="table.tableName">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user