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