|
@@ -62,7 +62,7 @@
|
|
|
|
|
|
|
|
|
<th nzLeft="60px" nzWidth="100px"><strong>生产线</strong></th>
|
|
|
-<th nzLeft="160px" nzWidth="100px"><strong>生产订单号</strong></th> -->
|
|
|
+<th nzLeft="160px" nzWidth="100px"><strong>订单编号</strong></th> -->
|
|
|
<nz-spin [nzSpinning]="saveLoading">
|
|
|
<form nz-form>
|
|
|
<div nz-row [nzGutter]="{xs:12,sm:15,md:29,lg: 36, xl: 40}">
|
|
@@ -90,6 +90,7 @@
|
|
|
<nz-form-control [nzSpan]="22">
|
|
|
|
|
|
<button nz-button nzType="primary" (click)="getSumDispatchReport()">查询</button>
|
|
|
+ <button nz-button nzType="primary" (click)="export()" [nzLoading]="exportLoading">导出</button>
|
|
|
|
|
|
<a *ngIf="!isShow" (click)="getShow()">展开 <i nz-icon nzType="down" nzTheme="outline"></i></a>
|
|
|
<a *ngIf="isShow" (click)="getShow()">收起 <i nz-icon nzType="up" nzTheme="outline"></i></a>
|
|
@@ -139,7 +140,7 @@
|
|
|
<div nz-row [nzGutter]="{xs:12,sm:15,md:29,lg: 36, xl: 40}">
|
|
|
<div nz-col nzXs="24" nzSm="4" nzLg="8">
|
|
|
<nz-form-item class="nz-form-item">
|
|
|
- <nz-form-label [nzSpan]="8">生产订单</nz-form-label>
|
|
|
+ <nz-form-label [nzSpan]="8">订单编号</nz-form-label>
|
|
|
<nz-form-control [nzSpan]="16">
|
|
|
|
|
|
placeholder="请输入" /> -->
|
|
@@ -180,7 +181,7 @@
|
|
|
<tr>
|
|
|
|
|
|
<th nzLeft="58px" nzWidth="100px" nzAlign="center" style="background-color:rgb(223, 223, 219)"><strong>项目名称</strong></th>
|
|
|
- <th nzLeft="157px" nzWidth="110px" nzAlign="center" style="background-color:rgb(223, 223, 219)"><strong>生产订单号</strong></th>
|
|
|
+ <th nzLeft="157px" nzWidth="110px" nzAlign="center" style="background-color:rgb(223, 223, 219)"><strong>订单编号</strong></th>
|
|
|
<th nzLeft="265px" nzWidth="120px" nzAlign="center" style="background-color:rgb(223, 223, 219)"><strong>物料编码</strong></th>
|
|
|
<th nzLeft="383px" nzWidth="200px" nzAlign="center" style="background-color:rgb(223, 223, 219)"><strong>物料名称</strong></th> -->
|
|
|
|
|
@@ -193,7 +194,7 @@
|
|
|
<th rowSpan="2" nzAlign="center" style="width: 7%;background-color:rgb(223, 223, 219)">
|
|
|
<strong>工作中心</strong></th>
|
|
|
<th rowSpan="2" nzAlign="center" style="width: 7%;background-color:rgb(223, 223, 219)">
|
|
|
- <strong>生产订单号</strong></th>
|
|
|
+ <strong>订单编号</strong></th>
|
|
|
<th rowSpan="2" nzAlign="center" style="width: 7%;background-color:rgb(223, 223, 219)">
|
|
|
<strong>物料编码</strong></th>
|
|
|
<th rowSpan="2" nzAlign="center" style="width: 7%;background-color:rgb(223, 223, 219)">
|
|
@@ -211,7 +212,7 @@
|
|
|
<th rowSpan="2" nzAlign="center" style="width: 3%;background-color:rgb(223, 223, 219)">
|
|
|
<strong>实际工时</strong></th>
|
|
|
<th rowSpan="2" nzAlign="center" style="width: 3%;background-color:rgb(223, 223, 219)">
|
|
|
- <strong>计划达成率</strong></th>
|
|
|
+ <strong>订单达成率</strong></th>
|
|
|
<th rowSpan="2" nzAlign="center" style="width: 3%;background-color:rgb(223, 223, 219)">
|
|
|
<strong>生产效率</strong></th>
|
|
|
<th rowSpan="2" nzAlign="center" style="width: 14%;background-color:rgb(223, 223, 219)">
|
|
@@ -287,45 +288,31 @@
|
|
|
<ng-container *ngIf="data.projectName==='统计'">
|
|
|
<td style="background-color:rgb(223, 223, 219)"></td>
|
|
|
<td style="background-color:rgb(223, 223, 219);font-weight:bolder" nzAlign="center">
|
|
|
- 标准总工时
|
|
|
+
|
|
|
</td>
|
|
|
<td style="background-color:rgb(223, 223, 219)" nzAlign="center">
|
|
|
- {{data.standardWorkingHoursTotal}}
|
|
|
+
|
|
|
</td>
|
|
|
<td style="background-color:rgb(223, 223, 219);font-weight:bolder" nzAlign="center"></td>
|
|
|
- <td style="background-color:rgb(223, 223, 219);font-weight:bolder">统计</td>
|
|
|
+ <td style="background-color:rgb(223, 223, 219);font-weight:bolder">
|
|
|
+
|
|
|
+ </td>
|
|
|
<td></td>
|
|
|
<td></td>
|
|
|
<td></td>
|
|
|
- <td>{{data.numberOfTasksTotal}}</td>
|
|
|
- <td>{{data.quantityCompletedTotal}}</td>
|
|
|
+ <td nzAlign="center">{{data.numberOfTasksTotal}}</td>
|
|
|
+ <td nzAlign="center">{{data.quantityCompletedTotal}}</td>
|
|
|
<td nzAlign="center">{{data.surplusNumberOfTasksTotal}}</td>
|
|
|
|
|
|
<td nzAlign="center">{{data.standardWorkingHoursTotal}}</td>
|
|
|
<td nzAlign="center">{{data.manHoursCompletedTotal}}</td>
|
|
|
<td nzAlign="center" colSpan="3"></td>
|
|
|
-
|
|
|
-
|
|
|
- <td nzAlign="center">{{dateChild.numberOfTasks}}</td>
|
|
|
- <td nzAlign="center">{{dateChild.qualifiedNumber}}</td>
|
|
|
- <td nzAlign="center">{{dateChild.manHoursCompleted}}</td>
|
|
|
- <td nzAlign="center">{{dateChild.standardWorkingHours}}</td>
|
|
|
- <td nzAlign="center">
|
|
|
- <ng-container *ngIf="dateChild.productionEfficiency">{{dateChild.productionEfficiency}}%
|
|
|
- </ng-container>
|
|
|
- <ng-container *ngIf="!dateChild.productionEfficiency">0%</ng-container>
|
|
|
- </td>
|
|
|
- <td nzAlign="center">
|
|
|
- <ng-container *ngIf="dateChild.achievementRate">{{dateChild.achievementRate}}%</ng-container>
|
|
|
- <ng-container *ngIf="!dateChild.achievementRate">0%</ng-container>
|
|
|
- </td>
|
|
|
- </ng-container> -->
|
|
|
</ng-container>
|
|
|
</tr>
|
|
|
<tr></tr>
|
|
|
</tbody>
|
|
|
|
|
|
- <tbody>
|
|
|
+
|
|
|
<tr>
|
|
|
<td></td>
|
|
|
<td nzAlign="center" style="font-weight:bolder">月计划达成率</td>
|
|
@@ -333,7 +320,6 @@
|
|
|
<td nzAlign="center" style="font-weight:bolder">月生产效率</td>
|
|
|
<td nzAlign="center">{{productivityTotal}}%</td>
|
|
|
<td colSpan="11"></td>
|
|
|
-
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td></td>
|
|
@@ -349,130 +335,8 @@
|
|
|
<td nzAlign="center">{{abnormalWorkingHours.plan}}</td>
|
|
|
<td nzAlign="center" colSpan="2"></td>
|
|
|
</tr>
|
|
|
-
|
|
|
- <td nzLeft="0px"></td>
|
|
|
- <td nzLeft="29px" nzAlign="center" style="font-weight:bolder">总达成率</td>
|
|
|
- <td nzLeft="109px" nzAlign="center">{{achievementRateTotal}}%</td>
|
|
|
- <td nzLeft="218px" nzAlign="center" style="font-weight:bolder">总生产效率</td>
|
|
|
- <td nzLeft="337px" nzAlign="center">{{productivityTotal}}%</td>
|
|
|
- <td nzLeft="437px" class="bolder">出勤总工时</td>
|
|
|
- <td nzLeft="486px" nzAlign="center">{{AbnormalWorkingHoursTotal.attendanceHours}}</td>
|
|
|
- <td nzLeft="536px" colSpan="4" nzAlign="right" class="bolder">出勤情况</td>
|
|
|
- <ng-container *ngFor="let abnormalWorkingHours of abnormalWorkingHoursList">
|
|
|
- <td>应到人数</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.numberOfPeopleToArrive}}</td>
|
|
|
- <td>实到人数</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.actualNumberOfPeople}}</td>
|
|
|
- <td>出勤工时</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.attendanceHours}}</td>
|
|
|
- </ng-container>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td nzLeft="0px" colspan="5" rowSpan="9"></td>
|
|
|
- <td nzLeft="437px" class="bolder">加班总工时</td>
|
|
|
- <td nzLeft="486px" nzAlign="center">{{AbnormalWorkingHoursTotal.overtimeHours}}</td>
|
|
|
- <td nzLeft="536px" colSpan="4" nzAlign="right" class="bolder">加班记录</td>
|
|
|
- <ng-container *ngFor="let abnormalWorkingHours of abnormalWorkingHoursList">
|
|
|
- <td>加班工时</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.overtimeHours}}</td>
|
|
|
- <td>加班原因</td>
|
|
|
- <td colSpan="3">{{abnormalWorkingHours.overtimeReason}}</td>
|
|
|
- </ng-container>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
-
|
|
|
- <td nzLeft="437px" rowSpan="2" class="bolder">其他总工时</td>
|
|
|
- <td nzLeft="486px" rowSpan="2" nzAlign="center">{{AbnormalWorkingHoursTotal.train}}</td>
|
|
|
- <td nzLeft="536px" colSpan="4" rowSpan="2" nzAlign="right" class="bolder">其他工时统计</td>
|
|
|
- <ng-container *ngFor="let abnormalWorkingHours of abnormalWorkingHoursList">
|
|
|
- <td>培训</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.train}}</td>
|
|
|
- <td>会议</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.meeting}}</td>
|
|
|
- <td>5S</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.fiveS}}</td>
|
|
|
- </ng-container>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <ng-container *ngFor="let abnormalWorkingHours of abnormalWorkingHoursList">
|
|
|
- <td>研发</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.researchAndDevelopment}}</td>
|
|
|
- <td></td>
|
|
|
- <td></td>
|
|
|
- <td></td>
|
|
|
- <td></td>
|
|
|
- </ng-container>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td nzLeft="437px" rowSpan="3" class="bolder">异常总工时统计</td>
|
|
|
- <td nzLeft="486px" rowSpan="3" nzAlign="center">{{AbnormalWorkingHoursTotal.abnormalWorkingHours}}</td>
|
|
|
- <td nzLeft="536px" colSpan="4" rowSpan="3" nzAlign="right" class="bolder">异常工时统计</td>
|
|
|
- <ng-container *ngFor="let abnormalWorkingHours of abnormalWorkingHoursList">
|
|
|
- <td>质量</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.quality}}</td>
|
|
|
- <td>设计</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.design}}</td>
|
|
|
- <td>返工</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.rework}}</td>
|
|
|
- </ng-container>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <ng-container *ngFor="let abnormalWorkingHours of abnormalWorkingHoursList">
|
|
|
- <td>物料</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.materiel}}</td>
|
|
|
- <td>能源</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.energy}}</td>
|
|
|
- <td>其他</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.other}}</td>
|
|
|
- </ng-container>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <ng-container *ngFor="let abnormalWorkingHours of abnormalWorkingHoursList">
|
|
|
- <td>设备</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.equipment}}</td>
|
|
|
- <td>计划</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.plan}}</td>
|
|
|
- <td></td>
|
|
|
- <td></td>
|
|
|
- </ng-container>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td nzLeft="437px" rowSpan="2" class="bolder">仓库总工时统计</td>
|
|
|
- <td nzLeft="486px" rowSpan="2" nzAlign="center">{{AbnormalWorkingHoursTotal.warehouse}}</td>
|
|
|
- <td nzLeft="536px" colSpan="4" rowSpan="2" nzAlign="right" class="bolder">仓库工时统计</td>
|
|
|
- <ng-container *ngFor="let abnormalWorkingHours of abnormalWorkingHoursList">
|
|
|
- <td>配料</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.mixedIngredients}}</td>
|
|
|
- <td>入库</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.warehousing}}</td>
|
|
|
- <td>打包</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.pack}}</td>
|
|
|
- </ng-container>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <ng-container *ngFor="let abnormalWorkingHours of abnormalWorkingHoursList">
|
|
|
- <td>其他</td>
|
|
|
- <td nzAlign="center">{{abnormalWorkingHours.warehouseOthers}}</td>
|
|
|
- <td>备注</td>
|
|
|
- <td nzAlign="center" colSpan="3">{{abnormalWorkingHours.memo}}</td>
|
|
|
- </ng-container>
|
|
|
- </tr>
|
|
|
-
|
|
|
|
|
|
- <tr>
|
|
|
- <td nzLeft="437px" colSpan="6" class="bolder">异常原因描述</td>
|
|
|
- <ng-container *ngFor="let abnormalWorkingHours of abnormalWorkingHoursList">
|
|
|
- <td colSpan="6">
|
|
|
- <ng-container *ngFor="let describe of abnormalWorkingHours.fbsAbnormalWorkingHoursDescribeList">
|
|
|
- <ng-container *ngIf="describe.describes">
|
|
|
- {{describe.describes}}<br>
|
|
|
- </ng-container>
|
|
|
- </ng-container>
|
|
|
- </td>
|
|
|
- </ng-container>
|
|
|
- </tr> -->
|
|
|
-
|
|
|
- </tbody>
|
|
|
+ </tbody> -->
|
|
|
</nz-table>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -484,7 +348,7 @@
|
|
|
<nz-form-label [nzSpan]="2" [nzNoColon]="true"></nz-form-label>
|
|
|
<nz-form-control [nzSpan]="16">
|
|
|
|
|
|
- <button nz-button nzType="primary" (click)="export()" [nzLoading]="exportLoading">导出</button>
|
|
|
+
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
</div>
|
|
@@ -492,7 +356,8 @@
|
|
|
</form>
|
|
|
|
|
|
</nz-spin>
|
|
|
-<nz-spin [nzSpinning]="planningReportLoading">
|
|
|
+
|
|
|
+
|
|
|
<div nz-row [nzGutter]="{xs:12,sm:15,md:29,lg: 36, xl: 40}">
|
|
|
<div nz-col nzXs="24" nzSm="4" nzLg="4">
|
|
|
<nz-form-item class="nz-form-item">
|
|
@@ -521,7 +386,7 @@
|
|
|
<th style="background-color:rgb(223, 223, 219);" nzWidth="40px" nzLeft="0px" nzAlign="center">
|
|
|
<strong>序号</strong></th>
|
|
|
<th style="background-color:rgb(223, 223, 219);" nzWidth="90px" nzLeft="40px" nzAlign="center">
|
|
|
- <strong>生产订单</strong></th>
|
|
|
+ <strong>订单编号</strong></th>
|
|
|
<th style="background-color:rgb(223, 223, 219);" nzWidth="90px" nzLeft="120px" nzAlign="center">
|
|
|
<strong>物料编码</strong></th>
|
|
|
<th style="background-color:rgb(223, 223, 219);" nzWidth="120px" nzLeft="210px" nzAlign="center">
|
|
@@ -530,7 +395,6 @@
|
|
|
<strong>数量</strong></th>
|
|
|
<th style="background-color:rgb(223, 223, 219);" nzWidth="80px" nzLeft="350px" nzAlign="center">
|
|
|
<strong>标准工时</strong></th>
|
|
|
-
|
|
|
<ng-container *ngFor="let day of fbsWorkshopDispatchListPlanningReport.dayList">
|
|
|
<ng-container *ngIf="day.week=='2'">
|
|
|
<th style="background-color:rgb(223, 223, 219);padding: 2px;" nzWidth="25px" nzAlign="center">
|
|
@@ -552,7 +416,6 @@
|
|
|
<td nzLeft="210px">{{data.product}}</td>
|
|
|
<td nzLeft="310px" nzAlign="center">{{data.numberOfTasks}}</td>
|
|
|
<td nzLeft="350px" nzAlign="center">{{data.standardWorkingHours}}</td>
|
|
|
-
|
|
|
<ng-container *ngFor="let color of data.isColor">
|
|
|
<ng-container *ngIf="color==='1'">
|
|
|
<td style="background-color:greenyellow;"></td>
|
|
@@ -567,7 +430,7 @@
|
|
|
</nz-table>
|
|
|
</div>
|
|
|
</div>
|
|
|
-</nz-spin>
|
|
|
+</nz-spin> -->
|
|
|
|
|
|
|
|
|
|