Compare commits

...

2 Commits

View File

@ -968,7 +968,8 @@ class BeforehandOrderLogic extends BaseLogic
$v['store_name'] = $find['store_name'];
$v['mark'] = $find['after_sales'];
if (isset($params['type']) && $params['type'] == 2) {
$price = $v['cost'];
$price = $v['purchase'];
$v['total_price'] = bcmul($v['cost'], $v['nums'], 2);
$v['pay_price'] = bcmul($price, $v['nums'], 2);
} else {
if ($v['vip_price'] > 0) {