32 lines
1.4 KiB
HTML
32 lines
1.4 KiB
HTML
<!--
|
|
* @Description :
|
|
* @Version : 1.0
|
|
* @Author : Shiming
|
|
* @Date : 2021-12-15 13:17:42
|
|
* @LastEditors : Shiming
|
|
* @LastEditTime : 2022-02-15 15:12:02
|
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\audit\\voucher-view\\voucher-view.component.html
|
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
|
-->
|
|
|
|
<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">
|
|
<div style="display: flex">
|
|
<nz-input-number [(ngModel)]="data.weight" [nzMin]="1" [nzMax]="10" [nzStep]="1"></nz-input-number>
|
|
<div class="left_btn">吨</div>
|
|
</div>
|
|
</ng-template>
|
|
<ng-template sf-template="volume" let-me let-ui="ui" let-schema="schema">
|
|
<div style="display: flex">
|
|
<nz-input-number [(ngModel)]="data.volume" [nzMin]="1" [nzMax]="10" [nzStep]="1"></nz-input-number>
|
|
<div class="left_btn">方</div>
|
|
</div>
|
|
</ng-template>
|
|
</sf>
|
|
|
|
<div class="modal-footer">
|
|
<button nz-button type="button" *ngIf="Status === 1" (click)="close()">关闭</button>
|
|
<button nz-button type="submit" *ngIf="Status === 1" nzType="primary" (click)="save(sf.value)" [nzLoading]="http.loading">确定</button>
|
|
<button nz-button type="submit" nzType="primary" *ngIf="Status == 2" (click)="sure()" [nzLoading]="http.loading">生成电子单据</button>
|
|
</div>
|