Browse Source

Merge branch 'master' into develop

seimin 5 months ago
parent
commit
771655c6ff
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

@@ -3595,10 +3595,11 @@ export class FuwutaiComponent implements OnInit {
3595
       if(this.buildType === '报修转事件'){
3595
       if(this.buildType === '报修转事件'){
3596
         postData.incident.fromWx = true;
3596
         postData.incident.fromWx = true;
3597
       }
3597
       }
3598
-      postData.incident = Object.assign({}, this.editOrder, postData.incident);
3599
 
3598
 
3600
       if(this.buildType !== '继续建单' && this.buildType !== '编辑事件' && this.buildType !== '报修转事件'){
3599
       if(this.buildType !== '继续建单' && this.buildType !== '编辑事件' && this.buildType !== '报修转事件'){
3601
-        delete postData.incident.incidentsign;
3600
+        postData.incident = Object.assign({}, postData.incident);
3601
+      }else{
3602
+        postData.incident = Object.assign({}, this.editOrder, postData.incident);
3602
       }
3603
       }
3603
     }
3604
     }
3604
     console.log(postData);
3605
     console.log(postData);