...
|
...
|
@@ -568,6 +568,10 @@ class OrderModel |
|
|
$exchangeUrl = Helpers::url('/home/returns/exchangeRequest', array('orderCode' => $orderCode));
|
|
|
//申请退货
|
|
|
$refundUrl = Helpers::url('/home/returns/refundrequest', array('orderCode' => $orderCode));
|
|
|
//再次购买
|
|
|
if ( $isCancel == 'Y') {
|
|
|
$operation[] = array( 'name' => '再次购买', 'reBuy' => true);
|
|
|
}
|
|
|
//立即付款
|
|
|
if ($payStatus == 'N' && $paymentType != 2 && $isCancel == 'N') {
|
|
|
$operation[] = array('payNow' => true, 'href' => $payUrl);
|
...
|
...
|
@@ -600,10 +604,8 @@ class OrderModel |
|
|
if ($status >= 6 && $time < 86400 * $orderRefundLimitTime && $attribute != 3 && $isCancel == 'N') {
|
|
|
$operation[] = array('href' => $refundUrl, 'name' => '申请退货', 'optDis' => $opRefundStatus);
|
|
|
}
|
|
|
//再次购买
|
|
|
if ( $isCancel == 'Y') {
|
|
|
$operation[] = array( 'name' => '再次购买', 'reBuy' => true);
|
|
|
}
|
|
|
|
|
|
|
|
|
return $operation;
|
|
|
}
|
|
|
|
...
|
...
|
|