|
@ -64,7 +64,8 @@ export default function (businessType, type) { |
|
|
service = "invoice_service"; |
|
|
service = "invoice_service"; |
|
|
} |
|
|
} |
|
|
const queryUrl = `settleaccount/${service}/main-query`; |
|
|
const queryUrl = `settleaccount/${service}/main-query`; |
|
|
const exportUrl = `settleaccount/invoice_service/export-detail`; |
|
|
const exportUrl = `settleaccount/invoice_service/export`; |
|
|
|
|
|
const exportGroupUrl = `settleaccount/invoice_service/export-detail`; |
|
|
const invoiceUrl = `settleaccount/${service}/generate-invoice`; |
|
|
const invoiceUrl = `settleaccount/${service}/generate-invoice`; |
|
|
const receivedUrl = `settleaccount/${service}/received`; |
|
|
const receivedUrl = `settleaccount/${service}/received`; |
|
|
const rejectUrl = `settleaccount/${service}/reject`; |
|
|
const rejectUrl = `settleaccount/${service}/reject`; |
|
@ -73,6 +74,7 @@ export default function (businessType, type) { |
|
|
const importUrl = `settleaccount/${service}/excel-import`; |
|
|
const importUrl = `settleaccount/${service}/excel-import`; |
|
|
const queryMethod = "POST"; |
|
|
const queryMethod = "POST"; |
|
|
const exportMethod = "POST"; |
|
|
const exportMethod = "POST"; |
|
|
|
|
|
const exportGroupMethod = "POST"; |
|
|
const invoiceMethod = "POST"; |
|
|
const invoiceMethod = "POST"; |
|
|
const receivedMethod = "POST"; |
|
|
const receivedMethod = "POST"; |
|
|
const rejectMethod = "POST"; |
|
|
const rejectMethod = "POST"; |
|
@ -150,6 +152,7 @@ export default function (businessType, type) { |
|
|
}, |
|
|
}, |
|
|
edit: { |
|
|
edit: { |
|
|
exportUrl, |
|
|
exportUrl, |
|
|
|
|
|
exportGroupUrl, |
|
|
invoiceUrl, |
|
|
invoiceUrl, |
|
|
receivedUrl, |
|
|
receivedUrl, |
|
|
rejectUrl, |
|
|
rejectUrl, |
|
@ -157,6 +160,7 @@ export default function (businessType, type) { |
|
|
approvalUrl, |
|
|
approvalUrl, |
|
|
importUrl, |
|
|
importUrl, |
|
|
exportMethod, |
|
|
exportMethod, |
|
|
|
|
|
exportGroupMethod, |
|
|
invoiceMethod, |
|
|
invoiceMethod, |
|
|
receivedMethod, |
|
|
receivedMethod, |
|
|
rejectMethod, |
|
|
rejectMethod, |
|
|