1. 调试erp

This commit is contained in:
李琦
2026-07-30 13:36:55 +08:00
parent fca11a4efd
commit 488adc1289

View File

@@ -120,12 +120,12 @@ class ErpController extends Controller
// 如果是商城处方订单 // 如果是商城处方订单
// 暂时默认使用11007诊所 // 暂时默认使用11007诊所
$erpData[$k]['userId'] = $defaultUserId; // $erpData[$k]['userId'] = $defaultUserId;
// if ($v['is_online'] == 3) { if ($v['is_online'] == 3 || $v['is_online'] == 2) {
// $erpData[$k]['userId'] = $defaultUserId; $erpData[$k]['userId'] = $defaultUserId;
// } else { } else {
// $erpData[$k]['userId'] = $v['store']['erp_id']; $erpData[$k]['userId'] = $v['store']['erp_id'];
// } }
$erpData[$k]['orderStatus'] = $v['status']; $erpData[$k]['orderStatus'] = $v['status'];
$erpData[$k]['totalAmount'] = $v['total_pay_price']; $erpData[$k]['totalAmount'] = $v['total_pay_price'];
// $erpData[$k]['deliveryAmount'] = $v['trans_expenses']; // $erpData[$k]['deliveryAmount'] = $v['trans_expenses'];