车间排产
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col style="width: 600px">
|
<el-col style="width: 600px">
|
||||||
<el-card style="height: 680px">
|
<el-card style="height: 680px">
|
||||||
<el-table :data="tableData2" height="380" highlight-current-row size="mini" style="width: 100%" border stripe @row-dblclick="XuanChu">
|
<el-table v-loading="loading2" :data="tableData2" height="380" highlight-current-row size="mini" style="width: 100%" border stripe @row-dblclick="XuanChu">
|
||||||
<el-table-column label="零件图号" align="center" width="190px">
|
<el-table-column label="零件图号" align="center" width="190px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件图号 }}
|
{{ scope.row.零件图号 }}
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-table :data="tableData3" :row-class-name="tableData3ClassName" height="280" size="mini" style="width: 100%" border @row-dblclick="XuanRu">
|
<el-table v-loading="loading3" :data="tableData3" :row-class-name="tableData3ClassName" height="280" size="mini" style="width: 100%" border @row-dblclick="XuanRu">
|
||||||
<el-table-column label="序号" align="center" width="50px">
|
<el-table-column label="序号" align="center" width="50px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.工序顺序 }}
|
{{ scope.row.工序顺序 }}
|
||||||
@@ -181,6 +181,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getGongxu(row) {
|
getGongxu(row) {
|
||||||
|
if (!this.loading3) {
|
||||||
this.loading3 = true
|
this.loading3 = true
|
||||||
this.tableData3 = []
|
this.tableData3 = []
|
||||||
this.index = row.index
|
this.index = row.index
|
||||||
@@ -200,6 +201,7 @@ export default {
|
|||||||
})
|
})
|
||||||
this.loading3 = false
|
this.loading3 = false
|
||||||
})
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
tableData1ClassName({ row, rowIndex }) {
|
tableData1ClassName({ row, rowIndex }) {
|
||||||
row.index = rowIndex
|
row.index = rowIndex
|
||||||
|
|||||||
Reference in New Issue
Block a user