fix: 扩展列表编辑问题

main
wx-jincw 2 months ago
parent a660c24128
commit 45f941fbeb

@ -69,7 +69,7 @@
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column header-align="center" fixed="right" align="center" width="150" label="操作"> <el-table-column header-align="center" align="center" width="150" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="editingRow === scope.row.id"> <template v-if="editingRow === scope.row.id">
<el-button type="text" size="small" @click="saveDetail(scope.row)"></el-button> <el-button type="text" size="small" @click="saveDetail(scope.row)"></el-button>
@ -162,7 +162,6 @@ export default {
orderAmount: parseFloat(row.orderAmount) || 0, orderAmount: parseFloat(row.orderAmount) || 0,
remark: row.remark || '' remark: row.remark || ''
} }
console.log('开始编辑,表单数据:', this.editForm) console.log('开始编辑,表单数据:', this.editForm)
}, },
// //

@ -102,7 +102,6 @@
label="备注"> label="备注">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
fixed="right"
header-align="center" header-align="center"
align="center" align="center"
width="150" width="150"

Loading…
Cancel
Save