mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Fix
This commit is contained in:
@@ -109,6 +109,14 @@ export class CreateProcessPage implements OnInit {
|
||||
//Initialize SubjectTypes Array with the value "Indefinido"
|
||||
this.selectedTypes = ['99999850'];
|
||||
|
||||
let NumberPDPP;
|
||||
|
||||
if(this.fulltask) {
|
||||
if(this.fulltask.workflowInstanceDataFields) {
|
||||
NumberPDPP = this.fulltask.workflowInstanceDataFields.DispatchNumber
|
||||
}
|
||||
}
|
||||
|
||||
this.dispatchFolder = {
|
||||
Nad: 30,
|
||||
Subject: '',
|
||||
@@ -118,7 +126,7 @@ export class CreateProcessPage implements OnInit {
|
||||
SourceId: this.task.workflowInstanceDataFields.SourceID, //FolderId
|
||||
DeadlineType: '',
|
||||
SubjectTypes: this.selectedTypes,
|
||||
NumberPDPP: this.task.workflowInstanceDataFields.DispatchNumber || this.fulltask.workflowInstanceDataFields.DispatchNumber,
|
||||
NumberPDPP: this.task.workflowInstanceDataFields.DispatchNumber || NumberPDPP
|
||||
};
|
||||
|
||||
this.postData.DispatchFolder = this.dispatchFolder;
|
||||
|
||||
Reference in New Issue
Block a user