记得上下班打卡 | git大法好,push需谨慎

Commit 085aba6a authored by dongchun's avatar dongchun

修改admin前端问题

parent 317400e4
......@@ -134,13 +134,13 @@
</div>
<div class="tags">
<label>
<input type="radio" checked value="1" id="optionsRadios1" name="optionsRadios"><span>上架时间</span></label>
<input type="radio" checked value="1" id="tagType1" name="optionsRadios"><span>上架时间</span></label>
<label>
<input type="radio" value="2" id="optionsRadios1" name="optionsRadios"><span>销量</span></label>
<input type="radio" value="2" id="tagType2" name="optionsRadios"><span>销量</span></label>
<label>
<input type="radio" value="3" id="optionsRadios1" name="optionsRadios"><span>价格高</span></label>
<input type="radio" value="3" id="tagType3" name="optionsRadios"><span>价格高</span></label>
<label>
<input type="radio" value="4" id="optionsRadios1" name="optionsRadios"><span>价格低</span></label>
<input type="radio" value="4" id="tagType4" name="optionsRadios"><span>价格低</span></label>
</div>
</div>
<div class="function_btn">
......@@ -215,6 +215,8 @@
creatDom(1);
return;
}
$("input[name="+data[0].orderType+"]").attr('checked', true).parent().siblings().children().removeAttr('checked');
createTime = data[0].createTime;
mid = data[0].mid;
selectGoodsId = data[0].selectGoodsId;
......
......@@ -92,9 +92,9 @@
<a class="btn btn-warning" onclick="functionBtn(2)">
停用
</a>
<a class="btn btn-danger" onclick="functionBtn(3)">
<!-- <a class="btn btn-danger" onclick="functionBtn(3)">
删除
</a>
</a> -->
<a class="btn btn-success" id="addActivity" th:onclick="$.operate.addTab()">
<i class="fa fa-plus"></i> 新增活动
</a>
......
......@@ -252,7 +252,7 @@
});
}
function nextBtn (params) {
if (!$("#endTime").val() || !$("#startTime").val() || !$("#selectShow").val()) {
if (!$("#endTime").val() || !$("#startTime").val() || !$("#selectShow").attr('data-id')) {
return layer.msg('请输入必填项!')
}
let data = {
......
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