|
@@ -43,14 +43,67 @@
|
|
|
</nz-form-item>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <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-control [nzSpan]="16">
|
|
|
+ <input [(ngModel)]="fbsAbnormalWorkingHours.costItemCode" name="costItemCode" nz-input
|
|
|
+ placeholder="请输入" />
|
|
|
+ </nz-form-control>
|
|
|
+ </nz-form-item>
|
|
|
+ </div>
|
|
|
+ <!-- 项目名称 -->
|
|
|
+ <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-control [nzSpan]="16">
|
|
|
+ <input [(ngModel)]="fbsAbnormalWorkingHours.projectName" name="projectName" nz-input
|
|
|
+ placeholder="请输入" />
|
|
|
+ </nz-form-control>
|
|
|
+ </nz-form-item>
|
|
|
+ </div>
|
|
|
+ <!-- 生产订单号 -->
|
|
|
+ <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-control [nzSpan]="16">
|
|
|
+ <input [(ngModel)]="fbsAbnormalWorkingHours.productionOrderNumberName" name="productionOrderNumberName" nz-input
|
|
|
+ placeholder="请输入" />
|
|
|
+ </nz-form-control>
|
|
|
+ </nz-form-item>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <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-control [nzSpan]="16">
|
|
|
+ <input [(ngModel)]="fbsAbnormalWorkingHours.productId" name="productId" nz-input
|
|
|
+ placeholder="请输入" />
|
|
|
+ </nz-form-control>
|
|
|
+ </nz-form-item>
|
|
|
+ </div>
|
|
|
+ <!-- 物料名称 -->
|
|
|
+ <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-control [nzSpan]="16">
|
|
|
+ <input [(ngModel)]="fbsAbnormalWorkingHours.product" name="product" nz-input
|
|
|
+ placeholder="请输入" />
|
|
|
+ </nz-form-control>
|
|
|
+ </nz-form-item>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</form>
|
|
|
<!-- 数据表 -->
|
|
|
- <nz-table nzSize="small" class="buttonDistance" [nzData]="dataList" [nzLoading]="isLoading"
|
|
|
+ <!-- <nz-table nzSize="small" class="buttonDistance" [nzData]="dataList" [nzLoading]="isLoading"
|
|
|
[nzFrontPagination]="false" #borderedTable [nzTotal]="page.total" [nzPageIndex]="page.current"
|
|
|
(nzPageIndexChange)="pageIndexChange($event)">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <!-- <th>姓名</th> -->
|
|
|
<th>日期</th>
|
|
|
<th nzAlign="center">加班工时</th>
|
|
|
<th nzAlign="center">培训</th>
|
|
@@ -58,7 +111,6 @@
|
|
|
<th nzAlign="center">研发</th>
|
|
|
<th nzAlign="center">5S</th>
|
|
|
<th nzAlign="center">打包</th>
|
|
|
- <!-- <th nzAlign="center">返工</th> -->
|
|
|
<th nzAlign="center">其他</th>
|
|
|
<th nzAlign="center">质量</th>
|
|
|
<th nzAlign="center">物料</th>
|
|
@@ -66,16 +118,13 @@
|
|
|
<th nzAlign="center">设计</th>
|
|
|
<th nzAlign="center">能源</th>
|
|
|
<th nzAlign="center">计划</th>
|
|
|
- <!-- <th nzAlign="center">配料</th>
|
|
|
- <th nzAlign="center">入库</th>
|
|
|
- <th nzAlign="center">打包</th> -->
|
|
|
+
|
|
|
<th style="width:15%">{{ 'table.operation' | translate }}</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr *ngFor="let item of borderedTable.data">
|
|
|
- <!-- <td >{{item.milestoneCode}}</td> -->
|
|
|
- <!-- <td>{{item.name}}</td> -->
|
|
|
+
|
|
|
<td>{{item.date}}</td>
|
|
|
<td nzAlign="center">{{item.overtimeHours}}</td>
|
|
|
<td nzAlign="center">{{item.train}}</td>
|
|
@@ -83,7 +132,6 @@
|
|
|
<td nzAlign="center">{{item.researchAndDevelopment}}</td>
|
|
|
<td nzAlign="center">{{item.fiveS}}</td>
|
|
|
<td nzAlign="center">{{item.pack}}</td>
|
|
|
- <!-- <td nzAlign="center">{{item.rework}}</td> -->
|
|
|
<td nzAlign="center">{{item.other}}</td>
|
|
|
<td nzAlign="center">{{item.quality}}</td>
|
|
|
<td nzAlign="center">{{item.materiel}}</td>
|
|
@@ -91,16 +139,10 @@
|
|
|
<td nzAlign="center">{{item.design}}</td>
|
|
|
<td nzAlign="center">{{item.energy}}</td>
|
|
|
<td nzAlign="center">{{item.plan}}</td>
|
|
|
- <!-- <td nzAlign="center">{{item.mixedIngredients}}</td>
|
|
|
- <td nzAlign="center">{{item.warehousing}}</td>
|
|
|
- <td nzAlign="center">{{item.pack}}</td> -->
|
|
|
<td>
|
|
|
- <!-- 详情 -->
|
|
|
<a (click)="view(item)">{{ 'table.view' | translate }}</a>
|
|
|
- <!-- 修改 -->
|
|
|
<span> | </span>
|
|
|
<a (click)="update(item)">{{ 'contract.index.update' | translate }}</a>
|
|
|
- <!-- 删除 -->
|
|
|
<span> | </span>
|
|
|
<a nz-popconfirm nzTitle="是否删除" nzOkText="是" nzCancelText="否"
|
|
|
(nzOnConfirm)="delete(item)">{{ 'table.delete' | translate }}</a>
|
|
@@ -122,11 +164,95 @@
|
|
|
<td>{{totalList.design}}</td>
|
|
|
<td>{{totalList.energy}}</td>
|
|
|
<td>{{totalList.plan}}</td>
|
|
|
- <!-- <td>{{totalList.mixedIngredients}}</td>
|
|
|
- <td>{{totalList.warehousing}}</td>
|
|
|
- <td>{{totalList.pack}}</td> -->
|
|
|
<td></td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
- </nz-table>
|
|
|
+ </nz-table> -->
|
|
|
+
|
|
|
+ <nz-table nzSize="small" class="buttonDistance" [nzData]="dataList" [nzLoading]="isLoading"
|
|
|
+ [nzFrontPagination]="false" #borderedTable [nzTotal]="page.total" [nzPageIndex]="page.current"
|
|
|
+ (nzPageIndexChange)="pageIndexChange($event)">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th rowspan="2">日期</th>
|
|
|
+ <th rowspan="2" nzAlign="center" >无效工时</th>
|
|
|
+ <th colspan="5" nzAlign="center">分类</th>
|
|
|
+ <th rowspan="2" nzAlign="center" >异常工时</th>
|
|
|
+ <th colspan="5" nzAlign="center">分类</th>
|
|
|
+ <th rowspan="2" style="width:15%">{{ 'table.operation' | translate }}</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th nzAlign="center">培训</th>
|
|
|
+ <th nzAlign="center">会议</th>
|
|
|
+ <th nzAlign="center">待料</th>
|
|
|
+ <th nzAlign="center">5S</th>
|
|
|
+ <th nzAlign="center">其他</th>
|
|
|
+
|
|
|
+ <th nzAlign="center">设计</th>
|
|
|
+ <th nzAlign="center">物料</th>
|
|
|
+ <th nzAlign="center">计划</th>
|
|
|
+ <th nzAlign="center">制程</th>
|
|
|
+ <th nzAlign="center">其他</th>
|
|
|
+ <!-- <th nzAlign="center">配料</th>
|
|
|
+ <th nzAlign="center">入库</th>
|
|
|
+ <th nzAlign="center">打包</th> -->
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr *ngFor="let item of borderedTable.data">
|
|
|
+ <!-- <td >{{item.milestoneCode}}</td> -->
|
|
|
+ <!-- <td>{{item.name}}</td> -->
|
|
|
+ <td>{{item.date}}</td>
|
|
|
+ <td nzAlign="center">{{item.invalidWork}}</td>
|
|
|
+ <td nzAlign="center">{{item.train}}</td>
|
|
|
+ <td nzAlign="center">{{item.meeting}}</td>
|
|
|
+ <td nzAlign="center">{{item.researchAndDevelopment}}</td>
|
|
|
+ <td nzAlign="center">{{item.fiveS}}</td>
|
|
|
+ <td nzAlign="center">{{item.other}}</td>
|
|
|
+
|
|
|
+ <td nzAlign="center">{{item.abnormalWorkingHours}}</td>
|
|
|
+ <td nzAlign="center">{{item.anomalyClassification1}}</td>
|
|
|
+ <td nzAlign="center">{{item.anomalyClassification2}}</td>
|
|
|
+ <td nzAlign="center">{{item.anomalyClassification3}}</td>
|
|
|
+ <td nzAlign="center">{{item.anomalyClassification4}}</td>
|
|
|
+ <td nzAlign="center">{{item.anomalyClassification5}}</td>
|
|
|
+
|
|
|
+ <!-- <td nzAlign="center">{{item.mixedIngredients}}</td>
|
|
|
+ <td nzAlign="center">{{item.warehousing}}</td>
|
|
|
+ <td nzAlign="center">{{item.pack}}</td> -->
|
|
|
+ <td>
|
|
|
+ <!-- 详情 -->
|
|
|
+ <a (click)="view(item)">{{ 'table.view' | translate }}</a>
|
|
|
+ <!-- 修改 -->
|
|
|
+ <span> | </span>
|
|
|
+ <a (click)="update(item)">{{ 'contract.index.update' | translate }}</a>
|
|
|
+ <!-- 删除 -->
|
|
|
+ <span> | </span>
|
|
|
+ <a nz-popconfirm nzTitle="是否删除" nzOkText="是" nzCancelText="否"
|
|
|
+ (nzOnConfirm)="delete(item)">{{ 'table.delete' | translate }}</a>
|
|
|
+
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr style="font-weight:bolder;text-align: center;">
|
|
|
+ <td>总计</td>
|
|
|
+ <td>{{totalList.overtimeHours}}</td>
|
|
|
+ <td>{{totalList.train}}</td>
|
|
|
+ <td>{{totalList.meeting}}</td>
|
|
|
+ <td>{{totalList.researchAndDevelopment}}</td>
|
|
|
+ <td>{{totalList.fiveS}}</td>
|
|
|
+ <td>{{totalList.pack}}</td>
|
|
|
+ <td>{{totalList.other}}</td>
|
|
|
+ <td>{{totalList.quality}}</td>
|
|
|
+ <td>{{totalList.materiel}}</td>
|
|
|
+ <td>{{totalList.equipment}}</td>
|
|
|
+ <td>{{totalList.design}}</td>
|
|
|
+ <td>{{totalList.energy}}</td>
|
|
|
+ <td>{{totalList.plan}}</td>
|
|
|
+ <!-- <td>{{totalList.mixedIngredients}}</td>
|
|
|
+ <td>{{totalList.warehousing}}</td>
|
|
|
+ <td>{{totalList.pack}}</td> -->
|
|
|
+ <td></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+</nz-table>
|
|
|
</nz-card>
|