|
@ -175,7 +175,8 @@ const handlerCreatePurchasereceiptRequest = async (number:string) => { |
|
|
|
|
|
|
|
|
// 单据打印 |
|
|
// 单据打印 |
|
|
const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL |
|
|
const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL |
|
|
const documentSrc = ref(BASE_URL + '/jmreport/view/884680688168280064?token=' + getAccessToken()) |
|
|
//const documentSrc = ref(BASE_URL + '/jmreport/view/884680688168280064?token=' + getAccessToken()) |
|
|
|
|
|
const documentSrc = ref(BASE_URL + '/jmreport/view/932556833517789184?token=' + getAccessToken()) |
|
|
const handleDocumentPrint = async (id) => { |
|
|
const handleDocumentPrint = async (id) => { |
|
|
window.open(documentSrc.value + '&id=' + id) |
|
|
window.open(documentSrc.value + '&id=' + id) |
|
|
} |
|
|
} |
|
|