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