修正表单远程关联字段显示
修正发货单物流信息无法填写 修正发货单直营物流信息无法填写 去掉没有使用的字段类型
This commit is contained in:
@@ -131,17 +131,10 @@ class DeliveryAddressController extends DefaultController
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($query['select2']) && $query['q']) {
|
||||
if ($query['q']) {
|
||||
$model->where('customer_delivery_address.address', 'like', '%'. $query['q'] .'%');
|
||||
}
|
||||
|
||||
// 搜索条件
|
||||
foreach ($search['where'] as $where) {
|
||||
if ($where['active']) {
|
||||
$model->search($where);
|
||||
}
|
||||
}
|
||||
|
||||
$model->whereRaw('customer_delivery_address.customer_id > 0 and customer_delivery_address.customer_id = ?', [$query['customer_id']]);
|
||||
|
||||
$header['select'][] = 'customer_delivery_address.id';
|
||||
|
||||
Reference in New Issue
Block a user