Showing
1 changed file
with
7 additions
and
1 deletions
@@ -2,6 +2,7 @@ | @@ -2,6 +2,7 @@ | ||
2 | 2 | ||
3 | namespace Plugin\DataProcess; | 3 | namespace Plugin\DataProcess; |
4 | 4 | ||
5 | +use Plugin\DataProcess\ListProcess; | ||
5 | use Plugin\Helpers; | 6 | use Plugin\Helpers; |
6 | 7 | ||
7 | /** | 8 | /** |
@@ -22,11 +23,16 @@ class NewSaleProcess | @@ -22,11 +23,16 @@ class NewSaleProcess | ||
22 | $noTab = true; | 23 | $noTab = true; |
23 | $productsLi = array(); | 24 | $productsLi = array(); |
24 | $tabItem = array(); | 25 | $tabItem = array(); |
25 | - | 26 | + |
26 | foreach ($products as $single) { | 27 | foreach ($products as $single) { |
27 | if (empty($single)) { | 28 | if (empty($single)) { |
28 | continue; | 29 | continue; |
29 | } | 30 | } |
31 | + | ||
32 | + // 处理Filter | ||
33 | + if(isset($single['filter'])) { | ||
34 | + $result['filter'] = ListProcess::getFilterData($single['filter']); | ||
35 | + } | ||
30 | 36 | ||
31 | // 处理Tabs | 37 | // 处理Tabs |
32 | $noTab = true; | 38 | $noTab = true; |
-
Please register or login to post a comment