...
|
...
|
@@ -141,8 +141,18 @@ class OrderController extends AdminBaseController |
|
|
}
|
|
|
}
|
|
|
$list = $this->singleData('order_view',$where,2,[],10);
|
|
|
$orderList = $list->items();
|
|
|
foreach ($orderList as $k=>$v) {
|
|
|
$v['options'] = json_decode($v['options'],true);
|
|
|
$orderList[$k]['order_price'] = 0;
|
|
|
foreach ($v['options'] as $ko=>$vo) {
|
|
|
if($vo['id'] == 64) {
|
|
|
$orderList[$k]['order_price'] = $vo['user_choose'];
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
$list->appends($param);
|
|
|
$this->assign('list',$list->items());
|
|
|
$this->assign('list',$orderList);
|
|
|
$this->assign('page',$list->render());
|
|
|
$this->assign('keyword',isset($param['keyword']) ? $param['keyword'] : '');
|
|
|
$this->assign('sort_id',isset($param['sort_id']) ? $param['sort_id'] : '');
|
...
|
...
|
@@ -210,8 +220,18 @@ class OrderController extends AdminBaseController |
|
|
}
|
|
|
}
|
|
|
$list = $this->singleData('order_view',$where,2,[],10);
|
|
|
$orderList = $list->items();
|
|
|
foreach ($orderList as $k=>$v) {
|
|
|
$v['options'] = json_decode($v['options'],true);
|
|
|
$orderList[$k]['order_price'] = 0;
|
|
|
foreach ($v['options'] as $ko=>$vo) {
|
|
|
if($vo['id'] == 64) {
|
|
|
$orderList[$k]['order_price'] = $vo['user_choose'];
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
$list->appends($param);
|
|
|
$this->assign('list',$list->items());
|
|
|
$this->assign('list',$orderList);
|
|
|
$this->assign('page',$list->render());
|
|
|
$this->assign('keyword',isset($param['keyword']) ? $param['keyword'] : '');
|
|
|
$this->assign('status',isset($param['status']) ? $param['status'] : '');
|
...
|
...
|
@@ -285,8 +305,18 @@ class OrderController extends AdminBaseController |
|
|
}
|
|
|
}
|
|
|
$list = $this->singleData('order_view',$where,2,[],10);
|
|
|
$orderList = $list->items();
|
|
|
foreach ($orderList as $k=>$v) {
|
|
|
$v['options'] = json_decode($v['options'],true);
|
|
|
$orderList[$k]['order_price'] = 0;
|
|
|
foreach ($v['options'] as $ko=>$vo) {
|
|
|
if($vo['id'] == 64) {
|
|
|
$orderList[$k]['order_price'] = $vo['user_choose'];
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
$list->appends($param);
|
|
|
$this->assign('list',$list->items());
|
|
|
$this->assign('list',$orderList);
|
|
|
$this->assign('page',$list->render());
|
|
|
$this->assign('keyword',isset($param['keyword']) ? $param['keyword'] : '');
|
|
|
$this->assign('sort_id',isset($param['sort_id']) ? $param['sort_id'] : '');
|
...
|
...
|
|