chenc il y a 4 ans
Parent
commit
79124a258d

+ 2 - 2
src/app/routes/fbs-workshop-dispatch-list/add/add.component.html

@@ -85,7 +85,7 @@
       </div>
     </div>
     <nz-table style="margin-top: 5px;" nzSize="small" #editRowTable nzBordered [nzData]="workshopDispatchListList"
-      [nzShowPagination]="false" [nzFrontPagination]=false>
+      [nzShowPagination]="false" [nzFrontPagination]=false [nzScroll]="{x:'123vw'}">
       <thead>
         <tr>
           <th nzWidth="2%">序号</th>
@@ -116,7 +116,7 @@
             </nz-select>
           </td>
           <td>
-            <nz-date-picker [(ngModel)]="data.date" nzPlaceHolder="请选择" nzDisabled>
+            <nz-date-picker [(ngModel)]="data.date" nzPlaceHolder="请选择" >
             </nz-date-picker>
           </td>
           <td>

+ 5 - 4
src/app/routes/fbs-workshop-dispatch-list/list/list.component.ts

@@ -242,10 +242,11 @@ export class FbsWorkshopDispatchListListComponent implements OnInit {
               100
             ).toFixed(0);
           }else{//没有则标准工时除完成工时
-            element.workingHoursEfficiency = (
-              ((Number(standardWorkingHours)) / Number(manHoursCompleted)) *
-              100
-            ).toFixed(0);
+            // element.workingHoursEfficiency = (
+            //   ((Number(standardWorkingHours)) / Number(manHoursCompleted)) *
+            //   100
+            // ).toFixed(0);
+            element.workingHoursEfficiency=0;
           }
         } else {
           element.workingHoursEfficiency = 0;

+ 1 - 1
src/app/routes/fbs-workshop-dispatch-list/update/update.component.html

@@ -21,7 +21,7 @@
         </td>
         <td style="width: 25%;">日期</td>
         <td style="width: 25%;">
-          <nz-date-picker [(ngModel)]="fbsWorkshopDispatchList.date" nzPlaceHolder="请选择" nzDisabled>
+          <nz-date-picker [(ngModel)]="fbsWorkshopDispatchList.date" nzPlaceHolder="请选择" >
           </nz-date-picker>
         </td>
       </tr>