|
@@ -549,7 +549,7 @@ class Manage extends Auth
|
|
|
foreach ($data['body'] as $k => $v) {
|
|
|
//$v['sku_id']
|
|
|
$goods_name = Dever::load("manage", "goods")->showGoodsInfo($v['goods_id'], false);
|
|
|
- $card = Dever::db('card', 'channel')->select(array('order_id' => $v['id']));
|
|
|
+ $card = Dever::db('card', 'channel')->select(array('order_id' => $v['id'], 'status' => 1));
|
|
|
if ($card) {
|
|
|
foreach ($card as $k1 => $v1) {
|
|
|
$result['body'][] = array($v['id'], $v['order_num'], $goods_name, $v['cash'], $v1['number'], $v1['pwd'], date('Y-m-d H:i:s'));
|