This commit is contained in:
wangshiming
2022-02-22 15:06:41 +08:00
parent 78273efc25
commit a95fc633c5
3 changed files with 7 additions and 9 deletions

View File

@ -451,7 +451,7 @@ resourceStatus: any;
{
text: '申请退款 ',
click: (_record) => this.applyRefund(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3',
iif: item => item.isApplyForRefund,
acl: { ability: ['ORDER-VEHICLE-modificationOrder'] },
},
{

View File

@ -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>

View File

@ -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);
}
}
});
}