diff --git a/src/views/inventory/InvProducts.vue b/src/views/inventory/InvProducts.vue
index fa8c97d..ce2efa9 100644
--- a/src/views/inventory/InvProducts.vue
+++ b/src/views/inventory/InvProducts.vue
@@ -49,21 +49,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- {{ item.name }}
-
-
-
-
-
{
@@ -407,7 +407,6 @@ export default {
};
},
created() {
- this.getStorage();
this.findMethod();
let query = this.$route.query;
this.filterQuery = Object.assign(this.filterQuery, query);
diff --git a/src/views/inventory/InvStatistics.vue b/src/views/inventory/InvStatistics.vue
index 4848c7a..4e48650 100644
--- a/src/views/inventory/InvStatistics.vue
+++ b/src/views/inventory/InvStatistics.vue
@@ -49,20 +49,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- {{ item.name }}
-
-
-
-
-
{
- this.storageList = response.data || [];
- })
- .catch(() => {
- });
- },
- invChange() {
- // this.$set(this.filterQuery, "entrustUser", "");
- this.filterQuery.invWarehouseCode = "";
+ getSubInvList() {
this.subInvList = [];
let query = {
- pcode: this.filterQuery.invStorageCode
+ filter: 3,
};
filterSubByInv(query)
.then((response) => {
@@ -367,7 +356,7 @@ export default {
this.loading = true;
this.getList();
this.findStorageCode();
- this.getStorage();
+ this.getSubInvList();
},
};
diff --git a/src/views/warehouse/stockOrderInvSearch.vue b/src/views/warehouse/stockOrderInvSearch.vue
index d8fcee0..77af4b5 100644
--- a/src/views/warehouse/stockOrderInvSearch.vue
+++ b/src/views/warehouse/stockOrderInvSearch.vue
@@ -26,21 +26,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- {{ item.name }}
-
-
-
-
-
@@ -825,25 +825,10 @@ export default {
}
}
},
- getStorage() {
- this.storageList = [];
- filterAllByUser()
- .then((response) => {
- this.storageList = response.data || [];
- if (this.storageList.length > 0) {
- this.getSubInvList();
- this.getList();
- }
- })
- .catch(() => {
- });
- },
-
invChange() {
- this.query.invWarehouseCode = "";
this.subInvList = [];
let query = {
- pcode: this.query.locStorageCode
+ filter: 3,
};
filterSubByInv(query)
.then((response) => {
@@ -855,11 +840,13 @@ export default {
getSubInvList() {
let query = {
- pcode: this.query.locStorageCode
+ filter: 3,
};
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
+ this.getList();
+
})
.catch(() => {
});
@@ -936,7 +923,7 @@ export default {
}
},
created() {
- this.getStorage();
+ this.getSubInvList();
this.getBusType();
let end = new Date();
let start = new Date();