车辆对接
This commit is contained in:
@ -122,13 +122,34 @@ export class InvoiceRequestedComponent implements OnInit {
|
||||
type: 'default',
|
||||
label: '手工处理',
|
||||
onClick: () => {
|
||||
console.log('11111')
|
||||
const params = {
|
||||
ficoVatappBillVOList: this.selectedRows,
|
||||
// id: this.id
|
||||
}
|
||||
this.service.request(this.service.$api_get_applyBatchFicoVatinv, params).subscribe((res: any) => {
|
||||
console.log(res)
|
||||
if(res) {
|
||||
this.service.msgSrv.success('开票成功!')
|
||||
} else {
|
||||
this.service.msgSrv.error(res?.msg)
|
||||
}
|
||||
})
|
||||
modal.destroy();
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'primary',
|
||||
label: '自动开票',
|
||||
onClick: () => {
|
||||
const params = {
|
||||
ficoVatappBillVOList: this.selectedRows,
|
||||
// id: this.id
|
||||
}
|
||||
this.service.request(this.service.$api_get_applyBatchFicoVatinv, params).subscribe((res: any) => {
|
||||
console.log(res)
|
||||
})
|
||||
modal.destroy();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user