sunhao 5 years ago
parent
commit
89676bcb46
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Admin/GoodsController.php

+ 1 - 1
app/Http/Controllers/Admin/GoodsController.php

@@ -429,7 +429,7 @@ class GoodsController extends Controller
429 429
 
430 430
             if($is_fx>0){
431 431
                 //如果是分销,不展示没有库存的和白名单的
432
-                if($v['quantity'] <= 0 || $v['is_not_fx'] == 1){
432
+                if( ($v['quantity'] <= 0 && $v['is_white'] != 1) || $v['is_not_fx'] == 1){
433 433
                     unset($result[$k]); 
434 434
                 }
435 435
             }