edit
This commit is contained in:
@ -65,7 +65,7 @@
|
|||||||
<p style="margin: 0;">开户行: {{openInfo?.artobank}}</p>
|
<p style="margin: 0;">开户行: {{openInfo?.artobank}}</p>
|
||||||
</se>
|
</se>
|
||||||
<se [col]="1" label="服务名称" class="mb-sm">
|
<se [col]="1" label="服务名称" class="mb-sm">
|
||||||
{{openInfo?.vatnameLable}}
|
{{openInfo?.vatnameLabel}}
|
||||||
</se>
|
</se>
|
||||||
<se [col]="1" label="发票备注栏" class="mb-sm">
|
<se [col]="1" label="发票备注栏" class="mb-sm">
|
||||||
{{openInfo?.vatremarks}}
|
{{openInfo?.vatremarks}}
|
||||||
|
|||||||
@ -50,6 +50,8 @@ export class InvoiceRequestedDetailComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
beforeReq = (requestOptions: STRequestOptions) => {
|
beforeReq = (requestOptions: STRequestOptions) => {
|
||||||
|
this.totalCallNo = '0';
|
||||||
|
this.selectedRows = [];
|
||||||
Object.assign(requestOptions.body, { vatappHId: this.id });
|
Object.assign(requestOptions.body, { vatappHId: this.id });
|
||||||
if (this.sf) {
|
if (this.sf) {
|
||||||
Object.assign(requestOptions.body, { ...this.sf.value });
|
Object.assign(requestOptions.body, { ...this.sf.value });
|
||||||
@ -58,7 +60,7 @@ export class InvoiceRequestedDetailComponent implements OnInit {
|
|||||||
};
|
};
|
||||||
|
|
||||||
afterRes = (data: any[], rawData?: any) => {
|
afterRes = (data: any[], rawData?: any) => {
|
||||||
this.totalCallNo = data.reduce((total, cv) => total + cv.billkpmoney, 0).toFixed(2);
|
// this.totalCallNo = data.reduce((total, cv) => total + cv.billkpmoney, 0).toFixed(2);
|
||||||
return data.map(item => ({
|
return data.map(item => ({
|
||||||
...item
|
...item
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user