Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
33e79af6
authored
Nov 21, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'dev/ver/1.0.0' of
http://git.ichunt.net/semour/semour_web
into dev/ver/1.0.0
parents
df41a31b
ee6a6d09
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
app/Http/Services/CartService.php
app/Http/Services/CartService.php
View file @
33e79af6
...
...
@@ -177,6 +177,7 @@ class CartService
continue
;
}
//格式化数据
$skuInfo
=
self
::
dullDataInfo
(
$skuInfo
);
$cartList
[]
=
[
...
...
@@ -185,6 +186,8 @@ class CartService
"supplier_id"
=>
$skuInfo
[
"supplier_id"
],
//供应商id
"supplier_name"
=>
$skuInfo
[
"supplier_name"
],
//供应商id
"buy_number"
=>
$temp
[
"buy_number"
],
//购买数量
"buy_price"
=>
$buy_price
,
//购买单价
"ext_price"
=>
round
(
$buy_price
*
$temp
[
"buy_number"
],
2
),
//小计
"encap"
=>
$skuInfo
[
"encap"
],
//标准包装数
"pdf"
=>
$skuInfo
[
"pdf"
],
//型号pdf
"brand_id"
=>
$skuInfo
[
"brand_id"
],
//品牌id
...
...
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