|
|
|
@ -172,7 +172,7 @@
|
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="ehsMaterialList" @selection-change="handleSelectionChange">
|
|
|
|
|
<el-table v-loading="loading" :data="ehsMaterialList" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName">
|
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
|
<el-table-column label="上报部门" align="center" prop="deptName" />
|
|
|
|
|
<!-- <el-table-column label="主键" align="center" prop="materialId" />-->
|
|
|
|
@ -940,6 +940,18 @@
|
|
|
|
|
// console.log("导入成功")
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
tableRowClassName({row, rowIndex}) {
|
|
|
|
|
if (row.sendQuantity != null) {
|
|
|
|
|
return 'warning-row';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return '';
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
<style>
|
|
|
|
|
.el-table .warning-row {
|
|
|
|
|
background: #f97762;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|