已开发票参数修改

This commit is contained in:
weiyu
2022-04-28 19:00:20 +08:00
parent a95adb9299
commit ab6957990d
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import { AfterViewInit, ChangeDetectorRef, Component, OnInit, ViewChild } from '@angular/core'; import { Component, OnInit, ViewChild } from '@angular/core';
import { ActivatedRoute } from '@angular/router'; import { ActivatedRoute } from '@angular/router';
import { STColumn, STComponent, STRequestOptions } from '@delon/abc/st'; import { STColumn, STComponent, STRequestOptions } from '@delon/abc/st';
import { SFComponent, SFSchema } from '@delon/form'; import { SFComponent, SFSchema } from '@delon/form';

View File

@ -39,6 +39,7 @@ export class InvoicedListComponent implements OnInit {
ngOnInit(): void {} ngOnInit(): void {}
beforeReq = (requestOptions: STRequestOptions) => { beforeReq = (requestOptions: STRequestOptions) => {
Object.assign(requestOptions.body,{sts: '3'})
if (this.sf) { if (this.sf) {
Object.assign(requestOptions.body, { Object.assign(requestOptions.body, {
...this.sf.value, ...this.sf.value,
@ -48,7 +49,7 @@ export class InvoicedListComponent implements OnInit {
} }
}); });
} }
return requestOptions; return requestOptions ;
}; };
stChange(e: STChange): void { stChange(e: STChange): void {