更新
This commit is contained in:
parent
e091293cec
commit
b70235acee
@ -311,7 +311,7 @@ class StoreOrderRepository extends BaseRepository
|
||||
'financial_record_sn' => $financeSn . ($i++)
|
||||
];
|
||||
|
||||
if($order->source==103 && $order->activity_type==0){
|
||||
if($order->source==103){
|
||||
$_payPrice = $order->procure_price;
|
||||
//计算手续费
|
||||
$_order_rate=bcsub($order->pay_price,$_payPrice,2);
|
||||
@ -550,11 +550,16 @@ class StoreOrderRepository extends BaseRepository
|
||||
return $cart['activeSku']['active_price'];
|
||||
// 更新调货价格
|
||||
} else if ($cart['product_type'] == '98') {
|
||||
if (in_array($cart['source'],[9,10,11,12,13])) {
|
||||
if($type==1){
|
||||
return $cart['productAttr']['procure_price'];
|
||||
} else {
|
||||
return $cart['productAttr']['price'];
|
||||
}else{
|
||||
if (in_array($cart['source'],[9,10,11,12,13])) {
|
||||
return $cart['productAttr']['procure_price'];
|
||||
} else {
|
||||
return $cart['productAttr']['price'];
|
||||
}
|
||||
}
|
||||
|
||||
// 更新委托价格
|
||||
} else if ($cart['product_type'] == '99') {
|
||||
if ($cart['source_id'] > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user