Browse Source

库位标签

master_hella_20240701
zhaoyiran 6 months ago
parent
commit
b3028383fe
  1. 6
      src/views/wms/basicDataManage/labelManage/locationLabel/index.vue

6
src/views/wms/basicDataManage/labelManage/locationLabel/index.vue

@ -187,17 +187,17 @@ const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL
const src = ref(BASE_URL + '/jmreport/view/929174607016689664?token=' + getAccessToken()) const src = ref(BASE_URL + '/jmreport/view/929174607016689664?token=' + getAccessToken())
// //
const handlePoint = async (row) => { const handlePoint = async (row) => {
window.open(src.value+'&id='+row.id) window.open(src.value+'&relateNumber='+row.id)
} }
const srcPoint = ref(BASE_URL + '/jmreport/view/953469704945139712?token=' + getAccessToken()) // const srcPoint = ref(BASE_URL + '/jmreport/view/929174607016689664?token=' + getAccessToken())
const handleSelectionPoint = async ()=>{ const handleSelectionPoint = async ()=>{
let rows:any = [] let rows:any = []
selectionRows.value.forEach(item=>{ selectionRows.value.forEach(item=>{
rows = [...rows,...item.selectionRows.map(item1=>item1.id)] rows = [...rows,...item.selectionRows.map(item1=>item1.id)]
}) })
console.log('批量打印',rows.join(',')) console.log('批量打印',rows.join(','))
window.open(srcPoint.value+'&relateNumber='+rows.join(',')) window.open(src.value+'&relateNumber='+rows.join(','))
} }
// //

Loading…
Cancel
Save