feat:样品库管理

This commit is contained in:
houjunxiang
2025-11-19 11:02:11 +08:00
parent 06210e79fd
commit 0494d224be
33 changed files with 1282 additions and 673 deletions

View File

@@ -4,7 +4,7 @@ import { onLaunch, onShow, onError } from '@dcloudio/uni-app'
import { NxInit } from './nx'
import $store from '@/nx/store'
// #ifdef APP-PLUS
import * as chainway from '@/uni_modules/zzjc-chainway-p100'
import * as urovo from '@/uni_modules/zzjc-urovo'
// #endif
onLaunch(async () => {
// 加载nx底层依赖
@@ -15,9 +15,8 @@ onLaunch(async () => {
if (brand === 'chainway') {
plus.screen.lockOrientation('landscape')
}
chainway.scanRegister(data => {
console.log('扫码结果:' + data)
urovo.scanRegister(data => {
console.log('优博讯扫码结果:' + data)
$store('biz').scanQRInfo = data
})
// #endif