|
@@ -123,6 +123,22 @@
|
|
|
</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">
|
|
|
+ <nz-select nzMode="multiple" [(ngModel)]="fbsWorkingStatistics.stateList" name="state" style="width: 100%" nzShowSearch nzAllowClear
|
|
|
+ nzPlaceHolder="请选择" [nzDropdownMatchSelectWidth]="false">
|
|
|
+ <nz-option nzLabel="派工" nzValue="0"> </nz-option>
|
|
|
+ <nz-option nzLabel="上岗" nzValue="1"> </nz-option>
|
|
|
+ <nz-option nzLabel="暂停" nzValue="2"> </nz-option>
|
|
|
+ <nz-option nzLabel="进行中" nzValue="4"> </nz-option>
|
|
|
+ <nz-option nzLabel="完工" nzValue="3"> </nz-option>
|
|
|
+ </nz-select>
|
|
|
+ </nz-form-control>
|
|
|
+ </nz-form-item>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</form>
|
|
@@ -139,6 +155,7 @@
|
|
|
<th>物料编码</th>
|
|
|
<th style="width: 15%;">物料名称</th>
|
|
|
<th nzAlign="center">订单数</th>
|
|
|
+ <th >工单状态</th>
|
|
|
<th>工序</th>
|
|
|
|
|
|
<!-- <th>人员编码</th> -->
|
|
@@ -159,6 +176,13 @@
|
|
|
<td>{{item.materielCode}}</td>
|
|
|
<td>{{item.materielName}}</td>
|
|
|
<td nzAlign="center">{{item.numberOfTasks}}</td>
|
|
|
+ <td >
|
|
|
+ <nz-badge nzStatus="yellow" *ngIf="item.state=='0'" nzText="派工"></nz-badge>
|
|
|
+ <nz-badge nzStatus="green" *ngIf="item.state=='1'" nzText="上岗"></nz-badge>
|
|
|
+ <nz-badge nzStatus="red" *ngIf="item.state=='2'" nzText="暂停"></nz-badge>
|
|
|
+ <nz-badge nzStatus="green" *ngIf="(item.state=='3'&&item.numberOfTasks==item.latestCompletedQuantity)||item.sapState=='REL CNF'" nzText="完工"></nz-badge>
|
|
|
+ <nz-badge nzStatus="green" *ngIf="item.state=='3'&&item.numberOfTasks!=item.latestCompletedQuantity&&item.sapState!='REL CNF'" nzText="进行中"></nz-badge>
|
|
|
+ </td>
|
|
|
<td>{{item.fbsTechnologicalProcessItemName}}</td>
|
|
|
|
|
|
<!-- <td>{{item.personnelCode}}</td> -->
|
|
@@ -182,6 +206,7 @@
|
|
|
<!-- <td></td> -->
|
|
|
<td></td>
|
|
|
<td></td>
|
|
|
+ <td></td>
|
|
|
<td nzAlign="center">{{totalList.standardWorkingHoursProcess}}</td>
|
|
|
<td nzAlign="center">{{totalList.workingHoursTotal}}</td>
|
|
|
<td nzAlign="center">{{totalList.efficiency}}%</td>
|