|
@@ -31,6 +31,56 @@
|
|
|
</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]="4" [nzNoColon]="true"></nz-form-label>
|
|
|
+ <nz-form-control [nzSpan]="20" >
|
|
|
+ <!-- 查询 -->
|
|
|
+ <button nz-button nzType="primary" (click)="query()">查询</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>
|
|
|
+ </nz-form-control>
|
|
|
+ </nz-form-item>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div *ngIf="isShow">
|
|
|
+ <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)]="fbsWorkshopDispatchList.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)]="fbsWorkshopDispatchList.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)]="fbsWorkshopDispatchList.workCenter" name="workCenter" 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">
|
|
@@ -42,9 +92,6 @@
|
|
|
</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">
|
|
@@ -66,7 +113,7 @@
|
|
|
</nz-form-item>
|
|
|
</div>
|
|
|
<!-- 项目名称 -->
|
|
|
- <div nz-col nzXs="24" nzSm="4" nzLg="8">
|
|
|
+ <!-- <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">
|
|
@@ -75,11 +122,11 @@
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
|
- </div>
|
|
|
+ </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">
|
|
|
+ <!-- <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">
|
|
@@ -91,7 +138,7 @@
|
|
|
</nz-select>
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<!-- 状态 -->
|
|
|
<div nz-col nzXs="24" nzSm="4" nzLg="8">
|
|
|
<nz-form-item class="nz-form-item">
|
|
@@ -109,18 +156,7 @@
|
|
|
</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="24">
|
|
|
- <nz-form-item class="nz-form-item">
|
|
|
- <nz-form-label [nzSpan]="2" [nzNoColon]="true"></nz-form-label>
|
|
|
- <nz-form-control [nzSpan]="22" style="text-align: right;">
|
|
|
- <!-- 查询 -->
|
|
|
- <button nz-button nzType="primary" (click)="query()">查询</button>
|
|
|
- </nz-form-control>
|
|
|
- </nz-form-item>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</form>
|
|
|
<!-- 数据表 -->
|
|
|
<nz-table nzSize="small" class="buttonDistance" [nzData]="dataList" [nzLoading]="isLoading"
|
|
@@ -128,18 +164,22 @@
|
|
|
(nzPageIndexChange)="pageIndexChange($event)">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <th style="width:10%">姓名</th>
|
|
|
+ <th>项目编码</th>
|
|
|
<th>项目名称</th>
|
|
|
+ <th>工作中心</th>
|
|
|
<th>生产订单号</th>
|
|
|
+ <th>物料编码</th>
|
|
|
<th>物料名称</th>
|
|
|
+ <!-- <th style="width:10%">姓名</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>
|
|
|
<th nzAlign="center">生产效率</th>
|
|
|
- <th nzAlign="center">工艺流程</th>
|
|
|
+ <!-- <th nzAlign="center">工艺流程</th> -->
|
|
|
<th>状态</th>
|
|
|
<th>实际完成时间</th>
|
|
|
<th nzAlign="center">是否可扫码</th>
|
|
@@ -151,21 +191,25 @@
|
|
|
<tbody>
|
|
|
<tr *ngFor="let item of borderedTable.data">
|
|
|
<!-- <td >{{item.milestoneCode}}</td> -->
|
|
|
- <td>{{item.name}}</td>
|
|
|
- <td>{{item.projectName}}</td>
|
|
|
+ <td>{{item.costItemCode}}</td>
|
|
|
+ <td style="width: 8%;">{{item.projectName}}</td>
|
|
|
+ <td>{{item.workCenter}}</td>
|
|
|
<td>{{item.productionOrderNumberName}}</td>
|
|
|
- <td style="width: 15%;">{{item.product}}</td>
|
|
|
+ <td style="width: 7%;">{{item.productId}}</td>
|
|
|
+ <td style="width: 7%;">{{item.product}}</td>
|
|
|
+ <!-- <td>{{item.name}}</td> -->
|
|
|
<td nzAlign="center" >{{item.plannedQuantity}}</td>
|
|
|
<td nzAlign="center">{{item.numberOfTasks}}</td>
|
|
|
- <td nzAlign="center">{{item.standardWorkingHours}}</td>
|
|
|
<td nzAlign="center">{{item.latestCompletedQuantity}}</td>
|
|
|
- <td nzAlign="center">{{item.manHoursCompleted}}</td>
|
|
|
+ <td nzAlign="center">{{item.latestCompletedQuantity}}</td>
|
|
|
<td nzAlign="center">{{item.numberEfficiency}}%</td>
|
|
|
+ <td nzAlign="center">{{item.standardWorkingHours}}</td>
|
|
|
+ <td nzAlign="center">{{item.manHoursCompleted}}</td>
|
|
|
<td nzAlign="center">{{item.workingHoursEfficiency}}%</td>
|
|
|
- <td>
|
|
|
+ <!-- <td>
|
|
|
<div>{{item.fbsTechnologicalProcessItemName}}</div>
|
|
|
|
|
|
- </td>
|
|
|
+ </td> -->
|
|
|
<td>
|
|
|
<nz-badge nzStatus="yellow" *ngIf="item.state=='0'" nzText="派工"></nz-badge>
|
|
|
<nz-badge nzStatus="green" *ngIf="item.state=='1'" nzText="上岗"></nz-badge>
|
|
@@ -203,12 +247,16 @@
|
|
|
<td></td>
|
|
|
<td></td>
|
|
|
<td></td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ <!-- <td></td> -->
|
|
|
<td nzAlign="center">{{totalList.plannedQuantity}}</td>
|
|
|
<td nzAlign="center">{{totalList.numberOfTasks}}</td>
|
|
|
- <td nzAlign="center">{{totalList.standardWorkingHours}}</td>
|
|
|
<td nzAlign="center">{{totalList.latestCompletedQuantity}}</td>
|
|
|
- <td nzAlign="center">{{totalList.manHoursCompleted}}</td>
|
|
|
+ <td nzAlign="center">{{totalList.latestCompletedQuantity}}</td>
|
|
|
<td nzAlign="center">{{totalList.numberEfficiency}}%</td>
|
|
|
+ <td nzAlign="center">{{totalList.standardWorkingHours}}</td>
|
|
|
+ <td nzAlign="center">{{totalList.manHoursCompleted}}</td>
|
|
|
<td nzAlign="center">{{totalList.workingHoursEfficiency}}%</td>
|
|
|
<td></td>
|
|
|
</tr>
|