调整广告位录入时可以同时筛选多个广告位置

This commit is contained in:
cloud 2020-06-26 02:24:57 +08:00
parent 909d1a00a2
commit bf9ccca0a7
1 changed files with 12 additions and 2 deletions

View File

@ -773,8 +773,18 @@ class table_theme {
$tsql = load::own_class('tsql','new');
$this->search[] = self::input_search(['e_number','广告位编号',$_M['form']['e_number']],'输入广告位编号');
//位置
$para = $tsql->table('para')->where(['p_type' => 0])->all();
$this->search[] = self::para_select($para,['e_aps','位置']);
$this->select2 = [
'_fiend' => ['veaps','位置'],
'placeholder' => '可选择多个位置',
'fiend' => 'p_value',
'tname' => 'para',
'source' => 'search_para_eaps',
'allnone' => 0,
'condition' => 'p_type|||0'
];
$this->search[] = self::input_select_search_multiple();
// $para = $tsql->table('para')->where(['p_type' => 0])->all();
// $this->search[] = self::para_select($para,['e_aps','位置']);
//门口方位
$para = $tsql->table('para')->where(['p_type' => 3])->all();
$this->search[] = self::para_select($para,['e_bno','门口方位']);