feat:物料试剂
This commit is contained in:
@@ -63,7 +63,8 @@ const debouncedHandleScan = debounce(val => {
|
||||
scanQRInfo.value = ''
|
||||
if (nx.$router.getCurrentPage().route !== 'pages/material/openMark/index') return
|
||||
try {
|
||||
materialCode.value = val
|
||||
const {code} = JSON.parse(val)
|
||||
materialCode.value = code
|
||||
getMaterialList()
|
||||
} catch (error) {
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user