2
0

2 Коммитууд 906b15f3f9 ... b4e2911948

Эзэн SHA1 Мессеж Огноо
  zh b4e2911948 Merge remote-tracking branch 'origin/testing' into testing 3 сар өмнө
  zh 3408287b93 库位合并 3 сар өмнө

+ 4 - 3
src/views/robot/merge/index.vue

@@ -1132,7 +1132,7 @@ const submitMove = () => {
     showToast('请输入有效的移库数量')
     return
   }
-  if (Number(productInfo.actualMoveQty) >= Number(productInfo.moveQty)) {
+  if (Number(productInfo.actualMoveQty) > Number(productInfo.moveQty)) {
     scanError()
     showToast('移库数量不能大于可移库数量')
     return
@@ -1143,13 +1143,14 @@ const submitMove = () => {
     message: `${productInfo.barcode}从"${sourceLocation.value}"移动至"${productInfo.targetLocationNew}"共:${productInfo.actualMoveQty}件`
   })
     .then(() => {
-      const { traceId, lotNum, ownerCode, owner, sku } = currentInventoryData.value || {}
+      const { traceId, lotNumber, ownerCode, owner, sku } = currentInventoryData.value || {}
+      console.log(currentInventoryData.value)
       const data = {
         fmLocation: sourceLocation.value,
         fmContainer: traceId || boxCode.value,
         owner: ownerCode || owner || '',
         sku: sku || productInfo.barcode,
-        lotNum: lotNum,
+        lotNum: lotNumber,
         warehouse,
         quantity: Number(productInfo.actualMoveQty),
         toLocation: productInfo.targetLocationNew