This commit is contained in:
彭桃 2023-04-04 14:02:53 +08:00
parent f32a0c5d06
commit a05c48b7e1
2 changed files with 21 additions and 26 deletions

View File

@ -67,24 +67,24 @@
<td>
<div id="cate_id"></div>
</td>
<td class="layui-td-gray">品牌选择<font>*</font>
</td>
<td colspan="6">
<select name="brand_id" lay-verify="required" lay-search="">
<option value="">请选择</option>
{volist name='store_brand' id='vo'}
<option value="{$vo.brand_id}">{$vo.brand_name}</option>
{/volist}
</select>
</td>
</tr>
<tr>
<td class="layui-td-gray">商户分类<font>*</font>
</td>
<td colspan="3">
<div id="mer_cate_id"></div>
</td>
<!-- <td class="layui-td-gray">品牌选择<font>*</font>-->
<!-- </td>-->
<!-- <td colspan="6">-->
<!-- <select name="brand_id" lay-verify="required" lay-search="">-->
<!-- <option value="">请选择</option>-->
<!-- {volist name='store_brand' id='vo'}-->
<!-- <option value="{$vo.brand_id}">{$vo.brand_name}</option>-->
<!-- {/volist}-->
<!-- </select>-->
<!-- </td>-->
</tr>
<!-- <tr>-->
<!-- <td class="layui-td-gray">商户分类<font>*</font>-->
<!-- </td>-->
<!-- <td colspan="3">-->
<!-- <div id="mer_cate_id"></div>-->
<!-- </td>-->
<!-- </tr>-->
<tr>
<td class="layui-td-gray" style="vertical-align:top;">商品封面图</td>
@ -308,10 +308,10 @@
return false;
}
if (data.field.mer_cate_id == '') {
layer.msg('请先选择商户分类');
return false;
}
// if (data.field.mer_cate_id == '') {
// layer.msg('请先选择商户分类');
// return false;
// }
let callback = function (e) {
layer.msg(e.msg);

View File

@ -104,11 +104,6 @@
title: '关键字',
align: 'center',
width: 100
},{
field: 'brand_id',
title: '品牌 id',
align: 'center',
width: 100
},{
field: 'cate_id',
title: '分类',