Browse Source

采购退货积木报表修改

linshi20240813
parent
commit
b9c8130f77
  1. 6
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/index.vue

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

@ -140,15 +140,15 @@ const butttondata = (row,$index) => {
const buttonTableClick = async (val, row) => { const buttonTableClick = async (val, row) => {
if (val == 'documentPrint') { if (val == 'documentPrint') {
// //
handleDocumentPrint(row.masterId) handleDocumentPrint(row.id,row.masterId)
} }
} }
// //
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) => { const handleDocumentPrint = async (id,masterId) => {
window.open(documentSrc.value + '&id=' + id) window.open(documentSrc.value + '&id=' + id+ '&masterId=' + masterId)
} }
// //
const { wsCache } = useCache() const { wsCache } = useCache()

Loading…
Cancel
Save