1. 调试erp
This commit is contained in:
@@ -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'];
|
||||||
|
|||||||
Reference in New Issue
Block a user