|
@@ -287,7 +287,7 @@ class PrintingPlate extends Api
|
|
|
$where['物料代码'] = ['like', $code . '%'];
|
|
$where['物料代码'] = ['like', $code . '%'];
|
|
|
|
|
|
|
|
if (!empty($param['search'])) {
|
|
if (!empty($param['search'])) {
|
|
|
- $where['物料名称'] = ['like', '%' . $param['search'] . '%'];
|
|
|
|
|
|
|
+ $where['物料名称|物料代码'] = ['like', '%' . $param['search'] . '%'];
|
|
|
}
|
|
}
|
|
|
// 查询物料存货编码
|
|
// 查询物料存货编码
|
|
|
$list = db('物料_存货编码')
|
|
$list = db('物料_存货编码')
|