This commit is contained in:
wangshiming
2022-04-22 15:42:36 +08:00
parent b54780242e
commit bd1a9c2608

View File

@ -4,7 +4,7 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2021-12-30 14:45:39 * @Date : 2021-12-30 14:45:39
* @LastEditors : Shiming * @LastEditors : Shiming
* @LastEditTime : 2022-04-22 15:37:09 * @LastEditTime : 2022-04-22 15:42:08
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-captain\\modify-captain.component.ts * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-captain\\modify-captain.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
*/ */
@ -44,7 +44,8 @@ export class VehicleModifyCaptainComponent implements OnInit {
mobile: { mobile: {
type: 'string', type: 'string',
title: '车队长手机号', title: '车队长手机号',
maxLength: 11 maxLength: 11,
default: ''
} }
}, },
required: ['mobile'] required: ['mobile']
@ -112,7 +113,6 @@ export class VehicleModifyCaptainComponent implements OnInit {
...this.sf?.value ...this.sf?.value
}; };
this.service.request(this.service.$api_get_getCarCaptainByMobile, params).subscribe((res: any) => { this.service.request(this.service.$api_get_getCarCaptainByMobile, params).subscribe((res: any) => {
console.log(res);
if (res) { if (res) {
this.dataList = [res]; this.dataList = [res];
} }