dever 3 yıl önce
ebeveyn
işleme
66f441dbd5

+ 1 - 1
app/shop/database/buy_stat.php

@@ -64,7 +64,7 @@ return array
             'option'    => $shop,
             'update'    => 'hidden',
             'value'     => Dever::input('search_option_shop_id'),
-            'list'      => 'Dever::load("shop/info-find#name", {shop_id})',
+            'list'      => 'Dever::load("shop/info-one#name", {shop_id})',
         ),
 
         'area'       => array

+ 2 - 2
app/shop/database/goods.php

@@ -52,7 +52,7 @@ return array
             'update'    => 'hidden',
             'search'    => 'hidden',
             'value'     => Dever::input('search_option_shop_id'),
-            'list'      => 'Dever::load("shop/info-find#name", {shop_id})',
+            'list'      => 'Dever::load("shop/info-one#name", {shop_id})',
         ),
 
         'goods_id'      => array
@@ -64,7 +64,7 @@ return array
             'match'     => 'is_numeric',
             'update'    => 'select',
             'update_search' => 'goods/lib/manage.search',
-            'list'      => 'Dever::load("goods/info-find#name", {goods_id})',
+            'list'      => 'Dever::load("goods/info-one#name", {goods_id})',
         ),
 
         'category_id'      => array

+ 1 - 1
app/shop/database/member.php

@@ -60,7 +60,7 @@ return array
             'match'     => 'is_numeric',
             'update'    => 'hidden',
             'value'     => Dever::input('search_option_shop_id'),
-            'list'      => 'Dever::load("shop/info-find#name", {shop_id})',
+            'list'      => 'Dever::load("shop/info-one#name", {shop_id})',
         ),
 
         'role_id'      => array

+ 1 - 1
app/shop/database/print.php

@@ -47,7 +47,7 @@ return array
             'match'     => 'is_numeric',
             'update'    => 'hidden',
             'value'     => Dever::input('search_option_shop_id'),
-            'list'      => 'Dever::load("shop/info-find#name", {shop_id})',
+            'list'      => 'Dever::load("shop/info-one#name", {shop_id})',
         ),
         
         'name'      => array

+ 1 - 1
app/shop/database/sell_stat.php

@@ -64,7 +64,7 @@ return array
             'option'    => $shop,
             'update'    => 'hidden',
             'value'     => Dever::input('search_option_shop_id'),
-            'list'      => 'Dever::load("shop/info-find#name", {shop_id})',
+            'list'      => 'Dever::load("shop/info-one#name", {shop_id})',
         ),
 
         'area'       => array

+ 3 - 3
app/shop/lib/Manage.php

@@ -302,13 +302,13 @@ class Manage
     public function buyInfo($type = '', $type_id = '')
     {
         if ($type == 1) {
-            $type_info = Dever::db('shop/info')->find($type_id);
+            $type_info = Dever::db('shop/info')->one($type_id);
             return $type_info['name'] . '('.$type_info['mobile'].')';
         } elseif ($type == 2) {
-            $type_info = Dever::db('store/info')->find($type_id);
+            $type_info = Dever::db('store/info')->one($type_id);
             return $type_info['name'] . '('.$type_info['mobile'].')';
         } elseif ($type == 3) {
-            $type_info = Dever::db('factory/info')->find($type_id);
+            $type_info = Dever::db('factory/info')->one($type_id);
             return $type_info['name'] . '('.$type_info['mobile'].')';
         } else {
             return '无';