Browse Source

细节优化

wufeng 2 years ago
parent
commit
6dd04e7ed5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/ReorderChild.php

+ 1 - 1
app/admin/controller/ReorderChild.php

@@ -71,7 +71,7 @@ class ReorderChild extends Base
                     'orderCode' => $saleReturn['orderCode'],
                     'returnCode' => $param['returnCode'],
                     'outCode' => $param['type'] == 2 ? $orderOutChild[$value['outChildCode']]['outCode'] : '',
-                    'outChildCode' => $value['outChildCode'],
+                    'outChildCode' => $value['outChildCode'] ?? '',
                     'order_out_child_status' => $param['type'] == 2 ? $orderOutChild[$value['outChildCode']]['status'] : '',
                     'saleReturnChildCode' => substr(makeNo('KCC'), 0, -2) . str_pad($i++, 2, '0', STR_PAD_LEFT),
                     'type' => $param['type'],