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