修改展开位置

master
夜笙歌 4 months ago
parent b445232634
commit 8fbeeb1bd5

@ -21,7 +21,7 @@
width="180" width="180"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.process" placeholder="请输入内容"></el-input> <el-input v-model="scope.row.process" placeholder="请输入内容" :disabled="scope.row.disabled"></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@ -30,7 +30,7 @@
width="180" width="180"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.procedure" placeholder="请输入内容"></el-input> <el-input v-model="scope.row.procedure" placeholder="请输入内容" :disabled="scope.row.disabled"></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@ -38,7 +38,7 @@
label="人员" label="人员"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.staff" placeholder="请输入内容"></el-input> <el-input v-model="scope.row.staff" placeholder="请输入内容" :disabled="scope.row.disabled"></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@ -46,7 +46,7 @@
label="时间" label="时间"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.time" placeholder="请输入内容"></el-input> <el-input v-model="scope.row.time" placeholder="请输入内容" :disabled="scope.row.disabled"></el-input>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -123,6 +123,9 @@ export default {
}, },
mounted() { mounted() {
this.getId(this.tableData) this.getId(this.tableData)
this.tableData.forEach(e=>{
e.disabled = true
})
}, },
methods: { methods: {
getId(arr) { getId(arr) {

Loading…
Cancel
Save