Преглед изворни кода

组合商品-收货数不限制

zhaohuanhuan пре 2 дана
родитељ
комит
74a2c119d5
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      src/views/inbound/takeDelivery/components/BarcodeCombine.vue

+ 4 - 4
src/views/inbound/takeDelivery/components/BarcodeCombine.vue

@@ -64,10 +64,10 @@ const beforeClose = (action) =>
         showToast('请输入标准收货数量')
         showToast('请输入标准收货数量')
         return resolve(false)
         return resolve(false)
       }
       }
-      if (Number(count.value) > maxCount.value) {
-        showToast({ duration: 3000, message: '收货数量不能大于应收数量' })
-        return resolve(false)
-      }
+      // if (Number(count.value) > maxCount.value) {
+      //   showToast({ duration: 3000, message: '收货数量不能大于应收数量' })
+      //   return resolve(false)
+      // }
       const dataList = dataResult(matchedSkuList.value)
       const dataList = dataResult(matchedSkuList.value)
       emit('setCombine', { dataList, count: Number(count.value) })
       emit('setCombine', { dataList, count: Number(count.value) })
     } else {
     } else {