Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

semour / semour_web

  • This project
    • Loading...
  • Sign in
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 2 years ago by 杨树贤's avatar 杨树贤
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
Hide whitespace changes
Inline Side-by-side
Showing 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 ...@@ -177,6 +177,7 @@ class CartService
continue; continue;
} }
//格式化数据 //格式化数据
$skuInfo = self::dullDataInfo($skuInfo); $skuInfo = self::dullDataInfo($skuInfo);
$cartList[] = [ $cartList[] = [
...@@ -185,6 +186,8 @@ class CartService ...@@ -185,6 +186,8 @@ class CartService
"supplier_id"=>$skuInfo["supplier_id"], //供应商id "supplier_id"=>$skuInfo["supplier_id"], //供应商id
"supplier_name"=>$skuInfo["supplier_name"], //供应商id "supplier_name"=>$skuInfo["supplier_name"], //供应商id
"buy_number"=>$temp["buy_number"], //购买数量 "buy_number"=>$temp["buy_number"], //购买数量
"buy_price"=>$buy_price, //购买单价
"ext_price"=>round($buy_price*$temp["buy_number"],2), //小计
"encap"=>$skuInfo["encap"], //标准包装数 "encap"=>$skuInfo["encap"], //标准包装数
"pdf"=>$skuInfo["pdf"], //型号pdf "pdf"=>$skuInfo["pdf"], //型号pdf
"brand_id"=>$skuInfo["brand_id"], //品牌id "brand_id"=>$skuInfo["brand_id"], //品牌id
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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 sign in to comment