多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**非供应商用户** 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);`