Browse Source

零部件DVP FMEA关联推送的的数据,选择等效实验时,不清除计划结束时间

weibowen 7 months ago
parent
commit
346fc7e7c7

+ 0 - 1
src/views/componentsDVP/dvpPlan/edit.vue

@@ -1042,7 +1042,6 @@ export default {
       this.$refs.editTableRow.editParam.notCarryOutCause = val.notCarryOutCause;
       this.$refs.editTableRow.isCarryOutFlag = val.isCarryOut === 0;
       this.$refs.editTableRow.dataSource = val.dataSource; // 数据来源 0-新建1-模板2-FMEA3-历史DVP
-      this.$refs.editTableRow.backupPlanEndTime = val.backupPlanEndTime;
       this.$refs.editTableRow.initData();
       this.isEditRow = true;
     },

+ 0 - 3
src/views/componentsDVP/dvpPlan/editModal/editTableRow.vue

@@ -653,8 +653,6 @@ export default {
       // 如果选择了非等效,清除等效报告ID
       if (this.editParam.isEquivalent === 0) {
         this.editParam.equivalentId = undefined;
-        // FMEA推送数据 切换回非等效试验时,给计划结束时间赋值,该值是FMEA措施的计划完成时间
-        this.editParam.planEndTime = this.backupPlanEndTime || undefined;
       } else if (this.editParam.isEquivalent === 1) {  // 如果选择了等效,清除测试地点、测试负责人、测试阶段、测试次数、计划开始时间、计划结束时间
         this.editParam.testSite = undefined;
         this.editParam.testOwner = undefined;
@@ -662,7 +660,6 @@ export default {
         this.editParam.testFrequency = undefined;
         this.editParam.sampleNumber = undefined;
         this.editParam.sampleType = undefined;
-        this.editParam.planStartTime = undefined;
       }
     },