edit
This commit is contained in:
@ -51,8 +51,6 @@ export class LayoutProMenuComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
});
|
||||
this.menus = res;
|
||||
console.log(res);
|
||||
|
||||
this.openStatus();
|
||||
}
|
||||
|
||||
|
||||
@ -24,9 +24,11 @@ export class RefundRecordComponent implements OnInit {
|
||||
refundStatus: any = '';
|
||||
|
||||
msg = '';
|
||||
|
||||
constructor(public service: FreightAccountService, private nzModalService: NzModalService, private router: Router) {}
|
||||
|
||||
ngOnInit(): void {}
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
beforeReq = (requestOptions: STRequestOptions) => {
|
||||
Object.assign(requestOptions.body, { refundStatus: this.refundStatus || null });
|
||||
@ -58,7 +60,7 @@ export class RefundRecordComponent implements OnInit {
|
||||
type: 'default',
|
||||
onClick: () => {
|
||||
if (!this.msg) {
|
||||
this.service.msgSrv.warning('请填写原因')
|
||||
this.service.msgSrv.warning('请填写原因');
|
||||
return false;
|
||||
}
|
||||
this.service
|
||||
|
||||
@ -99,6 +99,13 @@
|
||||
<ng-container *ngSwitchCase="10">
|
||||
<nz-switch [ngModel]="item.itemValue" style="margin-left: 26px;"></nz-switch>
|
||||
</ng-container>
|
||||
<!-- 下拉单选 -->
|
||||
<ng-container *ngSwitchCase="11">
|
||||
<nz-select [(ngModel)]="item.itemValue" style="width: 146px;margin-left: 31px;">
|
||||
<nz-option [nzValue]="re.value" [nzLabel]="re.label"
|
||||
*ngFor="let re of item.remark"></nz-option>
|
||||
</nz-select>
|
||||
</ng-container>
|
||||
<!-- 开关选项 -->
|
||||
<ng-container *ngSwitchCase="999">
|
||||
<ng-content select="custom-element"></ng-content>
|
||||
|
||||
Reference in New Issue
Block a user