MOHEMM-SFH-COLORS
umasoodch 4 years ago
parent 7f68976c8b
commit 4b923bbb09

@ -36,7 +36,7 @@
</ion-slides>
</ion-row>
<ion-row class="search-container" style="pointer-events: none;opacity: .4;">
<!-- <ion-row class="search-container" style="pointer-events: none;opacity: .4;">
<ion-col style="float: left;" size=[6] *ngIf="showSearchButton" (click)="clearSearch()">
<span style="margin-left: 5px;">{{ts.trPK('work-list','clear-search')}}</span>
<ion-icon name="close" ></ion-icon>
@ -45,7 +45,7 @@
<ion-icon name="search" ></ion-icon>
<span>{{ts.trPK('work-list','advanced-search')}}</span>
</ion-col>
</ion-row>
</ion-row> -->
<ion-row *ngIf='selectedFilter === "ITG"' class="filters-row">
<ion-col>

@ -310,6 +310,7 @@ width: 100% !important;
.filters-row {
margin-top: 10px;
margin-left: 20px;
margin-bottom: 20px;
}
.work-list-container {
position: relative;

@ -262,7 +262,7 @@ export class WorklistMainPoComponent implements OnInit {
this.worklistMainService
.getPONotificationBody(notificationBodyObj)
.subscribe((result: PONotificatonBodyResponse) => {
// console.log(result.GetPoNotificationBodyList.POHeader[0].BUYER);
// console.log(result.SFH_GetPoNotificationBodyList.POHeader[0].BUYER);
this.handleWorkListBodyResult(result, "PO");
});
}
@ -309,11 +309,11 @@ export class WorklistMainPoComponent implements OnInit {
}
} else if (Type == "PO") {
if (result.GetPoNotificationBodyList) {
if (result.SFH_GetPoNotificationBodyList) {
// console.log("PO");
this.POHeader = result.GetPoNotificationBodyList.POHeader;
this.POLines = result.GetPoNotificationBodyList.POLines;
this.POHeader = result.SFH_GetPoNotificationBodyList.POHeader;
this.POLines = result.SFH_GetPoNotificationBodyList.POLines;
for (var i = 0; i < this.POHeader.length; i++) {
this.PO_NUMBER = this.POHeader[i].PO_NUMBER;
@ -332,7 +332,7 @@ export class WorklistMainPoComponent implements OnInit {
// HDR_ATTRIBUTE_VALUE
}
this.notificationBodyRes =
result.GetPoNotificationBodyList;
result.SFH_GetPoNotificationBodyList;
}
}//
}
@ -1032,10 +1032,10 @@ export class WorklistMainPoComponent implements OnInit {
this.worklistMainService.getPONotificationBody(this.WorkListBodyObj).
subscribe((result: any) => {
if (this.common.validResponse(result)) {
if (result.GetPoNotificationBodyList != undefined) {
if (result.SFH_GetPoNotificationBodyList != undefined) {
this.P_PAGE_NUM++;
this.WorkListBodyObj.P_PAGE_NUM = this.P_PAGE_NUM;
(result.GetPoNotificationBodyList).forEach(element => {
(result.SFH_GetPoNotificationBodyList).forEach(element => {
if (element.ROW_NUM == element.NO_OF_ROWS) {
this.IsReachEnd = true;
} else {

Loading…
Cancel
Save