Explorar el Código

手持-盲收清点模式修复修改数量拼接字符串bug

zhaohuanhuan hace 1 año
padre
commit
29e07cac23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/inbound/blindCollection/task/index.vue

+ 1 - 1
src/views/inbound/blindCollection/task/index.vue

@@ -403,7 +403,7 @@ const setBarcodeCount=(count)=>{
   if(activeItem.value.index>=0){
     const item = localData.value.find(item => item.index === activeItem.value.index);
     if (item) {
-      item.qty = count;
+      item.qty = Number(count)
     }
     localStorage.setItem(`task_${taskInfo.value.code}`, JSON.stringify(localData.value));
   }else {