diff --git a/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue b/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue index fe956356e..e8501a0fe 100644 --- a/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue +++ b/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue @@ -227,7 +227,7 @@ const handleExport = async () => { } } -const BASE_URL = import.meta.env.VITE_BASE_URL +const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL const src = ref(BASE_URL + '/jmreport/view/894718245021065216?token=' + getAccessToken()) // 标签打印 const handlePoint = async (id) => { diff --git a/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue b/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue index b21412d67..63f4b5dc9 100644 --- a/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue +++ b/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue @@ -182,7 +182,7 @@ const buttonTableClick = async (val, row) => { } else if (val == 'delete') { // 删除 handleDelete(row.id) } else if (val == 'point') { // 标签打印 - handlePoint(row.id) + handlePoint(row) } } @@ -227,11 +227,11 @@ const handleExport = async () => { } } -const BASE_URL = import.meta.env.VITE_BASE_URL +const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL const src = ref(BASE_URL + '/jmreport/view/894703223549108224?token=' + getAccessToken()) // 标签打印 -const handlePoint = async (id) => { - window.open(src.value+'&id='+id) +const handlePoint = async (row) => { + window.open(src.value+'&id='+row.id) } /** 导入 */ diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/index.vue index b83e5688f..92e479803 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/index.vue @@ -227,7 +227,7 @@ const handleExport = async () => { } } -const BASE_URL = import.meta.env.VITE_BASE_URL +const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL const src = ref(BASE_URL + '/jmreport/view/894703223549108224?token=' + getAccessToken()) // 标签打印 const handlePoint = async (id) => { diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index 2ec1d8101..68cfb897c 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -1,110 +1,110 @@ - - - diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/point.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/point.vue index 4ac3eee67..243ab9033 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/point.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/point.vue @@ -1,7 +1,8 @@ - 关闭 - 生成标签 - - 打印 + +