|
@@ -581,7 +581,8 @@ class BoxService extends Service
|
|
|
if(! empty($product_list)){
|
|
|
$product_key_num_list = [];
|
|
|
foreach ($product_list as $v){
|
|
|
- if($v['production_quantity'] == $v['box_num']) continue;
|
|
|
+ //下派工数量 就是 能包的数量 相等以后 踢掉数据
|
|
|
+ if($v['dispatch_complete_quantity'] == $v['box_num']) continue;
|
|
|
if(!isset($product_key_num_list[$v['sale_orders_product_id']][$v['id']])) {
|
|
|
$product_key_num_list[$v['sale_orders_product_id']][$v['id']] = [
|
|
|
'product_num' => 0 ,
|