销售出库

This commit is contained in:
打豆豆 2024-01-22 15:22:51 +08:00
parent 63c0b75ca4
commit 7d04c4b80f

View File

@ -161,7 +161,7 @@ export default {
return { return {
showFlag:false, showFlag:false,
// //
loading: true, loading: false,
// //
selectedId: null, selectedId: null,
selectedRow: null, selectedRow: null,
@ -244,16 +244,19 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
listWmstock(this.queryParams).then(response => { listWmstock(this.queryParams).then(response => {
if(response.rows){ // if(response.rows){
if(this.warehouseCode.indexOf('VIR') == -1){ // if(this.warehouseCode.indexOf('VIR') == -1){
//线线 // //线线
this.wmstockList = response.rows.filter((el) =>{ // this.wmstockList = response.rows.filter((el) =>{
return el.warehouseCode.indexOf('VIR') == -1; // return el.warehouseCode.indexOf('VIR') == -1;
}); // });
} // }
// this.total = response.total;
// this.loading = false;
// }
this.wmstockList = response.rows
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
}
}); });
}, },
/** 查询分类下拉树结构 */ /** 查询分类下拉树结构 */