|
@@ -74,7 +74,7 @@ $factory = function()
|
|
|
return $array;
|
|
|
};
|
|
|
|
|
|
-$type = 1;
|
|
|
+$stype = 1;
|
|
|
$noprice = 2;
|
|
|
|
|
|
$search_option_type = Dever::input('search_option_type', 1);
|
|
@@ -103,7 +103,7 @@ if ($search_option_type == 1) {
|
|
|
array('导出订单', '仓库入库订单', ''),
|
|
|
array('导出订单明细', '仓库入库订单明细', 'shop/excel.store_buy_order'),
|
|
|
);
|
|
|
- $source_name = '发货工厂';
|
|
|
+ $source_name = '供货商';
|
|
|
$source_order = 4;
|
|
|
$noprice = 1;
|
|
|
}
|
|
@@ -272,7 +272,7 @@ return array
|
|
|
'default' => '',
|
|
|
'desc' => '供货商',
|
|
|
'match' => 'is_numeric',
|
|
|
- 'search' => $search_option_source_type == 2 ? array
|
|
|
+ 'searchs' => $search_option_source_type == 2 ? array
|
|
|
(
|
|
|
'api' => 'store/info-like',
|
|
|
'col' => 'name',
|
|
@@ -283,7 +283,7 @@ return array
|
|
|
'col' => 'name',
|
|
|
'result' => 'id',
|
|
|
),
|
|
|
- 'search' => $search_option_type != 1 ? 'select' : false,
|
|
|
+
|
|
|
'option' => $search_option,
|
|
|
'list' => 'Dever::load("shop/lib/manage.buyInfo", "{source_type}", "{source_id}")',
|
|
|
'list_order' => $source_order,
|
|
@@ -577,7 +577,7 @@ return array
|
|
|
|
|
|
|
|
|
|
|
|
- 'list' => array('查看详情', '"buy_order_goods&project=shop&order_id={id}&page_type=1&type='.$type.'&noprice='.$noprice.'"'),
|
|
|
+ 'list' => array('查看详情', '"buy_order_goods&project=shop&order_id={id}&page_type=1&type='.$stype.'&noprice='.$noprice.'"'),
|
|
|
|
|
|
|
|
|
'fast' => array('审核', '"buy_order&where_id={id}&col=audit,audit_desc&oper_save_jump=buy_order&oper_table=buy_order&oper_parent=buy_order"', '{status} == 2'),
|