|
@@ -112,9 +112,11 @@ class DesktopDeviceJob implements ShouldQueue
|
|
|
if(! $status) return;
|
|
|
|
|
|
//组织数据
|
|
|
+ $total = 0;
|
|
|
$completion_orders_dtl = [];
|
|
|
$first = $data['content'][0]['dispatch_orders'];
|
|
|
foreach ($data['content'] as $value){
|
|
|
+ $total += $value['dispatch_num'];
|
|
|
$completion_orders_dtl[] = [
|
|
|
"item_num" => $value['item_num'],
|
|
|
"product_no" => $value['product_no'],
|
|
@@ -181,7 +183,8 @@ class DesktopDeviceJob implements ShouldQueue
|
|
|
"employee_id_show" => $first['employee_id_show'],
|
|
|
"tag" => $tag,
|
|
|
"completion_type" => 'COMPLETION_AFTER_QUALITY',
|
|
|
- "completion_type_show" => '完工扫码'
|
|
|
+ "completion_type_show" => '完工扫码',
|
|
|
+ "finished_num_total" => $total,
|
|
|
];
|
|
|
$post = [
|
|
|
"bizTypeEk" => "LOWCODE",
|