|
@@ -213,6 +213,7 @@ class CfItem extends Backend |
|
|
public function getList(){ |
|
|
public function getList(){ |
|
|
$name=$this->request->post('name'); |
|
|
$name=$this->request->post('name'); |
|
|
$keyValue=$this->request->post('keyValue'); |
|
|
$keyValue=$this->request->post('keyValue'); |
|
|
|
|
|
$this->model->field('id,item_name as name,item_unit,item_type,item_memo,purchase_user_id'); |
|
|
$where = ["del_flag"=>0]; |
|
|
$where = ["del_flag"=>0]; |
|
|
if($keyValue){ |
|
|
if($keyValue){ |
|
|
$where = ['id'=>$keyValue,"del_flag"=>0]; |
|
|
$where = ['id'=>$keyValue,"del_flag"=>0]; |
|
|