feat:物料试剂
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user