fix bug
This commit is contained in:
		| @ -4,7 +4,7 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2021-12-30 14:45:39 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-04-22 15:42:08 | ||||
|  * @LastEditTime : 2022-04-22 16:31:57 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-captain\\modify-captain.component.ts | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
|  */ | ||||
| @ -108,6 +108,11 @@ export class VehicleModifyCaptainComponent implements OnInit { | ||||
|     }); | ||||
|   } | ||||
|   initDate() { | ||||
|     let phone  = this.sf?.value.mobile.replace(/^\s*|\s*$/g,"") | ||||
|     if(!phone) { | ||||
|       this.service.msgSrv.error('请输入手机号!'); | ||||
|       return | ||||
|     } | ||||
|     const params = { | ||||
|       fetchBank: 1, | ||||
|       ...this.sf?.value | ||||
|  | ||||
		Reference in New Issue
	
	Block a user