|
@@ -425,6 +425,7 @@ class Goodimglibrary extends Start_Controller {
|
|
|
$hairnumber = trim($hairnumber);
|
|
$hairnumber = trim($hairnumber);
|
|
|
|
|
|
|
|
$jm = $this->input->post("jm",true);
|
|
$jm = $this->input->post("jm",true);
|
|
|
|
|
+ $kuwei_set = $this->input->post("kuwei_set",true);
|
|
|
|
|
|
|
|
if(empty($page))
|
|
if(empty($page))
|
|
|
{
|
|
{
|
|
@@ -494,6 +495,10 @@ class Goodimglibrary extends Start_Controller {
|
|
|
$where .= ' AND jm LIKE "%'.trim($jm).'%" ';
|
|
$where .= ' AND jm LIKE "%'.trim($jm).'%" ';
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if($kuwei_set > -1){
|
|
|
|
|
+ $where .= ' AND kuwei_set = '.$kuwei_set.' ';
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
$is_able_edit = 0;
|
|
$is_able_edit = 0;
|
|
|
if(in_array($user_id,[10,28])){
|
|
if(in_array($user_id,[10,28])){
|
|
|
$is_able_edit = 1;
|
|
$is_able_edit = 1;
|
|
@@ -511,7 +516,14 @@ class Goodimglibrary extends Start_Controller {
|
|
|
$info_list[$k]['title'] = $v['title']." <i class='fa fa-copy' data-text='".$v['title']."' onclick='fuzhi(this)' style='background-color:#FFE4C4'></i>";
|
|
$info_list[$k]['title'] = $v['title']." <i class='fa fa-copy' data-text='".$v['title']."' onclick='fuzhi(this)' style='background-color:#FFE4C4'></i>";
|
|
|
$info_list[$k]['zh'] = $v['zh']." <i class='fa fa-copy' data-text='".$v['zh']."' onclick='fuzhi(this)' style='background-color:#FFE4C4'></i>";
|
|
$info_list[$k]['zh'] = $v['zh']." <i class='fa fa-copy' data-text='".$v['zh']."' onclick='fuzhi(this)' style='background-color:#FFE4C4'></i>";
|
|
|
$info_list[$k]['jm'] = $v['jm']." <i class='fa fa-copy' data-text='".$v['jm']."' onclick='fuzhi(this)' style='background-color:#FFE4C4'></i>";
|
|
$info_list[$k]['jm'] = $v['jm']." <i class='fa fa-copy' data-text='".$v['jm']."' onclick='fuzhi(this)' style='background-color:#FFE4C4'></i>";
|
|
|
-
|
|
|
|
|
|
|
+ $kuwei = "";
|
|
|
|
|
+ if(!empty($v['kuwei'])){
|
|
|
|
|
+ $tmp_str = json_decode($v['kuweo'],true);
|
|
|
|
|
+ if(!empty($tmp_str['xc'])){
|
|
|
|
|
+ $kuwei = $tmp_str['xc'];
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ $info_list[$k]['kuwei'] = $kuwei;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$total = $this->goods->find_count($where);
|
|
$total = $this->goods->find_count($where);
|