diff --git a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.ts b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.ts index 309567b0..6b00085b 100644 --- a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.ts +++ b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested.component.ts @@ -212,7 +212,14 @@ export class InvoiceRequestedComponent { label: '手工处理', onClick: () => { const params = { - ficoVatappBillVOList: this.selectedRows + ficoVatappBillVOList: this.selectedRows.map(item => { + const i = Object.assign({}, { ...item }); + delete i._values; + delete i._rowClassName; + delete i.checked; + delete i.disabled; + return i; + }) // id: this.id }; this.service.request(this.service.$api_get_applyBatchFicoVatinv, params).subscribe((res: any) => { @@ -229,7 +236,14 @@ export class InvoiceRequestedComponent { label: '自动开票', onClick: () => { const params = { - ficoVatappBillVOList: this.selectedRows + ficoVatappBillVOList: this.selectedRows.map(item => { + const i = Object.assign({}, { ...item }); + delete i._values; + delete i._rowClassName; + delete i.checked; + delete i.disabled; + return i; + }) // id: this.id }; this.service.request(this.service.$api_get_applyBatchFicoVatinv, params).subscribe((res: any) => { diff --git a/src/app/shared/components/amap/amap.service.ts b/src/app/shared/components/amap/amap.service.ts index 472d0164..f23f503d 100644 --- a/src/app/shared/components/amap/amap.service.ts +++ b/src/app/shared/components/amap/amap.service.ts @@ -74,7 +74,7 @@ export class AmapService { if (status == 'complete') { this.currentSub.next(result); } else { - console.log('定位获取失败'); + console.log('定位获取失败', result); } }); });