linyanfei 3 years ago
parent
commit
d18c5b0bef

+ 3 - 0
shanXiPlatform/src/views/systemManagement/organizationalStructureManagement/granaryOrganizationalStructureManagement/index.vue

@@ -310,6 +310,7 @@ export default {
310
     this.ckqueryname = JSON.parse(getUser()).depotName
310
     this.ckqueryname = JSON.parse(getUser()).depotName
311
     this.fkqueryname = JSON.parse(getUser()).depotName
311
     this.fkqueryname = JSON.parse(getUser()).depotName
312
     this.pageParamfk.condition = '{ parentId:"' + this.id + '",pBelonging:1}'
312
     this.pageParamfk.condition = '{ parentId:"' + this.id + '",pBelonging:1}'
313
+    this.pageParamcf.condition = '{ depotId:"' + this.id+ '" }'
313
     this.pageParam.condition = '{ parentId:"' + this.queryid + '" }'
314
     this.pageParam.condition = '{ parentId:"' + this.queryid + '" }'
314
     this.gettreedata()
315
     this.gettreedata()
315
     this.gettotaltree()
316
     this.gettotaltree()
@@ -536,6 +537,8 @@ export default {
536
         })
537
         })
537
     },
538
     },
538
     getListcf() {
539
     getListcf() {
540
+      // var condition = { depotId:  this.id }
541
+      // this.pageParamcf.condition =JSON.stringify(condition )
539
       getcf(this.pageParamcf).then(res => {
542
       getcf(this.pageParamcf).then(res => {
540
         this.warehouseListData = res.data.records
543
         this.warehouseListData = res.data.records
541
         this.totalcf = res.data.total
544
         this.totalcf = res.data.total