Browse Source

采购退货报表打印修改

hella_online_20240815
parent
commit
7c4a4c5439
  1. 6
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/index.vue

6
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/index.vue

@ -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()

Loading…
Cancel
Save