|
@@ -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,//出库单号
|