|
|
|
@ -72,6 +72,7 @@
|
|
|
|
import { defaultElementTypeProvider, hiprint } from 'vue-plugin-hiprint'
|
|
|
|
import { defaultElementTypeProvider, hiprint } from 'vue-plugin-hiprint'
|
|
|
|
import { PrintTemplateApi } from '@/api/mes/printtemplate'
|
|
|
|
import { PrintTemplateApi } from '@/api/mes/printtemplate'
|
|
|
|
import { getSimpleDictDataList } from '@/api/system/dict/dict.data'
|
|
|
|
import { getSimpleDictDataList } from '@/api/system/dict/dict.data'
|
|
|
|
|
|
|
|
import qrCodeImg from '@/assets/imgs/qrCode.png'
|
|
|
|
|
|
|
|
|
|
|
|
const { t } = useI18n()
|
|
|
|
const { t } = useI18n()
|
|
|
|
const message = useMessage()
|
|
|
|
const message = useMessage()
|
|
|
|
@ -125,8 +126,8 @@ const barcodeProvider = function () {
|
|
|
|
type: 'image',
|
|
|
|
type: 'image',
|
|
|
|
options: {
|
|
|
|
options: {
|
|
|
|
field: qrcodeField,
|
|
|
|
field: qrcodeField,
|
|
|
|
src: 'https://p119-minio-upload.ngsk.tech:7001/besure/productmaterial/qr/2026-04-17/295.png',
|
|
|
|
src: qrCodeImg,
|
|
|
|
testData: 'https://p119-minio-upload.ngsk.tech:7001/besure/productmaterial/qr/2026-04-17/295.png',
|
|
|
|
testData: qrCodeImg,
|
|
|
|
width: 80,
|
|
|
|
width: 80,
|
|
|
|
height: 80,
|
|
|
|
height: 80,
|
|
|
|
title: `${item.label}<br/>二维码`
|
|
|
|
title: `${item.label}<br/>二维码`
|
|
|
|
@ -165,8 +166,8 @@ const qrcodeProvider = function () {
|
|
|
|
type: 'image',
|
|
|
|
type: 'image',
|
|
|
|
options: {
|
|
|
|
options: {
|
|
|
|
field: '',
|
|
|
|
field: '',
|
|
|
|
src: 'https://p119-minio-upload.ngsk.tech:7001/besure/productmaterial/qr/2026-04-17/295.png',
|
|
|
|
src: qrCodeImg,
|
|
|
|
testData: 'https://p119-minio-upload.ngsk.tech:7001/besure/productmaterial/qr/2026-04-17/295.png',
|
|
|
|
testData: qrCodeImg,
|
|
|
|
width: 80,
|
|
|
|
width: 80,
|
|
|
|
height: 80,
|
|
|
|
height: 80,
|
|
|
|
title: '二维码'
|
|
|
|
title: '二维码'
|
|
|
|
|