过滤线边库的问题处理

This commit is contained in:
yinjinlu-pc\尹金路 2023-08-17 00:04:04 +08:00
parent 050ac0e937
commit 1e576d7ffd

View File

@ -245,9 +245,12 @@ export default {
this.loading = true;
listWmstock(this.queryParams).then(response => {
if(response.rows){
this.wmstockList = response.rows.filter((el) =>{
if(this.warehouseCode.indexOf('VIR') == -1){
//线线
this.wmstockList = response.rows.filter((el) =>{
return el.warehouseCode.indexOf('VIR') == -1;
});
});
}
this.total = response.total;
this.loading = false;
}