|
@@ -222,7 +222,7 @@ export class FbsWorkshopDispatchListListComponent implements OnInit {
|
|
|
let fbsWorkshopDispatchList = new FbsWorkshopDispatchList();
|
|
|
fbsWorkshopDispatchList=JSON.parse(JSON.stringify(this.fbsWorkshopDispatchList))
|
|
|
fbsWorkshopDispatchList.pageNo=1
|
|
|
- fbsWorkshopDispatchList.pageSize = 20000;
|
|
|
+ fbsWorkshopDispatchList.pageSize = -1;
|
|
|
// fbsWorkshopDispatchList.start = this.datePipe.transform(this.fbsWorkshopDispatchList.start, 'yyyy-MM-dd');
|
|
|
// fbsWorkshopDispatchList.end = this.datePipe.transform(this.fbsWorkshopDispatchList.end, 'yyyy-MM-dd');
|
|
|
// fbsWorkshopDispatchList.productionOrderNumberName = this.fbsWorkshopDispatchList.productionOrderNumberName;
|
|
@@ -262,7 +262,7 @@ export class FbsWorkshopDispatchListListComponent implements OnInit {
|
|
|
row.push(element.product);
|
|
|
row.push(element.plannedQuantity);
|
|
|
row.push(element.numberOfTasks);
|
|
|
- row.push(element.latestCompletedQuantity);
|
|
|
+ row.push(Number(element.latestCompletedQuantity));
|
|
|
row.push(Number(element.numberOfTasks)-Number(element.latestCompletedQuantity));
|
|
|
row.push(element.numberEfficiency + '%');
|
|
|
row.push(element.standardWorkingHours);
|
|
@@ -276,6 +276,16 @@ export class FbsWorkshopDispatchListListComponent implements OnInit {
|
|
|
|
|
|
data.push(row);
|
|
|
});
|
|
|
+ data.push(['合计','','','','','',
|
|
|
+ this.totalList.plannedQuantity,
|
|
|
+ this.totalList.numberOfTasks,
|
|
|
+ this.totalList.latestCompletedQuantity,
|
|
|
+ this.totalList.numberOfTasks-this.totalList.latestCompletedQuantity,
|
|
|
+ this.totalList.numberEfficiency+'%',
|
|
|
+ this.totalList.standardWorkingHours,
|
|
|
+ this.totalList.manHoursCompleted,
|
|
|
+ this.totalList.workingHoursEfficiency+'%'
|
|
|
+ ])
|
|
|
// 导出
|
|
|
this.xlsx.export({
|
|
|
sheets: [
|