|
@@ -667,7 +667,7 @@ class Buy
|
|
|
|
|
|
$status = $config['status'][$info['status']];
|
|
|
|
|
|
- $tk = Dever::db('shop/buy_order_refund')->find(array('order_id' => $info['id'], 'process' => 1));
|
|
|
+ $tk = Dever::db('shop/buy_order_refund')->find(array('order_id' => $info['id'], 'type' => 1));
|
|
|
|
|
|
$cdate = date('Y-m-d H:i', $info['cdate']);
|
|
|
if ($info['operdate']) {
|
|
@@ -686,8 +686,8 @@ class Buy
|
|
|
$info['price'] = $info['p_price'];
|
|
|
}
|
|
|
|
|
|
- if ($tk && $tk['process'] == 1) {
|
|
|
- $status .= '[申请' . $tk_status[$tk['status']].']';
|
|
|
+ if ($info['refund_status'] == 2 && $info['status'] != 8) {
|
|
|
+ $status .= '[申请报损中]';
|
|
|
}
|
|
|
|
|
|
$time = array();
|