wufeng 2 rokov pred
rodič
commit
aecba8f705

+ 4 - 2
app/command/ImportOrderFromCHandleData.php

@@ -342,7 +342,8 @@ class ImportOrderFromCHandleData extends Command
                                     "order_type" => 'CKD',
                                     "order_code" => $outCode,//出库单号
                                     "order_id" => 0,
-                                    "order_status" => 0,"before_status" => 0
+                                    "order_status" => 0,
+                                    "before_status" => 0
                                 ]);
                             }
                         } else throw new Exception('发货地址添加失败');
@@ -476,7 +477,8 @@ class ImportOrderFromCHandleData extends Command
                 "order_type" => 'CGD',
                 "order_code" => $cg['cgdNo'],//销售单code
                 "order_id" => $up,
-                "order_status" => $cg['status']
+                "order_status" => $cg['status'],
+                "before_status" => 0
             ]);
 
             $rela = [