|
@@ -1221,8 +1221,8 @@ class GoodsController extends Controller
|
1221
|
1221
|
}
|
1222
|
1222
|
|
1223
|
1223
|
//将数据查询结果通过导出excel方法导出到浏览器
|
1224
|
|
- $indexKey = ['goodsCategoryName','name','propsName','code','outPrice','status','createTime','real_quantity','total_quantity','pre_quantity'];
|
1225
|
|
- $title = ['商品分类', '商品名称', '商品规格', '规格编码','分销商价格','上架状态','上架时间','可用库存','总库存','预占用库存'];
|
|
1224
|
+ $indexKey = ['goodsCategoryName','name','propsName','code','price','outPrice','status','createTime','real_quantity','total_quantity','pre_quantity'];
|
|
1225
|
+ $title = ['商品分类', '商品名称', '商品规格', '规格编码','建议零售价','分销商价格','上架状态','上架时间','可用库存','总库存','预占用库存'];
|
1226
|
1226
|
$filename = 'goods_sku_export_'.date('Y-m-d_H').'.xlsx';
|
1227
|
1227
|
return Order::export_excel($result, $filename, $indexKey, $title);
|
1228
|
1228
|
}
|