Commit 6eccf4c0 authored by 秦俊坤's avatar 秦俊坤

新增获取单价方法

parent 2a4a3bce
......@@ -24,4 +24,12 @@ interface StockUpServiceInterface
* @return array
*/
public function getStockUpInfoByOrderNo($sourceNo): array;
/**
* 获取礼服备货单价
* @param $orderNo
* @param $productId
* @return mixed
*/
public function getDressStockUnitPrice($orderNo, $productId);
}
......@@ -136,4 +136,26 @@ interface SubOrderServiceInterface
*/
public function getSubOrderInfoByNo(array $subOrderNos = [], array $column = ['sub_order_no','shipping_notes','dispatch_notes','product_specification']): array;
/**
* 获取手动采购对应的成本单价(总成本 + 运费) / 对应的数量
* @param $subOrderNo
* @return mixed
*/
public function getManualPurchaseUnitPriceBySubOrderNo($subOrderNo);
/**
* 获取【订单中心-采购入库】对应的成本单价
* @param $subOrderNo
* @return mixed
*/
public function getOrderPurchaseUnitPrice($subOrderNo);
/**
* 获取销售退回单价
* 这里的 orderNo 有可能是主订单的 order_no, 也有可能是子订单的 sub_order_no, 先从
* @param $orderNo
* @param $productId
* @return mixed
*/
public function getSalesReturnUnitPrice($orderNo, $productId);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment