<!--
 * @Author: your name
 * @Date: 2021-12-03 11:10:14
 * @LastEditTime: 2021-12-10 15:14:11
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \tms-obc-web\src\app\routes\supply-management\components\update-price\update-price.component.html
-->
<div class="mb-lg">
  <nz-spin *ngIf="!i" class="modal-spin"></nz-spin>
  <sf *ngIf="i" #sf mode="edit" [schema]="schema" [ui]="ui" [formData]="ii" 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_get_catalogue_member" [bordered]="true" [columns]="columns" [page]="{show:false}">
    <ng-template st-row="operator" let-item let-index="index">
      <div>黎日湛</div>
      <div>18811112222</div>
    </ng-template>
  </st>
</div>
<ng-template #addOnAfterTemplate>
  <span> {{freightType[i?.freightType]}}</span>
</ng-template>
