更新待结算状态
This commit is contained in:
parent
8c55a4e04d
commit
604bb129a0
@ -1756,7 +1756,7 @@ class StoreOrderRepository extends BaseRepository
|
||||
}
|
||||
|
||||
public function getOrderStatusV2($order) {
|
||||
//订单状态 1 未支付 2待发货 3待收货 4待评价 5交易完成 6已退款 7待核销
|
||||
//订单状态 1 未支付 2待发货 3待收货 4待评价 5交易完成 6已退款 7待核销 8先货后款待结算
|
||||
$order->order_status = 0;
|
||||
if ($order->paid == 0) {
|
||||
$order->order_status = 1;
|
||||
@ -1781,7 +1781,7 @@ class StoreOrderRepository extends BaseRepository
|
||||
}
|
||||
//如果是先货后款信用购的状态处理
|
||||
if ($order->paid == 1 && $order->status == 2 && $order->pay_type == 8) {
|
||||
$order->order_status = 1;
|
||||
$order->order_status = 8;
|
||||
}
|
||||
return $order->order_status;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user