浏览代码

修复部分引用bug

hcf 1 年之前
父节点
当前提交
64690d63eb
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/views/audit/depots/index.vue

+ 6 - 6
src/views/audit/depots/index.vue

@@ -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();