This commit is contained in:
liushuai
2019-10-29 15:54:18 +08:00
parent 68e2b8e750
commit ad31970800
17 changed files with 1626 additions and 784 deletions

View File

@@ -36,7 +36,6 @@
<el-table
v-loading="listLoading"
:data="tableData"
:row-class-name="tableRowClassName"
size="mini"
border
stripe
@@ -476,12 +475,6 @@ export default {
pagination(pageCurrent, pageSize) {
this.tableData = this.tableDataAll.slice((pageCurrent - 1) * pageSize, pageCurrent * pageSize)
},
tableRowClassName({ row }) {
if (this.unSpecification.data.indexOf(row) > -1) {
return 'warning-row'
}
return ''
},
handleEdit(row) {
this.editForm(row, 'form', [this.title = '编辑零件信息', this.dialogFormVisible = true])
if (this.type === 2) {
@@ -628,9 +621,6 @@ export default {
</script>
<style>
.el-table .warning-row {
background: yellowgreen;
}
.rgb196{
background: palevioletred !important;
}