heyang 1 year ago
parent
commit
72c70cfcab

+ 4 - 1
src/views/medicUniversity-3_1/chemicalManagement/chemicalInventory/infoPage.vue

@@ -102,6 +102,7 @@
         queryParams:{
           pageNum:1,
           pageSize:20,
+          takeStockId:'',
         },
       }
     },
@@ -123,8 +124,10 @@
         this.$parent.controlsButton(1)
       },
       getList(){
-        hxpTakeStockDetailList({takeStockId:this.infoDataProps.id}).then( response => {
+        this.queryParams.takeStockId=this.infoDataProps.id
+        hxpTakeStockDetailList(this.queryParams).then( response => {
           this.$set(this,'tableData',response.rows);
+          this.total = response.total;
         });
       },
     }