| | |
| | | <el-col :span="5"> |
| | | <div class="fa-card-a" style="margin-right: 5px;height: calc(100vh - 123px)"> |
| | | <product-model-tree ref="modelTree" @on-selected="onProductSelected" @on-default="onDefault" showXdy="false" |
| | | basic="3"/> |
| | | basic="3" :isShow="false"/> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="19"> |
| | |
| | | row-key="id" |
| | | :expand-row-keys="defultKey" |
| | | :tree-props="{children: 'children', hasChildren: 'hasChildren'}" |
| | | :header-cell-style="{'text-align':'center'}" |
| | | border @selection-change="table.selectionChangeHandle"> |
| | | <!--<el-table-column type="selection" width="40"/>--> |
| | | <el-table-column prop="name" label="名称"/> |
| | |
| | | }) |
| | | }, |
| | | setDefultKey() { |
| | | console.log(this.$refs.tableObj.dataList[0].id,'this.$refs.tableObj.dataList[0].id') |
| | | this.defultKey.push(this.dataForm.shipId + "") |
| | | }, |
| | | onDefault(defaultId) { |