Przeglądaj źródła

手持-盲收-清点模式增加扫描时间

zhaohuanhuan 9 miesięcy temu
rodzic
commit
79855aed60
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      src/views/inbound/blindCollection/task/index.vue

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

@@ -171,6 +171,7 @@ import { barcodeIsData } from '@/views/inbound/blindCollection/task/hooks/barcod
 import { closeLoading, showLoading } from '@/utils/loading'
 import { binData } from '@/views/inbound/blindCollection/task/hooks/binData'
 import { closeListener, openListener, scanInit } from '@/utils/keydownListener'
+import { formatDateTime } from '@/utils/date'
 const route = useRoute()
 //箱号
 const boxNo = ref('')
@@ -352,7 +353,8 @@ const setLocalData=(barCode,type,dataType)=>{
     dataType,
     cartonCode: null,
     index:localData.value.length,
-    qty:1
+    qty:1,
+    operateStartTime:formatDateTime(new Date())
   };
   const existingItem = localData.value.find(item => item.barcode === barCode);
   if (existingItem) {