|
@@ -2,12 +2,18 @@
|
|
|
$type = Dever::input('search_type');
|
|
|
$status = Dever::config('base')->status;
|
|
|
$button = array
|
|
|
+(
|
|
|
+ '新增仓库商品' => array('location', Dever::url('lib/set.home?id=' . Dever::input('search_option_store_id'), 'store')),
|
|
|
+ '导出调整明细' => array('excel', 'shop/excel.goods_log'),
|
|
|
+);
|
|
|
+$list_button = array
|
|
|
(
|
|
|
'list' => array('查看详情', '"goods_log&search_option_store_id={store_id}&earch_option_goods_id={goods_id}&earch_option_sku_id={sku_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) {
|
|
|
- unset($button['fast_list']);
|
|
|
+ unset($button['新增仓库商品']);
|
|
|
+ unset($list_button['fast_list']);
|
|
|
}
|
|
|
$config = array
|
|
|
(
|
|
@@ -240,13 +246,9 @@ $config = array
|
|
|
'page_list_table' => 'sku',
|
|
|
|
|
|
|
|
|
- 'button' => array
|
|
|
- (
|
|
|
- '新增仓库商品' => array('location', Dever::url('lib/set.home?id=' . Dever::input('search_option_store_id'), 'store')),
|
|
|
- '导出调整明细' => array('excel', 'shop/excel.goods_log'),
|
|
|
- ),
|
|
|
+ 'button' => $button,
|
|
|
|
|
|
- 'list_button' => $button,
|
|
|
+ 'list_button' => $list_button,
|
|
|
),
|
|
|
|
|
|
|