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

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

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

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

Loading…
Cancel
Save