|
|
@@ -509,8 +509,12 @@ const _setPickingDetail=(params,type)=>{
|
|
|
if (!allOperationTimeExist) {
|
|
|
onScan(3); // 如果有商品缺少拣货时间,直接调用 onScan(3)
|
|
|
} else {
|
|
|
- const numberExist = list.every(({ expectedQuantity, quantity }) => expectedQuantity == quantity && quantity!=0); // 检查数量是否匹配
|
|
|
- onScan(numberExist ? 2 : 3)
|
|
|
+ if(type==2){
|
|
|
+ const numberExist = list.every(({ expectedQuantity, quantity }) => expectedQuantity == quantity && quantity!=0); // 检查数量是否匹配
|
|
|
+ onScan(numberExist ? 2 : 3)
|
|
|
+ }else {
|
|
|
+ onScan(2)
|
|
|
+ }
|
|
|
}
|
|
|
if(type==1){
|
|
|
locationList.value[activeIndex.value].list.forEach(items=>{
|