|
|
@@ -77,16 +77,16 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
},
|
|
|
- created() {
|
|
|
+ activated() {
|
|
|
this.getReceiveList();
|
|
|
},
|
|
|
- watch: {
|
|
|
- $route(to, from) {
|
|
|
- if (to.path == '/material') {
|
|
|
- this.getReceiveList();
|
|
|
- }
|
|
|
- },
|
|
|
- },
|
|
|
+ // watch: {
|
|
|
+ // $route(to, from) {
|
|
|
+ // if (to.path == '/material') {
|
|
|
+ // this.getReceiveList();
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // },
|
|
|
methods: {
|
|
|
inputblurs(val, index, num) {
|
|
|
if (this.$route.query.tabVal == 'B') {
|
|
|
@@ -213,6 +213,7 @@ export default {
|
|
|
fromValue.pageNum = this.pageNum;
|
|
|
fromValue.pageSize = this.pageSize;
|
|
|
fromValue.inventoryLyUserId = localStorage.getItem('userId');
|
|
|
+ fromValue.type = this.$route.query.tabVal == 'A' ? 'ly' : 'th';
|
|
|
getReceiveList(fromValue).then((res) => {
|
|
|
loading1.clear();
|
|
|
this.disabled = false;
|