diff --git a/application/services/OrderDispatchService.php b/application/services/OrderDispatchService.php index 300c2d4..ecac62f 100644 --- a/application/services/OrderDispatchService.php +++ b/application/services/OrderDispatchService.php @@ -402,6 +402,7 @@ class OrderDispatchService extends BaseService $order->is_material_used = $params['is_material_used']; if ($order->is_material_used == 1) { // 材料成本 + $orderDispatch->material_cost = $params['material_cost']; $order->material_cost = $params['material_cost']; // 材料凭证图片组 $order->material_images = $this->removeStrCdnUrl($params['material_images']);