|
@@ -106,9 +106,13 @@ export default {
|
|
|
methods: {
|
|
|
equipmentCategoryFormatter(row, column, cellValue, index){
|
|
|
let val = this.equipmentCategoryOptions.filter(item=>{
|
|
|
- return item.id === row.equipmentCategory
|
|
|
+ return item.id == row.equipmentCategory
|
|
|
});
|
|
|
- return val[0].name
|
|
|
+ if(val[0]) {
|
|
|
+ return val[0].name
|
|
|
+ }else {
|
|
|
+ return ""
|
|
|
+ }
|
|
|
},
|
|
|
handleQuery() {
|
|
|
this.queryForm.pageNo = 1
|