cqp 3 ماه پیش
والد
کامیت
abf125005b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Service/ProductService.php

+ 1 - 1
app/Service/ProductService.php

@@ -1222,7 +1222,7 @@ class ProductService extends Service
 
     public function productGroupByListDetail($data, $user){
         if(empty($data['item_code'])) return [false, '商品编码不能为空'];
-        $type = $data['type'] ?? 0;
+        $type = $data['type'] ?? 1;
 
         //获取相同itemCode的产品
         $product = $this->getProductByItemCode([$data['item_code']], $user);