Commit 4e5cb2a2 authored by hujun's avatar hujun

成交报告搜索修改

parent 631267e2
...@@ -101,7 +101,7 @@ class Finance extends Basic ...@@ -101,7 +101,7 @@ class Finance extends Basic
} }
//商铺类型(0商场,1街铺) //商铺类型(0商场,1街铺)
if (!empty($this->params['shop_type'])) { if (isset($this->params['shop_type']) && $this->params['shop_type'] != -1) {
$where['d.shop_type'] = $this->params['shop_type']; $where['d.shop_type'] = $this->params['shop_type'];
} }
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<form id="maintable_form_search"> <form id="maintable_form_search">
<span class="fore-span">商铺类型:</span> <span class="fore-span">商铺类型:</span>
<select class="form-control btn2" name="maintable_shop_type" id="maintable_shop_type"> <select class="form-control btn2" name="maintable_shop_type" id="maintable_shop_type">
<option value="">请选择</option> <option value="-1">请选择</option>
<option value="0">商场</option> <option value="0">商场</option>
<option value="1">街铺</option> <option value="1">街铺</option>
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment