Browse Source

工单号BUG

seimin 5 months ago
parent
commit
7310021174
1 changed files with 3 additions and 2 deletions
  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
     this.repairImgs = [];
2288
     this.repairImgs = [];
2289
     this.isRelatedDepartment = true;
2289
     this.isRelatedDepartment = true;
2290
     this.solutionId = undefined;
2290
     this.solutionId = undefined;
2291
+    delete this.incidentModel.incidentsign;
2291
   }
2292
   }
2292
-  // 重置新建工单数据-继续建单-编辑
2293
+  // 重置新建工单数据-继续建单-编辑-报修转事件
2293
   resetOrderData2(){
2294
   resetOrderData2(){
2294
     this.fileList = [];
2295
     this.fileList = [];
2295
     this.repairImgs = [];
2296
     this.repairImgs = [];
@@ -2307,7 +2308,7 @@ export class FuwutaiComponent implements OnInit {
2307
     }
2308
     }
2308
     this.buildType = buildType;
2309
     this.buildType = buildType;
2309
     if(this.itsmData.mdv2Switch){
2310
     if(this.itsmData.mdv2Switch){
2310
-      if(this.buildType !== '继续建单' && this.buildType !== '编辑事件'){
2311
+      if(this.buildType !== '继续建单' && this.buildType !== '编辑事件' && this.buildType !== '报修转事件'){
2311
         this.resetOrderData();
2312
         this.resetOrderData();
2312
       }else{
2313
       }else{
2313
         this.resetOrderData2();
2314
         this.resetOrderData2();