Browse Source

新增叫料标签打印模板

master_hella_20240701
chenfang 7 months ago
parent
commit
d9fd5f1b7b
  1. 3
      src/views/wms/basicDataManage/labelManage/callmaterials/index.vue

3
src/views/wms/basicDataManage/labelManage/callmaterials/index.vue

@ -239,6 +239,7 @@ const handleExport = async () => {
const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL
const src = ref(BASE_URL + '/jmreport/view/924811818898698240?token=' + getAccessToken())
const srcPoint = ref(BASE_URL + '/jmreport/view/940818992169918464?token=' + getAccessToken())
//
const handlePoint = async (row) => {
window.open(src.value+'&relateNumber='+row.id)
@ -252,7 +253,7 @@ const handleSelectionPoint = async ()=>{
console.log('批量打印',rows.join(','))
await PackageApi.batchPrintingLable(rows.join(',')).then(res => {
console.log(res)
window.open(src.value+'&relateNumber='+res)
window.open(srcPoint.value+'&relateNumber='+res)
message.success('创建标签成功')
}).catch(err => {
console.log(err)

Loading…
Cancel
Save