fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2021-12-29 17:27:37
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-01-18 17:22:55
|
||||
* @LastEditTime : 2022-04-28 19:27:13
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-captain\\modify-captain.component.html
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
-->
|
||||
@ -29,7 +29,7 @@
|
||||
</ng-template>
|
||||
<ng-template st-row="bankList" let-item let-index="index">
|
||||
<nz-select [(ngModel)]="bankData" style="width: 200px">
|
||||
<nz-option *ngFor="let i of item.bankList" [nzLabel]="i.bankCardNumber" [nzValue]="i.id"></nz-option>
|
||||
<nz-option *ngFor="let i of item.bankList" [nzLabel]="i.bankName + '/'+i.bankCardNumber" [nzValue]="i.id"></nz-option>
|
||||
</nz-select>
|
||||
</ng-template>
|
||||
<ng-template st-row="paymentMethodRate" let-item let-index="index">
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2021-12-30 14:45:39
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-04-22 16:31:57
|
||||
* @LastEditTime : 2022-04-28 19:27:14
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-captain\\modify-captain.component.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -38,6 +38,21 @@ export class VehicleModifyCaptainComponent implements OnInit {
|
||||
this.initSF();
|
||||
this.initST();
|
||||
}
|
||||
initData(id: string) {
|
||||
// this.service.request(this.service.$api_getDriverBankInfoList, {roleId: id}).subscribe((res:any) => {
|
||||
// console.log(res);
|
||||
// if(res) {
|
||||
// let List :any= []
|
||||
// res.forEach((element: any) => {
|
||||
// List.push({
|
||||
// bankCardNumber: element.bankBranchName + '/'+element.bankCardNumber,
|
||||
// value: element.id
|
||||
// })
|
||||
// });
|
||||
// this.bankData = List
|
||||
// }
|
||||
// })
|
||||
}
|
||||
initSF() {
|
||||
this.schema = {
|
||||
properties: {
|
||||
@ -120,6 +135,7 @@ export class VehicleModifyCaptainComponent implements OnInit {
|
||||
this.service.request(this.service.$api_get_getCarCaptainByMobile, params).subscribe((res: any) => {
|
||||
if (res) {
|
||||
this.dataList = [res];
|
||||
this.initData(res.appUserId);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user