Files
bbq/src/app/routes/supply-management/components/update-price/update-price.component.html
wangshiming f1dc67f92a fix bug
2022-02-16 16:38:09 +08:00

38 lines
1.6 KiB
HTML

<!--
* @Description :
* @Version : 1.0
* @Author : Shiming
* @Date : 2021-12-03 11:10:14
* @LastEditors : Shiming
* @LastEditTime : 2022-02-16 15:02:33
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\update-price\\update-price.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
<div class="mb-lg">
<sf *ngIf="i" #sf mode="edit" [schema]="schema" [ui]="ui" [formData]="i" button="none">
<ng-template sf-template="freightPrice" let-me let-ui="ui" let-schema="schema">
<nz-input-group [nzAddOnAfter]="freightType[i?.freightType]">
<input [max]="99999999" placeholder="请输入" type="number" [ngModel]="me.value" (ngModelChange)="me.setValue($event)" nz-input />
</nz-input-group>
</ng-template>
<div class="modal-footer text-center">
<button nz-button type="button" (click)="close()">取消</button>
<button nz-button type="submit" nzType="primary" (click)="save(sf.value)" [disabled]="!sf.valid" [nzLoading]="service.http.loading"
>确定</button
>
</div>
</sf>
</div>
<div>
<h4>变更日志</h4>
<st #st [data]="service.$api_getOperationLogRecordsList" [bordered]="true" [columns]="columns" [page]="{ show: false }" [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }">
<ng-template st-row="operator" let-item let-index="index">
<span>{{item.operator}}</span>/
<span>{{item.telephone}}</span>
</ng-template>
</st>
</div>
<ng-template #addOnAfterTemplate>
<span> {{ freightType[i?.freightType] }}</span>
</ng-template>