Kaynağa Gözat

工单号BUG

seimin 5 ay önce
ebeveyn
işleme
7310021174
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      src/app/views/fuwutai/fuwutai.component.ts

+ 3 - 2
src/app/views/fuwutai/fuwutai.component.ts

@@ -2288,8 +2288,9 @@ export class FuwutaiComponent implements OnInit {
2288 2288
     this.repairImgs = [];
2289 2289
     this.isRelatedDepartment = true;
2290 2290
     this.solutionId = undefined;
2291
+    delete this.incidentModel.incidentsign;
2291 2292
   }
2292
-  // 重置新建工单数据-继续建单-编辑
2293
+  // 重置新建工单数据-继续建单-编辑-报修转事件
2293 2294
   resetOrderData2(){
2294 2295
     this.fileList = [];
2295 2296
     this.repairImgs = [];
@@ -2307,7 +2308,7 @@ export class FuwutaiComponent implements OnInit {
2307 2308
     }
2308 2309
     this.buildType = buildType;
2309 2310
     if(this.itsmData.mdv2Switch){
2310
-      if(this.buildType !== '继续建单' && this.buildType !== '编辑事件'){
2311
+      if(this.buildType !== '继续建单' && this.buildType !== '编辑事件' && this.buildType !== '报修转事件'){
2311 2312
         this.resetOrderData();
2312 2313
       }else{
2313 2314
         this.resetOrderData2();