edit
This commit is contained in:
@ -20,7 +20,7 @@ module.exports = {
|
||||
// }
|
||||
'//api': {
|
||||
target: {
|
||||
host: 'tms-api-dev.eascs.com',
|
||||
host: 'tms-api-test.eascs.com',
|
||||
protocol: 'https:',
|
||||
port: 443
|
||||
},
|
||||
|
||||
@ -90,7 +90,7 @@ export class InvoiceRequestedComponent {
|
||||
return false;
|
||||
}
|
||||
let ids = item.map(row => row.id);
|
||||
this.service.request(this.service.$api_reject_invoice, ids).subscribe(res => {
|
||||
this.service.request(this.service.$api_reject_invoice, { id: ids, rejectContent: this.rejectReason }).subscribe(res => {
|
||||
if (res) {
|
||||
this.service.msgSrv.success('驳回成功');
|
||||
modal.destroy(true);
|
||||
@ -133,7 +133,7 @@ export class InvoiceRequestedComponent {
|
||||
this.service
|
||||
.request(this.service.$api_update_invoice_address, {
|
||||
...component.sf.value,
|
||||
|
||||
id: item.map(i => i.id)
|
||||
})
|
||||
.subscribe(res => {
|
||||
if (res) {
|
||||
|
||||
Reference in New Issue
Block a user