|
|
|
@ -80,7 +80,7 @@ export class WorklistMainPoComponent implements OnInit {
|
|
|
|
PRLines:any;//change the tpye later
|
|
|
|
PRLines:any;//change the tpye later
|
|
|
|
IsReachEnd: boolean = false;
|
|
|
|
IsReachEnd: boolean = false;
|
|
|
|
P_PAGE_NUM: number = 1;
|
|
|
|
P_PAGE_NUM: number = 1;
|
|
|
|
P_PAGE_LIMIT: number = 50;
|
|
|
|
P_PAGE_LIMIT: number = 100;
|
|
|
|
headerTotal: any;
|
|
|
|
headerTotal: any;
|
|
|
|
totalH: any;
|
|
|
|
totalH: any;
|
|
|
|
valueH: any;
|
|
|
|
valueH: any;
|
|
|
|
@ -773,7 +773,7 @@ export class WorklistMainPoComponent implements OnInit {
|
|
|
|
this.IsReachEnd = false;
|
|
|
|
this.IsReachEnd = false;
|
|
|
|
const request = new POItemHistoryRequest();
|
|
|
|
const request = new POItemHistoryRequest();
|
|
|
|
request.P_ITEM_ID=parseInt(itemID);
|
|
|
|
request.P_ITEM_ID=parseInt(itemID);
|
|
|
|
request.P_PAGE_LIMIT=50;
|
|
|
|
request.P_PAGE_LIMIT=100;
|
|
|
|
request.P_PAGE_NUM=1;
|
|
|
|
request.P_PAGE_NUM=1;
|
|
|
|
this.worklistMainService.getPOItemHistory(request).
|
|
|
|
this.worklistMainService.getPOItemHistory(request).
|
|
|
|
subscribe((result: POItemHistoryRes) => {
|
|
|
|
subscribe((result: POItemHistoryRes) => {
|
|
|
|
@ -812,7 +812,7 @@ export class WorklistMainPoComponent implements OnInit {
|
|
|
|
const request = new QuotationAnalysisRequest();
|
|
|
|
const request = new QuotationAnalysisRequest();
|
|
|
|
request.P_ITEM_ID=parseInt(itemID);
|
|
|
|
request.P_ITEM_ID=parseInt(itemID);
|
|
|
|
request.P_PO_HEADER_ID=headerID;
|
|
|
|
request.P_PO_HEADER_ID=headerID;
|
|
|
|
request.P_PAGE_LIMIT=50;
|
|
|
|
request.P_PAGE_LIMIT=100;
|
|
|
|
request.P_PAGE_NUM=1;
|
|
|
|
request.P_PAGE_NUM=1;
|
|
|
|
this.worklistMainService.getQutationAnalysis(request).
|
|
|
|
this.worklistMainService.getQutationAnalysis(request).
|
|
|
|
subscribe((result: QuotationAnalysisResponse) => {
|
|
|
|
subscribe((result: QuotationAnalysisResponse) => {
|
|
|
|
@ -898,6 +898,7 @@ export class WorklistMainPoComponent implements OnInit {
|
|
|
|
// infiniteScroll.target.complete();
|
|
|
|
// infiniteScroll.target.complete();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}//end infiniteScroll
|
|
|
|
}//end infiniteScroll
|
|
|
|
|
|
|
|
|
|
|
|
loadMoreActionHistory() {
|
|
|
|
loadMoreActionHistory() {
|
|
|
|
console.log("doInfinite action history MR");
|
|
|
|
console.log("doInfinite action history MR");
|
|
|
|
|
|
|
|
|
|
|
|
|