<template>
<div>
<el-table
:data="tableData"
border
style="width: 100%"
>
<el-table-column
label="优惠金额"
width="180"
prop="money"
>
<template slot-scope="scope">
<el-input placeholder="" v-model='scope.row.money'></el-input>
</template>
</el-table-column>
<el-table-column
width="400"
label="品类"
prop="type"
>
<template slot-scope="scope">
<el-select placeholder="请选择" v-model='scope.row.time'>
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-selec
vue + element 表格增加、删除、上移、下移
最新推荐文章于 2023-02-07 15:59:36 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)