1. 调试erp
This commit is contained in:
@@ -120,12 +120,12 @@ class ErpController extends Controller
|
||||
// 如果是商城处方订单
|
||||
|
||||
// 暂时默认使用11007诊所
|
||||
$erpData[$k]['userId'] = $defaultUserId;
|
||||
// if ($v['is_online'] == 3) {
|
||||
// $erpData[$k]['userId'] = $defaultUserId;
|
||||
// } else {
|
||||
// $erpData[$k]['userId'] = $v['store']['erp_id'];
|
||||
// }
|
||||
if ($v['is_online'] == 3 || $v['is_online'] == 2) {
|
||||
$erpData[$k]['userId'] = $defaultUserId;
|
||||
} else {
|
||||
$erpData[$k]['userId'] = $v['store']['erp_id'];
|
||||
}
|
||||
$erpData[$k]['orderStatus'] = $v['status'];
|
||||
$erpData[$k]['totalAmount'] = $v['total_pay_price'];
|
||||
// $erpData[$k]['deliveryAmount'] = $v['trans_expenses'];
|
||||
|
||||
Reference in New Issue
Block a user