Selaa lähdekoodia

Merge branch 'master-new-wgg' of wugg/phpstock into master-new_order_out_child

wugg 2 vuotta sitten
vanhempi
commit
c76332a6c8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/admin/controller/Sale.php

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

@@ -378,7 +378,7 @@ class Sale extends Base
                                 throw new Exception("发货地址添加创建失败");
 //                                return error_show(1002, "发货地址添加创建失败");
                             } else {
-                            	OrderOutChild::makeChild($outCode);
+                           if ($is_stock == 1)OrderOutChild::makeChild($outCode);
                                 //修改状态,添加待办
                                 ActionLog::logAdd(['id'=>$rm,'nickname'=>$ri], [
                                     "order_code" => $outCode,//出库单号