|
@@ -1769,6 +1769,20 @@ export default {
|
|
|
}
|
|
|
this.deptBudgetTotal = response.total
|
|
|
this.warehouseList = response
|
|
|
+ if(this.modification.length>0){
|
|
|
+ for (let i = 0; i < this.warehouseList.records.length; i++) {
|
|
|
+ var arr=this.modification.filter((item)=>{
|
|
|
+ console.log(item,)
|
|
|
+ return item.id==this.warehouseList.records[i].id
|
|
|
+ })
|
|
|
+ if(arr.length>0){
|
|
|
+ this.$nextTick( ()=> {
|
|
|
+ this.$refs.warehouseList.toggleRowSelection(this.warehouseList.records[i],true);
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
|