1
0

2 Commits c60cfc3f2c ... 0c4fc5cc15

Autor SHA1 Mensaje Fecha
  hcf 0c4fc5cc15 Merge branch 'master' of http://47.107.53.207:3000/ymy/oms hace 1 año
  hcf 24b386131b 修复报错 hace 1 año
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/audit/depots/index.vue

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

@@ -700,6 +700,7 @@
 			this.popTitle = '注册'
 			this.dialogFormVisible = true;
 			setTimeout(() => {
+				(this as any).$refs.addFormId.clearValue();
 				if ((this as any).$refs.addFormId) (this as any).$refs.addFormId.setValue({});
 			}, 0)
 		}
@@ -708,8 +709,8 @@
 			// console.log(e);
 			this.popTitle = '编辑'
 			this.dialogFormVisible = true;
-			(this as any).$refs.addFormId.clearValue();
 			setTimeout(() => {
+				(this as any).$refs.addFormId.clearValue();
 				if ((this as any).$refs.addFormId) (this as any).$refs.addFormId.setValue(e);
 			}, 0)
 		}
@@ -727,7 +728,6 @@
 			this.popTitle = '编辑'
 			this.dialogFormVisible2 = true;
 			this.isAdd = false;
-			(this as any).$refs.addFormId.clearValue();
 			setTimeout(() => {
 				if ((this as any).$refs.addFormId2) (this as any).$refs.addFormId2.setValue(e);
 			}, 0)