Commit b2dec0a6 by sunchao

商机生日最小值

parent fbf4928a
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
DatePicker DatePicker
[mode]="'date'" [mode]="'date'"
[disabled]="readonlyFlag" [disabled]="readonlyFlag"
[minDate]="minDate"
[maxDate] = "today" [maxDate] = "today"
[(ngModel)]="editBusiness.birthDate" [(ngModel)]="editBusiness.birthDate"
(onOk)="onOk($event)"> (onOk)="onOk($event)">
......
...@@ -70,6 +70,7 @@ export class MyBusinessDetailComponent implements OnInit { ...@@ -70,6 +70,7 @@ export class MyBusinessDetailComponent implements OnInit {
// 获取经纪人信息 // 获取经纪人信息
lifeCustomerInfo:any; lifeCustomerInfo:any;
today:Date = new Date(); today:Date = new Date();
minDate:Date = new Date('1930-01-01')
constructor(private activateRoute: ActivatedRoute, private myService: MyService, constructor(private activateRoute: ActivatedRoute, private myService: MyService,
public lifeCommonService: LifeCommonService, private router: Router, ) { public lifeCommonService: LifeCommonService, private router: Router, ) {
this.titleList = [ this.titleList = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment