|
@@ -642,8 +642,8 @@
|
|
|
}
|
|
|
this.timeNum++;
|
|
|
return
|
|
|
- }
|
|
|
- clearInterval(this.timer)
|
|
|
+ };
|
|
|
+ clearInterval(this.timer);
|
|
|
let query = (this.$refs.moduleView as any).getQuery();
|
|
|
api.pageList(query, 'maindataStorehouse').then((res : any) => {
|
|
|
if (res.code === 200) {
|
|
@@ -666,7 +666,7 @@
|
|
|
this.timeNum2++;
|
|
|
return
|
|
|
}
|
|
|
- clearInterval(this.timer2)
|
|
|
+ clearInterval(this.timer2);
|
|
|
let query = (this.$refs.moduleView2 as any).getQuery();
|
|
|
// console.log(query);
|
|
|
query.storehouseId = this.tableData.id;
|
|
@@ -700,7 +700,7 @@
|
|
|
this.popTitle = '注册'
|
|
|
this.dialogFormVisible = true;
|
|
|
setTimeout(() => {
|
|
|
- (this as any).$refs.addFormId.clearValue();
|
|
|
+ // (this as any).$refs.addFormId.clearValue();
|
|
|
if ((this as any).$refs.addFormId) (this as any).$refs.addFormId.setValue({});
|
|
|
}, 0)
|
|
|
}
|
|
@@ -710,7 +710,7 @@
|
|
|
this.popTitle = '编辑'
|
|
|
this.dialogFormVisible = true;
|
|
|
setTimeout(() => {
|
|
|
- (this as any).$refs.addFormId.clearValue();
|
|
|
+ // (this as any).$refs.addFormId.clearValue();
|
|
|
if ((this as any).$refs.addFormId) (this as any).$refs.addFormId.setValue(e);
|
|
|
}, 0)
|
|
|
}
|
|
@@ -753,7 +753,7 @@
|
|
|
this.tableData = res.data;
|
|
|
res.data.subList.map((v : any) => {
|
|
|
v.ckName = res.data.name;
|
|
|
- })
|
|
|
+ });
|
|
|
// console.log('仓库表数据 ==> ', res.data);
|
|
|
(this.$refs.moduleView2 as any).setTableValue(res.data.subList);
|
|
|
loading.close();
|