Bladeren bron

系统dvp-dvp计划修改点击编辑后再次二轮试验数据不清空

tianyiping 4 maanden geleden
bovenliggende
commit
26326860e6
1 gewijzigde bestanden met toevoegingen van 14 en 0 verwijderingen
  1. 14 0
      src/views/systemDVP/dvpPlan/index.vue

+ 14 - 0
src/views/systemDVP/dvpPlan/index.vue

@@ -1289,6 +1289,20 @@ export default {
     SecondTest(){
       this.isEdit = true;
       this.isSecondTest = true;
+      this.editParam.targetRequire = undefined;
+      this.editParam.testStandard = undefined;
+      this.editParam.remark = undefined;
+      this.editParam.isCarryOut = undefined;
+      this.editParam.planEndTime = undefined;
+      this.editParam.planStartTime = undefined;
+      this.editParam.count = undefined;
+      this.editParam.sampleType = undefined;
+      this.editParam.testOwnerId = undefined;
+      this.editParam.testFrequency = undefined;
+      this.editParam.testStage = undefined;
+      this.editParam.testSite = undefined;
+      this.editParam.testCertification = undefined;
+      this.editParam.assets = undefined;
       this.editInit(null);
     },
     /** 编辑 取消 */