Compare commits

...

2 Commits

Author SHA1 Message Date
mkm
d3c4bf923f Merge pull request '修改预订单高级会员导出' (#4) from dev into main
Reviewed-on: #4
2025-04-03 11:40:30 +08:00
b55503650c 修改预订单高级会员导出 2025-04-03 11:40:07 +08:00

View File

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