fix bug
This commit is contained in:
		| @ -4,7 +4,7 @@ | |||||||
|  * @Author       : Shiming |  * @Author       : Shiming | ||||||
|  * @Date         : 2022-01-12 10:52:50 |  * @Date         : 2022-01-12 10:52:50 | ||||||
|  * @LastEditors  : Shiming |  * @LastEditors  : Shiming | ||||||
|  * @LastEditTime : 2022-02-21 20:13:21 |  * @LastEditTime : 2022-02-21 20:16:13 | ||||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\receipts-audit\\receipts-audit.component.html |  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\receipts-audit\\receipts-audit.component.html | ||||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. |  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||||
| --> | --> | ||||||
| @ -101,7 +101,7 @@ | |||||||
|         <div> |         <div> | ||||||
|           <span>{{ item?.weight ? item?.weight + '吨/' : '' }}</span> |           <span>{{ item?.weight ? item?.weight + '吨/' : '' }}</span> | ||||||
|           <span>{{ item?.volume ? item?.volume + '方/' : '' }}</span> |           <span>{{ item?.volume ? item?.volume + '方/' : '' }}</span> | ||||||
|           <span>{{ item?.goodsNumber ? item?.goodsNumber + '吨' : '' }}</span> |           <span>{{ item?.goodsNumber ? item?.goodsNumber + '件' : '' }}</span> | ||||||
|         </div> |         </div> | ||||||
|       </ng-template> |       </ng-template> | ||||||
|       <ng-template st-row="mybidDetailInfo" let-item let-index="index"> |       <ng-template st-row="mybidDetailInfo" let-item let-index="index"> | ||||||
|  | |||||||
| @ -81,9 +81,9 @@ export class OrderManagementReceiptsAuditComponent implements OnInit { | |||||||
|       if (res) { |       if (res) { | ||||||
|         let totalCount = 0; |         let totalCount = 0; | ||||||
|         res.forEach((element: any) => { |         res.forEach((element: any) => { | ||||||
|           if (element.billStatusLabel === '待审核') { |           if (element.auditStatus == '1') { | ||||||
|             this.tabs.receivedQuantity = element.quantity; |             this.tabs.receivedQuantity = element.quantity; | ||||||
|           } else if (element.billStatusLabel === '已审核') { |           } else if (element.auditStatus == '2') { | ||||||
|             this.tabs.stayQuantity = element.quantity; |             this.tabs.stayQuantity = element.quantity; | ||||||
|           } |           } | ||||||
|           totalCount += element.quantity; |           totalCount += element.quantity; | ||||||
|  | |||||||
| @ -4,11 +4,11 @@ | |||||||
|  * @Author       : Shiming |  * @Author       : Shiming | ||||||
|  * @Date         : 2021-12-15 13:17:42 |  * @Date         : 2021-12-15 13:17:42 | ||||||
|  * @LastEditors  : Shiming |  * @LastEditors  : Shiming | ||||||
|  * @LastEditTime : 2022-02-15 15:12:02 |  * @LastEditTime : 2022-02-21 20:25:47 | ||||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\audit\\voucher-view\\voucher-view.component.html |  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\audit\\voucher-view\\voucher-view.component.html | ||||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. |  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||||
| --> | --> | ||||||
|  | <div class="sfBox" [ngClass]="Status !== 1 ? 'hideBtn' : ''"> | ||||||
| <sf #sf mode="edit" [schema]="schema" [ui]="ui" [formData]="formData" button="none"> | <sf #sf mode="edit" [schema]="schema" [ui]="ui" [formData]="formData" button="none"> | ||||||
|   <ng-template sf-template="weight" let-me let-ui="ui" let-schema="schema"> |   <ng-template sf-template="weight" let-me let-ui="ui" let-schema="schema"> | ||||||
|     <div style="display: flex"> |     <div style="display: flex"> | ||||||
| @ -23,6 +23,7 @@ | |||||||
|     </div> |     </div> | ||||||
|   </ng-template> |   </ng-template> | ||||||
| </sf> | </sf> | ||||||
|  | </div> | ||||||
|  |  | ||||||
| <div class="modal-footer"> | <div class="modal-footer"> | ||||||
|   <button nz-button type="button"   *ngIf="Status === 1" (click)="close()">关闭</button> |   <button nz-button type="button"   *ngIf="Status === 1" (click)="close()">关闭</button> | ||||||
|  | |||||||
| @ -1,7 +1,106 @@ | |||||||
|     .left_btn { | :host{ | ||||||
|          width: 50px; |      ::ng-deep { | ||||||
|         height: 32px;  |      .ant-input-borderless{ | ||||||
|          padding-left: 8px; |          padding: 0; | ||||||
|          line-height:32px;  |          padding-top: 4px; | ||||||
|          background-color: #d7d7d7; |          color: black; | ||||||
|  |          resize:none; | ||||||
|        } |        } | ||||||
|  |        .hideBtn .ant-upload-list-item-actions button{ | ||||||
|  |          &:last-child{ | ||||||
|  |            display: none; | ||||||
|  |          } | ||||||
|  |        } | ||||||
|  |      } | ||||||
|  |    } | ||||||
|  |  .sfBox { | ||||||
|  |      position: relative; | ||||||
|  |      .example { | ||||||
|  |          position: absolute; | ||||||
|  |          top: 215px; | ||||||
|  |          right: 265px; | ||||||
|  |          color: #1890ff; | ||||||
|  |          cursor: pointer; | ||||||
|  |          .popBox { | ||||||
|  |              position: absolute; | ||||||
|  |              top: -170px; | ||||||
|  |              left: -125px; | ||||||
|  |              width: 300px; | ||||||
|  |              padding: 20px; | ||||||
|  |              text-align: center; | ||||||
|  |              background: #fff; | ||||||
|  |              border: solid 1px #eee; | ||||||
|  |              border-radius: 6px; | ||||||
|  |              box-shadow: 0 1px 5px 1px #ececec; | ||||||
|  |              &::before { | ||||||
|  |                  position: absolute; | ||||||
|  |                  bottom: -5px; | ||||||
|  |                  left: 50%; | ||||||
|  |                  width: 10px; | ||||||
|  |                  height: 10px; | ||||||
|  |                  margin-left: -5px; | ||||||
|  |                  background: #fff; | ||||||
|  |                  box-shadow: 0 1px 5px 1px #ececec; | ||||||
|  |                  transform: rotate(45deg); | ||||||
|  |                  content: ''; | ||||||
|  |              } | ||||||
|  |              &::after { | ||||||
|  |                  position: absolute; | ||||||
|  |                  bottom: 0; | ||||||
|  |                  left: 0; | ||||||
|  |                  z-index: 10; | ||||||
|  |                  width: 100%; | ||||||
|  |                  height: 10px; | ||||||
|  |                  background: #fff; | ||||||
|  |                  content: ''; | ||||||
|  |              } | ||||||
|  |              img { | ||||||
|  |                  max-width: 100%; | ||||||
|  |                  max-height: 200px; | ||||||
|  |              } | ||||||
|  |          } | ||||||
|  |      } | ||||||
|  |      .pr { | ||||||
|  |          position: relative; | ||||||
|  |        } | ||||||
|  |       | ||||||
|  |        .pa { | ||||||
|  |          position: absolute; | ||||||
|  |          top: 35px; | ||||||
|  |          left: 150px; | ||||||
|  |        } | ||||||
|  |       | ||||||
|  |        .tips { | ||||||
|  |          display: flex; | ||||||
|  |          margin-bottom: 0; | ||||||
|  |          color: #333; | ||||||
|  |       | ||||||
|  |          dt { | ||||||
|  |            width: 150px; | ||||||
|  |          } | ||||||
|  |       | ||||||
|  |          dd { | ||||||
|  |            width: 190px; | ||||||
|  |            margin-bottom: 0; | ||||||
|  |            text-align: center; | ||||||
|  |          } | ||||||
|  |        } | ||||||
|  |      .positionSet{ | ||||||
|  |          top: 356px; | ||||||
|  |          right: 235px; | ||||||
|  |      } | ||||||
|  |      .positionSet01{ | ||||||
|  |          top: 500px; | ||||||
|  |          right: 200px; | ||||||
|  |      } | ||||||
|  |      .positionSet02{ | ||||||
|  |          top: 664px; | ||||||
|  |          right: 265px; | ||||||
|  |      } | ||||||
|  |      .positionSet03{ | ||||||
|  |          top: 808px; | ||||||
|  |          right: 205px; | ||||||
|  |       | ||||||
|  |      } | ||||||
|  |  } | ||||||
|  |   | ||||||
		Reference in New Issue
	
	Block a user