|
|
@@ -572,7 +572,10 @@
|
|
|
this.dimension = e;
|
|
|
if (this.dimension == 1) {
|
|
|
// 物品维度
|
|
|
- const data = await storageApi.getProductList(this.searchForm);
|
|
|
+ const data = await storageApi.getProductList({
|
|
|
+ ...this.searchForm,
|
|
|
+ isEnabled: 1
|
|
|
+ });
|
|
|
this.tableData = data.list;
|
|
|
this.total = data.count;
|
|
|
} else if (this.dimension == 2) {
|
|
|
@@ -586,8 +589,7 @@
|
|
|
} else if (this.dimension == 4) {
|
|
|
// 物料维度
|
|
|
const data = await storageApi.getMaterialList({
|
|
|
- ...this.searchForm,
|
|
|
- isEnabled: 1
|
|
|
+ ...this.searchForm
|
|
|
});
|
|
|
this.tableData = data.list;
|
|
|
this.total = data.count;
|