<label>商品品牌:</label> <?php echo CHtml::dropDownlist('GoodsBrand', '', CHtml::listData($cate, 'BrandID', 'BrandName'), array('class' => 'width110 select', 'empty' => '请选择品牌', 'id' => 'goodsbrand')); ?> <label>商品类别:</label> <?php echo CHtml::dropDownlist('GoodsCategory', '', CHtml::listData($result, "id", "name"), array('class' => 'width110 select', 'empty' => '请选择类别', 'id' => 'goodscategory')); ?> <!-- <label> 时间段:</label> <input class="easyui-datebox" type="text" style="width:88px" name="begintime" id="begintime">-<input class="easyui-datebox" type="text" style="width:88px" name="endtime" id="endtime"> --> <label>适用车型: </label><input class="width98 input" name="carmodel" id="carmodel"> </p> <p class="form-row"> <label> 配件品类:</label> <?php $res = Commonmodel::Getcpnames(); $params = array('class' => 'width230 select', 'id' => 'leafCategorysearch'); if (!$res['cpnames']) { $params['empty'] = '请添加配件品类'; } ?> <?php echo CHtml::dropDownlist('leafCategorysearch', $res['firstcpname'], $res['cpnames'], $params); ?> <label style="margin-left:10px"> 上/下架: </label> <select name="IsSale" class="width100 select" id="issale"> <option value="">全部</option> <option value="0">上架</option> <option value="1">下架</option> </select>