|
|
|
@ -336,6 +336,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
queryName: null,
|
|
|
|
|
invList: [],
|
|
|
|
|
invCodeList:[],
|
|
|
|
|
spaceList: [],
|
|
|
|
|
ggxhList: [],
|
|
|
|
|
ignoreVisible: false,
|
|
|
|
@ -358,6 +359,7 @@ export default {
|
|
|
|
|
paramStatus: 1,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 20,
|
|
|
|
|
listInv:this.invCodeList,
|
|
|
|
|
};
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
@ -394,11 +396,15 @@ export default {
|
|
|
|
|
getInvListByUser()
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.invList = response.data || [];
|
|
|
|
|
for(var i=0;i<response.data.length;i++){
|
|
|
|
|
this.invCodeList.push(response.data[i].code)
|
|
|
|
|
}
|
|
|
|
|
this.getSpaceList();
|
|
|
|
|
this.getList();
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
getSpaceList() {
|
|
|
|
|
let params = {invWarehouseCode: this.filterQuery.invCode, status: 1};
|
|
|
|
@ -525,6 +531,7 @@ export default {
|
|
|
|
|
this.getInvList();
|
|
|
|
|
// 加载表格数据
|
|
|
|
|
this.getList();
|
|
|
|
|
console.log("==="+ this.invCodeList);
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|