Commit 9fb86b7c by Joneq

修改卡板判断

parent 90f1aced
Showing with 10 additions and 2 deletions
......@@ -443,11 +443,19 @@ class PickTaskLogic
$key = $value['pallet_id'].'_'.$value['box_id'].'_'.$value['goods_id'];
if (isset($pickTaskRemarkData[$key])){
$pickTaskRemarkData[$key]['number'] = bcadd($pickTaskRemarkData[$key]['number'],$value['number']);
$palletNum[$value['pallet_id']] = bcadd($palletNum[$value['pallet_id']],$value['number']);
$boxNum[$value['box_id']] = bcadd($boxNum[$value['box_id']],$value['number']);
}else{
$pickTaskRemarkData[$key]['number'] = $value['number'];
}
if(isset($palletNum[$value['pallet_id']])){
$palletNum[$value['pallet_id']] = bcadd($palletNum[$value['pallet_id']],$value['number']);
}else{
$palletNum[$value['pallet_id']] = $value['number'];
}
if(isset($boxNum[$value['box_id']])){
$boxNum[$value['box_id']] = bcadd($boxNum[$value['box_id']],$value['number']);
}else{
$boxNum[$value['box_id']] = $value['number'];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment