rabin 3 years ago
parent
commit
3901b82c6d
3 changed files with 4 additions and 3 deletions
  1. 2 2
      app/goods/database/info.php
  2. 1 0
      app/goods/lib/Manage.php
  3. 1 1
      app/mshop/lib/Buy.php

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

@@ -121,8 +121,8 @@ $config = array
             'match'     => 'is_string',
             'update'    => 'textarea',
             'search'    => 'fulltext',
-            'list'        => true,
-            'edit'        => true,
+            //'list'        => true,
+            //'edit'        => true,
         ),
 
         'sell_type'        => array

+ 1 - 0
app/goods/lib/Manage.php

@@ -160,6 +160,7 @@ class Manage
     {
         $info = Dever::db('goods/info')->one($id);
         if ($info) {
+            $table['名称'] = $info['name'];
             $table['编号'] = $info['id'];
             $table['栏目'] = $this->column($info['column_id']);
             //$table['标题'] = $info['name'];

+ 1 - 1
app/mshop/lib/Buy.php

@@ -919,7 +919,7 @@ class Buy
                     'name' => '配送发货',
                 );
 
-                if ($parent_order && ((isset($parent_order['uid']) && $parent_order['uid']) || (isset($parent_order['uid']) && $parent_order['uid']))) {
+                if ($parent_order && ((isset($parent_order['uid']) && $parent_order['uid']) || (isset($parent_order['mid']) && $parent_order['mid']))) {
                 } else {
                     $button[] = array
                     (