车辆对接

This commit is contained in:
wangshiming
2021-12-30 19:36:20 +08:00
parent 4e05ff50aa
commit 331219c6a0
4 changed files with 77 additions and 39 deletions

View File

@ -1,15 +1,37 @@
<!--
* @Author: your name
* @Date: 2021-12-15 13:17:42
* @LastEditTime: 2021-12-30 11:11:47
* @LastEditTime: 2021-12-30 16:49:30
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\vehicle\update-freight\update-freight.component.html
-->
<nz-alert nzType="info" [nzMessage]="'已选择' + data?.ids?.length + '已选择条订单'" nzShowIcon></nz-alert>
<sf style="margin-top: 15px;" #sf mode="edit" [schema]="schema" [ui]="ui" >
<button class="but_rigth" nz-button nzSize="large" nzType="primary" (click)="search(sf.value)">搜索</button>
</sf>
<nz-alert nzType="info" [nzMessage]="'已选择' + data?.ids?.length + '条订单,未认证司机不可设置为车队长合同单车队长需绑定收款账户'" nzShowIcon></nz-alert>
<div nz-row>
<div nz-col [nzSpan]="16">
<sf style="margin-top: 15px;" #sf mode="edit" [schema]="schema" [ui]="ui" button='none'>
</sf>
</div>
<div nz-col [nzSpan]="4" style="margin-top: 15px;" >
<button style="display: inline-block;" nz-button nzType="primary" >搜索</button>
</div>
</div>
<st #st
[data]="service.$api_get_bulkPage_list"
[columns]="Columns"
[req]="{ method: 'POST', allInBody: true, params: reParams }"
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
[loadingDelay]="500"
>
<ng-template st-row="shipperAppUserId" let-item let-index="index">
<input nz-input [ngModel]="item?.costName" (ngModelChange)="st.setRow(index, { costName: $event })" />
</ng-template>
<ng-template st-row="paymentMethodRate" let-item let-index="index">
<input nz-input [ngModel]="item?.paymentMethodRate" (ngModelChange)="st.setRow(index, { paymentMethodRate: $event })" />
</ng-template>
</st>
<div class="modal-footer">
<button nz-button type="button" (click)="close()">关闭</button>
<button nz-button type="submit" nzType="primary" (click)="save(sf.value)" [disabled]="sf.valid">确定</button>