Просмотр исходного кода

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

zhaohuanhuan 1 год назад
Родитель
Сommit
29e07cac23
1 измененных файлов с 1 добавлено и 1 удалено
  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 {