modified: src/components/view/standard-table/product.vue
| | |
| | | <span>{{scope.row.productFather}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="productFather" hidden></el-table-column> |
| | | <el-table-column prop="unit" label="单位"></el-table-column> |
| | | <el-table-column prop="product" label="指标"></el-table-column> |
| | | <el-table-column label="操作"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" @click="updateProduct(scope.row)">编辑</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </template> |
| | |
| | | }, |
| | | props:['tableData','tableType'], |
| | | methods:{ |
| | | updateProduct(row){ |
| | | console.log(row); |
| | | }, |
| | | // 表格树全部选中配置 |
| | | // 表格树全部选中配置 |
| | | // 全选/取消选操作 |
| | | selectAll(val) { |
| | | this.isAllSelect = !this.isAllSelect; |