手动增加加急件,打印提醒
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
<el-card>
|
||||
<el-tabs type="border-card" @tab-click="selectPart">
|
||||
<el-tab-pane label="基本件">
|
||||
<el-table :data="tableData1" border size="mini" style="width: 100%" height="300px" @selection-change="handleSelectionChange">
|
||||
<el-table :data="tableData1" :row-class-name="tableRowClassName1" border size="mini" style="width: 100%" height="300px" @selection-change="handleSelectionChange">
|
||||
<el-table-column align="center" width="50" type="selection"/>
|
||||
<el-table-column label="零件名称" align="center" width="120px">
|
||||
<template slot-scope="scope">
|
||||
@@ -852,6 +852,11 @@ export default {
|
||||
return 'adopt'
|
||||
}
|
||||
},
|
||||
tableRowClassName1({ row }) {
|
||||
if (row.是否加急件 === 1) {
|
||||
return 'isUrgentItem'
|
||||
}
|
||||
},
|
||||
machineChange() {
|
||||
this.groupNumberValue = ''
|
||||
this.groupNumber = []
|
||||
@@ -1524,4 +1529,7 @@ export default {
|
||||
.el-table .adopt{
|
||||
background: limegreen;
|
||||
}
|
||||
.el-table .isUrgentItem{
|
||||
background: #ff7575;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user