jianping li
2019-06-25 7697d9582e203ef20f4591248aa8dda59be12362
frontdesk/src/app/shared/components/arrangementDetails/arrangementDetails.component.html
@@ -10,6 +10,7 @@
          <th class="text-center">申请人</th>
          <th class="text-center">申请人部门</th>
          <th class="text-center">调整实物</th>
          <th class="text-center">调整理由</th>
        </tr>
      </thead>
      <tbody style="height:auto; display:inline;">
@@ -18,15 +19,6 @@
          <td class="text-center">{{reason.arrangementStaff}}</td>
          <td class="text-center">{{reason.orgValue}}</td>
          <td class="text-center"><span *ngIf="reason.materialObjectFlg">是</span><span *ngIf="!reason.materialObjectFlg">否</span></td>
        </tr>
      </tbody>
      <thead class="text-center">
        <tr>
          <th class="text-center">调整理由</th>
        </tr>
      </thead>
      <tbody style="height:auto; display:inline;">
        <tr>
          <td class="text-center">{{reason.reason == '' ? '无' : reason.reason}}</td>
        </tr>
      </tbody>
@@ -74,24 +66,18 @@
        <thead class="text-center">
          <tr>
            <th class="text-center">说明</th>
            <ng-container *ngFor="let item of colList">
                <th class="text-center">{{item.colName}}</th>
            </ng-container>
            <th class="text-center">调整前</th>
            <th class="text-center">调整后</th>
          </tr>
        </thead>
        <tbody style="height:auto; display:inline;">
          <tr>
            <td class="text-center">调整前</td>
            <ng-container *ngFor="let col of colList">
                <td class="text-center">{{volumeDetail.oldVolumeDetail[col.colId]}}</td>
            </ng-container>
          </tr>
          <tr>
            <td class="text-center">调整后</td>
              <ng-container *ngFor="let col of colList">
                  <td class="text-center">{{volumeDetail.newVolumeDetail[col.colId]}}</td>
              </ng-container>
          </tr>
          <ng-container *ngFor="let item of colList">
            <tr *ngIf="volumeDetail.oldVolumeDetail[item.colId]!==undefined || volumeDetail.newVolumeDetail[item.colId]!==undefined">
              <td class="text-center">{{item.colName}}</td>
              <td class="text-center">{{volumeDetail.oldVolumeDetail[item.colId]}}</td>
              <td class="text-center">{{volumeDetail.newVolumeDetail[item.colId]}}</td>
            </tr>
          </ng-container>
        </tbody>
      </table>
    </div>