|
@@ -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'],
|