|
@@ -391,6 +391,7 @@ class Excel
|
|
|
$status = Dever::db('shop/buy_order')->config['status'];
|
|
|
|
|
|
$info_type = Dever::db($table)->config['config_type'];
|
|
|
+ $order_type = Dever::db('shop/buy_order')->config['config_type'];
|
|
|
|
|
|
foreach ($data as $k => $v) {
|
|
|
if (!is_array($v)) {
|
|
@@ -419,9 +420,8 @@ class Excel
|
|
|
$d = array
|
|
|
(
|
|
|
$source,
|
|
|
- $info['sid'],
|
|
|
$info['name'],
|
|
|
- $info_type[$info['type']],
|
|
|
+ $order_type[$v['type']],
|
|
|
|
|
|
$v['order_num'],
|
|
|
$v['num'],
|