优化商品库存流水记录,分仓库查询

This commit is contained in:
季圣华
2022-05-28 17:27:25 +08:00
parent 224239c1b0
commit 4557a13f11
2 changed files with 11 additions and 5 deletions

View File

@@ -50,7 +50,8 @@
toFromType: '',
// 查询条件
queryParam: {
materialId:''
depotIds: '',
materialId:'',
},
tabKey: "1",
// 表头
@@ -85,7 +86,7 @@
sm: { span: 16 },
},
url: {
list: "/depotItem/findDetailByTypeAndMaterialId"
list: "/depotItem/findDetailByDepotIdsAndMaterialId"
}
}
},
@@ -99,9 +100,10 @@
param.pageSize = this.ipagination.pageSize;
return param;
},
show(record) {
show(record, depotIds) {
this.model = Object.assign({}, record);
this.visible = true;
this.queryParam.depotIds = depotIds
this.queryParam.materialId = record.id
this.loadData(1)
},