|
@@ -56,7 +56,7 @@
|
|
|
<template slot-scope='{row}'>{{row.assetnum || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop='sl' label='数量' width='100'>
|
|
|
- <template slot-scope='{row}'>{{row.sl || '--'}}</template>
|
|
|
+ <template slot-scope='{row}'>{{row.sl>=0?row.sl:'--'}}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop='sbglgs' label='管理归属' show-overflow-tooltip resizable>
|
|
|
<template slot-scope='{row}'>{{row.sbglgs || '--'}}</template>
|
|
@@ -242,11 +242,11 @@ export default {
|
|
|
delete data.keyword
|
|
|
}
|
|
|
let postParams = {
|
|
|
- type_code: this.row.type_code
|
|
|
- // manufacturer: this.row.manufacturer,
|
|
|
- // sbxh: this.row.sbxh,
|
|
|
- // // floor: '--',
|
|
|
- // brand: '--'
|
|
|
+ classstructureid: this.row.classstructureid,
|
|
|
+ type_code: this.row.type_code,
|
|
|
+ manufacturer: this.row.manufacturer || '--',
|
|
|
+ sbxh: this.row.sbxh || '--',
|
|
|
+ brand: this.row.brand || '--'
|
|
|
}
|
|
|
//下拉筛选
|
|
|
if (this.floor) {
|
|
@@ -266,12 +266,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
- 'row.type_code': {
|
|
|
+ row: {
|
|
|
handler(newV, oldV) {
|
|
|
- if (newV != oldV) {
|
|
|
- this.queryTableList()
|
|
|
- this.tabFind()
|
|
|
- }
|
|
|
+ this.queryTableList()
|
|
|
+ this.tabFind()
|
|
|
},
|
|
|
deep: true
|
|
|
}
|