fix bug
This commit is contained in:
		| @ -355,6 +355,15 @@ | |||||||
|     </sv> |     </sv> | ||||||
|   </sv-container> |   </sv-container> | ||||||
|   <nz-divider></nz-divider> |   <nz-divider></nz-divider> | ||||||
|  |   <sv-container col="3" class="mt-md"> | ||||||
|  |     <sv-title>服务评级 | ||||||
|  |       <ng-container *ngIf="billEvaluateList?.length===0">(暂无评级)</ng-container> | ||||||
|  |     </sv-title> | ||||||
|  |     <sv [label]="item.evaluateTypeLabel" *ngFor="let item of billEvaluateList"> | ||||||
|  |       <nz-rate [ngModel]="item.evaluateFraction" nzDisabled></nz-rate> | ||||||
|  |     </sv> | ||||||
|  |   </sv-container> | ||||||
|  |   <nz-divider></nz-divider> | ||||||
|   <sv-container col="3" class="mt16"> |   <sv-container col="3" class="mt16"> | ||||||
|     <sv-title>合伙人信息</sv-title> |     <sv-title>合伙人信息</sv-title> | ||||||
|     <sv label="合伙人名称"> |     <sv label="合伙人名称"> | ||||||
|  | |||||||
| @ -34,7 +34,7 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy { | |||||||
|   ltdId: any = []; |   ltdId: any = []; | ||||||
|   roles: any = []; |   roles: any = []; | ||||||
|   customerServices: any = []; |   customerServices: any = []; | ||||||
|  |   billEvaluateList: any = []; | ||||||
|   approvalOpinion = ''; |   approvalOpinion = ''; | ||||||
|   networkTransporter = null; |   networkTransporter = null; | ||||||
|   roleId = null; |   roleId = null; | ||||||
| @ -90,6 +90,7 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy { | |||||||
|       this.scrollTop = document.documentElement.scrollTop; |       this.scrollTop = document.documentElement.scrollTop; | ||||||
|     }); |     }); | ||||||
|   } |   } | ||||||
|  |    | ||||||
|   /** |   /** | ||||||
| * 初始化数据列表 | * 初始化数据列表 | ||||||
| */ | */ | ||||||
| @ -202,6 +203,7 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy { | |||||||
|           this.service.request(this.service.$api_get_freight_billEvaluate, res).subscribe(billEvaluate => { |           this.service.request(this.service.$api_get_freight_billEvaluate, res).subscribe(billEvaluate => { | ||||||
|             if (billEvaluate) { |             if (billEvaluate) { | ||||||
|               this.billEvaluate = billEvaluate.totalScore; |               this.billEvaluate = billEvaluate.totalScore; | ||||||
|  |               this.billEvaluateList = res; | ||||||
|             } |             } | ||||||
|           }); |           }); | ||||||
|         } |         } | ||||||
|  | |||||||
| @ -715,15 +715,15 @@ export class FreightComponentsListNewComponent implements OnInit { | |||||||
|           } |           } | ||||||
|         }, |         }, | ||||||
|         promotersTelephone: { |         promotersTelephone: { | ||||||
|           title: '推广业务员手机号', |           title: '邀请码', | ||||||
|           type: 'string', |           type: 'string', | ||||||
|           minLength: 1, |           minLength: 1, | ||||||
|           format: 'mobile', |           format: 'mobile', | ||||||
|           maxLength: 11, |           maxLength: 11, | ||||||
|           ui: { |           ui: { | ||||||
|             grid: { xxl: 13, xl: 18, lg: 24, md: 24 }, |             grid: { xxl: 13, xl: 18, lg: 24, md: 24 }, | ||||||
|             placeholder: '请输入推广业务员手机号', |             placeholder: '请输入邀请码', | ||||||
|             errors: { required: '请输入推广业务员手机号', format: '手机号格式错误' } |             errors: { required: '请输入邀请码', format: '手机号格式错误' } | ||||||
|           } |           } | ||||||
|         }, |         }, | ||||||
|         networkTransporter: { |         networkTransporter: { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user