feat:物料试剂

This commit is contained in:
houjunxiang
2026-03-27 17:32:11 +08:00
parent 904d1c4ea4
commit 0df3be4057
10 changed files with 416 additions and 4 deletions

View File

@@ -81,7 +81,8 @@ const debouncedHandleScan = debounce(val => {
scanQRInfo.value = ''
if (nx.$router.getCurrentPage().route !== 'pages/material/useRecord/index') return
try {
materialCode.value = val
const {code} = JSON.parse(val)
materialCode.value = code
getMaterialInfo()
} catch (error) {
uni.showToast({