Commit 33e79af6 by 杨树贤

Merge branch 'dev/ver/1.0.0' of http://git.ichunt.net/semour/semour_web into dev/ver/1.0.0

parents df41a31b ee6a6d09
Showing with 3 additions and 0 deletions
...@@ -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
......
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