|
@@ -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(), []];
|