wugg há 7 meses atrás
pai
commit
f41279926a
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/admin/model/OrderCategory.php

+ 1 - 1
app/admin/model/OrderCategory.php

@@ -40,7 +40,7 @@ class OrderCategory extends Model{
     }
 
     public static function GetTaxInfoByCode($code){
-        $info=self::with(['GoodInfo'])->where(["code"=>$code])->field(["code","spuCode","cat_code","cat_name","tax","inv_good_name"])->select();
+        $info=self::with(['GoodInfo'])->where(["code"=>$code])->field(["code","spuCode","cat_code","cat_name","merge_code","short_name","tax","inv_good_name"])->select();
         $temp=[];
         if(!empty($info)){
             if (is_array($code)){