dever %!s(int64=3) %!d(string=hai) anos
pai
achega
df857660ec
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/store/database/goods_sku.php

+ 2 - 2
app/store/database/goods_sku.php

@@ -1,5 +1,5 @@
 <?php
-$type = Dever::input('search_type');
+$type = Dever::input('search_option_store_id');
 $status = Dever::config('base')->status;
 $button = array
 (
@@ -11,7 +11,7 @@ $list_button = array
     'list' => array('查看详情', '"goods_log&search_option_sid={id}&search_option_store_id={store_id}&oper_table=goods_sku&top_table=info"'),
     'fast_list' => array('库存设置', '"info_sku&project=goods&goods_id={goods_id}&other=store&other_id={store_id}&page_type=1"'),
 );
-if ($type != 1) {
+if (!$type) {
     unset($button['新增仓库商品']);
     unset($button['导出调整明细']);
     unset($list_button['fast_list']);