NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
**非供应商用户** shop/controllers/Seller/Supplier/DistLogCtl.php Seller_Shop_Setshop 文件路径:shop/controllers/Seller/Supplier/DistLogCtl.php 一、分销明细 视图:shop/views/default/Seller/Supplier/DistLogCtl/index.php 方法:index() ~~~ //分销明细 $data = $Order_GoodsModel->listByWhere($cond_row,$order_row,$page,$rows); //所有分销订单总和 $orders = $Order_GoodsModel ->getByWhere($cond_row); $dist_total = array_sum(array_column($orders,'goods_price')); ~~~ 二、我的采购单 视图:shop/views/default/Seller/Supplier/DistLogCtl/buy_order.php 方法:buy_order() `$data = $Order_BaseModel->listByWhere($cond_row,$order_row,$page,$rows);`