Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-rpc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-rpc
Commits
6eccf4c0
Commit
6eccf4c0
authored
Dec 21, 2022
by
秦俊坤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增获取单价方法
parent
2a4a3bce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
StockUpServiceInterface.php
src/Service/Interfaces/Order/StockUpServiceInterface.php
+8
-0
SubOrderServiceInterface.php
src/Service/Interfaces/Order/SubOrderServiceInterface.php
+22
-0
No files found.
src/Service/Interfaces/Order/StockUpServiceInterface.php
View file @
6eccf4c0
...
...
@@ -24,4 +24,12 @@ interface StockUpServiceInterface
* @return array
*/
public
function
getStockUpInfoByOrderNo
(
$sourceNo
)
:
array
;
/**
* 获取礼服备货单价
* @param $orderNo
* @param $productId
* @return mixed
*/
public
function
getDressStockUnitPrice
(
$orderNo
,
$productId
);
}
src/Service/Interfaces/Order/SubOrderServiceInterface.php
View file @
6eccf4c0
...
...
@@ -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
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment