|
|
@ -141,15 +141,15 @@ const butttondata = (row,$index) => { |
|
|
|
const buttonTableClick = async (val, row) => { |
|
|
|
if (val == 'documentPrint') { |
|
|
|
// 单据打印 |
|
|
|
handleDocumentPrint(row.id,row.masterId) |
|
|
|
handleDocumentPrint(row.id) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 单据打印 |
|
|
|
const BASE_URL = getJmreportBaseUrl() |
|
|
|
const documentSrc = ref(BASE_URL + '/jmreport/view/920874172025987072?token=' + getAccessToken()) |
|
|
|
const handleDocumentPrint = async (id,masterId) => { |
|
|
|
window.open(documentSrc.value + '&id=' + id+ '&masterId=' + masterId) |
|
|
|
const handleDocumentPrint = async (id) => { |
|
|
|
window.open(documentSrc.value + '&id=' + id) |
|
|
|
} |
|
|
|
// 获取部门 用于详情 部门回显 |
|
|
|
const { wsCache } = useCache() |
|
|
|