瀏覽代碼

出标机

cqpCow 11 月之前
父節點
當前提交
118bef3269
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      app/Jobs/LabelDealJob.php

+ 1 - 2
app/Jobs/LabelDealJob.php

@@ -48,8 +48,7 @@ class LabelDealJob implements ShouldQueue
         $return = [];
         foreach ($data['lead_out']['brand_out_stock_list'] as $value){
             $tmp = $value['brand_out_stock_dtl'];
-            $return[] = [
-                'box_code' => $value['send_box_code'],
+            $return[$value['send_box_code']] = [
                 'fake_qty' => $tmp['fake_qty'],
                 'detail' => explode(',',$tmp['brand_qr_code_list'])
             ];