更新
This commit is contained in:
@@ -23,10 +23,21 @@
|
||||
</el-card>
|
||||
|
||||
<el-card>
|
||||
<el-table v-loading="loading0" :data="tableData" :row-key="getRowKeys" :expand-row-keys="expands" height="650" style="width: 100%;" border @expand-change="searchTable2">
|
||||
<el-table-column type="expand">
|
||||
<el-table
|
||||
v-loading="loading0"
|
||||
:data="tableData"
|
||||
:row-key="getRowKeys"
|
||||
:expand-row-keys="expands"
|
||||
stripe="true"
|
||||
size="mini"
|
||||
highlight-current-row
|
||||
border
|
||||
height="500"
|
||||
style="width: 100%;"
|
||||
@expand-change="searchTable2">
|
||||
<el-table-column label="明细" align="center" type="expand" width="55">
|
||||
<template slot-scope="scope">
|
||||
<el-table :data="tableData2" border style="text-align: center" size="mini">
|
||||
<el-table :data="tableData2" class="subTableHeader" border style="text-align: center" size="mini">
|
||||
<el-table-column label="零件加工计划进度(工艺名称,计划完成时间,实际完成时间,员工名称)" >
|
||||
<el-table-column label="[1]" align="center" width="120px">
|
||||
<template slot-scope="scope">
|
||||
@@ -242,29 +253,29 @@
|
||||
</el-table>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="零件名称" align="center" width="220px">
|
||||
<el-table-column label="零件名称" align="center" width="180px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.零件名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="零件图号" align="center" width="270px">
|
||||
<el-table-column label="零件图号" align="center" width="200px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.零件图号_短 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="待加工工序" align="center">
|
||||
<el-table-column label="待加工工序" align="center" min-width="200px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.工艺名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="300" align="center">
|
||||
<el-table-column label="操作" width="490px" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div>
|
||||
<el-button size="mini" icon="el-icon-arrow-up" type="primary" @click="upOne(scope.row)"/>
|
||||
<el-button size="mini" icon="el-icon-arrow-down" type="primary" @click="downOne(scope.row)"/>
|
||||
<el-button size="mini" icon="el-icon-upload2" type="primary" @click="TOP(scope.row)"/>
|
||||
<el-button size="mini" icon="el-icon-download" type="primary" @click="Down(scope.row)"/>
|
||||
<el-button size="mini" icon="el-icon-delete" type="danger" @click="outParts(scope.row)"/>
|
||||
<el-button size="mini" icon="el-icon-arrow-up" type="primary" plain @click="upOne(scope.row)"/>
|
||||
<el-button size="mini" icon="el-icon-arrow-down" type="primary" plain @click="downOne(scope.row)"/>
|
||||
<el-button size="mini" icon="el-icon-upload2" type="primary" plain @click="TOP(scope.row)"/>
|
||||
<el-button size="mini" icon="el-icon-download" type="primary" plain @click="Down(scope.row)"/>
|
||||
<el-button size="mini" icon="el-icon-delete" type="danger" plain @click="outParts(scope.row)"/>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -657,4 +668,7 @@ export default {
|
||||
background-color: lightgreen;
|
||||
border: 1px solid #1f2d3d;
|
||||
}
|
||||
.el-card{
|
||||
margin: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user