fix bug
This commit is contained in:
		| @ -4,7 +4,7 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-02-22 13:53:29 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-02-22 14:25:40 | ||||
|  * @LastEditTime : 2022-02-22 15:03:49 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\cancel-confirm\\cancel-confirm.component.html | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
| --> | ||||
| @ -28,7 +28,7 @@ | ||||
|   </sv> | ||||
|   <sv label=""> 已选择 {{ index }} 项,运费:{{ List }},附加费:{{ ATTPrice }} </sv> | ||||
| </sv-container> | ||||
| <sf #sf mode="edit" [schema]="schema" [ui]="ui" button="none"></sf> | ||||
| <sf style="margin-top: 10px;" #sf mode="edit" [schema]="schema" [ui]="ui" button="none"></sf> | ||||
|  | ||||
| <div class="modal-footer"> | ||||
|   <button nz-button type="button" (click)="close()">取消</button> | ||||
|  | ||||
| @ -4,7 +4,7 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-02-22 13:53:29 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-02-22 14:46:06 | ||||
|  * @LastEditTime : 2022-02-22 15:04:58 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\cancel-confirm\\cancel-confirm.component.ts | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
|  */ | ||||
| @ -62,11 +62,11 @@ export class OneCarOrderCancelConfirmComponent implements OnInit { | ||||
|           } as SFTextareaWidgetSchema | ||||
|         }, | ||||
|       }, | ||||
|       require: ['reason'] | ||||
|       required: ['reason'] | ||||
|     }; | ||||
|     this.ui = { | ||||
|       '*': { | ||||
|         spanLabelFixed: 50, | ||||
|         spanLabelFixed: 60, | ||||
|         grid: { span: 20 } | ||||
|       } | ||||
|     }; | ||||
| @ -103,9 +103,7 @@ export class OneCarOrderCancelConfirmComponent implements OnInit { | ||||
|       if (res) { | ||||
|         this.service.msgSrv.success('操作成功!'); | ||||
|         this.modalRef.close(true); | ||||
|       } else { | ||||
|         this.service.msgSrv.error(res.msg); | ||||
|       } | ||||
|       }  | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user