过滤掉线边库

This commit is contained in:
yinjinlu-pc\尹金路
2023-06-19 13:08:24 +08:00
parent f2655eae1c
commit f8630c938f
8 changed files with 42 additions and 10 deletions

View File

@@ -244,9 +244,13 @@ export default {
getList() {
this.loading = true;
listWmstock(this.queryParams).then(response => {
this.wmstockList = response.rows;
this.total = response.total;
this.loading = false;
if(response.rows){
this.wmstockList = response.rows.filter((el) =>{
return el.warehouseCode.indexOf('VIR') == -1;
});
this.total = response.total;
this.loading = false;
}
});
},
/** 查询分类下拉树结构 */