| | |
| | | <template> |
| | | <div class="standard"> |
| | | <div> |
| | | <el-table :data="tableData" max-height="675" row-key="rowId" border |
| | | <div style="width: 100%;height: 68vh;overflow-x: auto;"> |
| | | <el-table :data="tableData" row-key="rowId" border height="calc(90vh - 200px)" |
| | | @select-all="selectAll" @select="selectTr" ref="multipleTable" |
| | | @selection-change="handleSelectionChange" default-expand-all |
| | | :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"> |
| | |
| | | </el-table-column> |
| | | <el-table-column type="index" width="60" label="序号"> |
| | | </el-table-column> |
| | | <el-table-column prop="father" label="工序" :resizable="false"> |
| | | <el-table-column prop="father" label="工序" width="200" :resizable="false"> |
| | | <template slot-scope="scope"> |
| | | <el-tag class="tag" v-if="scope.row.father != null" type="primary">01</el-tag> |
| | | <span style="color: #000000"> |
| | |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="tname" sortable label="工艺名称" :resizable="false"> |
| | | <el-table-column prop="tname" label="工艺名称" width="200" :resizable="false"> |
| | | <template slot-scope="scope"> |
| | | <el-tag type="success" v-if="scope.row.tname != null" class="tag">02</el-tag> |
| | | <span style="color: #000000"> |
| | |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="mname" label="材料名称" :resizable="false"> |
| | | <el-table-column prop="mname" label="材料名称" width="200" :resizable="false"> |
| | | <template slot-scope="scope"> |
| | | <el-tag type="info" class="tag" color="#faf2ff" v-if="scope.row.mname != null"> |
| | | <span style="color: #e1affb">03</span> |