wupengfei há 2 anos atrás
pai
commit
321967a31e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      application/purchase/controller/DepotGoods.php

+ 1 - 1
application/purchase/controller/DepotGoods.php

@@ -165,7 +165,7 @@ class DepotGoods extends Controller
             $id = $this->request->get('id');
             $depot_goods = Db::name('DepotGoods')->where(['id' => $id])->find();
             $list = Db::name('DepotGoodsItem')->where(['goods_id' => $depot_goods['goods_id'],'depot_id'=>$depot_goods['depot_id']])->select();
-            var_dump($list);
+            var_dump($list,$depot_goods);
             $this->fetch('', ['list' => $list,'depot_id'=>$depot_goods['depot_id'],'goods_id'=>$depot_goods['goods_id']]);
         } else {
             list($post, $data) = [$this->request->post(), []];