更新
This commit is contained in:
parent
ba058460f0
commit
41272e4ba3
@ -94,7 +94,8 @@ class OpurchaseclassController extends BaseAdminController
|
|||||||
$is_push = $this->request->get('is_push',0);
|
$is_push = $this->request->get('is_push',0);
|
||||||
$where['pid']=$id;
|
$where['pid']=$id;
|
||||||
$where['is_push'] = $is_push;
|
$where['is_push'] = $is_push;
|
||||||
$res = Opurchaseinfo::where($where)->page($page_no, $page_size)->select()->each(function ($item) {
|
$res = Opurchaseinfo::where($where)->page($page_no, $page_size)->select()
|
||||||
|
->each(function ($item) {
|
||||||
$item['sys_labels_arr']='';
|
$item['sys_labels_arr']='';
|
||||||
$find = Goods::where('id', $item['goods'])->with('unitName')->find();
|
$find = Goods::where('id', $item['goods'])->with('unitName')->find();
|
||||||
if($find){
|
if($find){
|
||||||
|
@ -31,7 +31,7 @@ class OpurchaseclassofferLists extends BaseAdminDataLists implements ListsSearch
|
|||||||
public function setSearch(): array
|
public function setSearch(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'=' => ['is_adopt'],
|
'=' => ['is_adopt','is_push'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user