材料详情打印条形码

This commit is contained in:
2026-06-29 17:35:49 +08:00
parent 51b92d259c
commit bc80e297d5
17 changed files with 54681 additions and 328 deletions
+22
View File
@@ -1,3 +1,25 @@
// atob polyfill for WeChat mini programs (required by bwip-js for font/base64 decoding)
(function() {
var _chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='
var _atob = function(input) {
var str = String(input).replace(/[=]+$/, '')
var output = ''
var bc = 0, bs, buffer = 0, i = 0
for (; str.charAt(i | 0); i++) {
bs = _chars.indexOf(str.charAt(i))
buffer = (buffer << 6) | bs
bc += 6
if (bc >= 8) {
bc -= 8
output += String.fromCharCode((buffer >>> bc) & 255)
}
}
return output
}
try { globalThis.atob = globalThis.atob || _atob } catch(e) {}
try { global.atob = global.atob || _atob } catch(e) {}
})()
import App from './App'
// #ifndef VUE3