Merge pull request 'fix(app): 修复预售订单导出逻辑' (#432) from dev into main
Reviewed-on: https://gitea.lihaink.cn/mkm/multi-store/pulls/432
This commit is contained in:
commit
f60da981f9
@ -737,7 +737,7 @@ class BeforehandOrderLogic extends BaseLogic
|
||||
$find = WarehouseOrder::where('id', $order['outbound_id'])->find();
|
||||
$order['order_id'] = $find['code'];
|
||||
$order['pay_price'] = $find['total_price'];
|
||||
if ($params['type'] == 3) {
|
||||
if (!empty($params['type']) &&$params['type'] == 3) {
|
||||
$file_path = $order_info->exportWithoutPrice($data, $order, $other_data);
|
||||
} else {
|
||||
$file_path = $order_info->export($data, $order, $other_data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user