|
@@ -50,7 +50,7 @@ class OrderInfo extends Model
|
|
|
$orderInfo['amount_install']=$goods['amount_install'];
|
|
|
$orderInfo['amount']=$goods['sku']['amount'];
|
|
|
$orderInfo['amount_kill']=$goods['sku']['amount_kill'];
|
|
|
- $orderInfo['amount_cost']=$goods['sku']['amount_cost'];
|
|
|
+ $orderInfo['amount_cost']=bcmul($orderInfo['num'],$goods['sku']['amount_cost']);
|
|
|
$orderInfo['goods_bak_id']=$orderInfoGoods['id'];
|
|
|
$orderInfo['amount_goods']=$goods['amount_goods'];
|
|
|
$orderInfo['amount_goods_real']=$goods['amount_goods_real'];
|