|
@@ -89,8 +89,8 @@ class Set
|
|
|
if ($info) {
|
|
|
if ($table == 'agent/member_goods') {
|
|
|
$info['num'] = $info['total_num'] - $info['sell_num'];
|
|
|
- if ($v['sku_id'] > 0) {
|
|
|
- $data[1]['children'][$k]['id'] = $v['id'] . '-' . $v['sku_id'] . '_2';
|
|
|
+ if ($info['sku_id'] > 0) {
|
|
|
+ $data[1]['children'][$k]['id'] = $v['id'] . '-' . $info['sku_id'] . '_2';
|
|
|
}
|
|
|
}
|
|
|
$data[1]['children'][$k]['select'] = 1;
|