<template> <div> <el-button v-if="action!='read'" type="primary" size="small" style="margin-left:20px;" >添加转让行</el-button> <el-table v-if="node.value.length > 0 ||action=='read'" :data="node.value" stripe style="width: 90%"> <el-table-column prop="BkNm" label="转让行名称" width="180"> </el-table-column> <el-table-column prop="BkCd" label="转让行行号" width="180"> </el-table-column> <el-table-column prop="Adr" label="转让行地址"> </el-table-column> <el-table-column label="操作"> </el-table-column> </el-table> </div> </template> <script> export default { props:['node','action'], data(){ return {} } } </script>