|
|
@@ -196,6 +196,12 @@ class OrderMainService |
|
|
|
$subOrderDao = new OrderItemDao(); |
|
|
|
} |
|
|
|
$subOrderDao->delById($param['id']); |
|
|
|
//删除采购单 |
|
|
|
$purchaseDao = new PurchaseDao(); |
|
|
|
$purchaseDao->deleteBySubOrderId($param['id']); |
|
|
|
//删除每日采购单价格 |
|
|
|
$purchasePriceDao = new PurchasePriceDao(); |
|
|
|
$purchasePriceDao->deleteBySubOrderId($param['id']); |
|
|
|
return Util::returnArrSu(); |
|
|
|
}catch (Exception $e){ |
|
|
|
return Util::returnArrEr("删除子订单失败".$e->getMessage()); |
|
|
|