| | |
| | | } |
| | | if(name !='0') { |
| | | if ($("#roleType").val() == 1) { |
| | | if ($('#type option:selected').text() == "详情"&&$('#type option:selected').text() == "指定商品"&&$('#type option:selected').text() == "指定折扣") { |
| | | if ($('#type option:selected').text() == "详情"||$('#type option:selected').text() == "指定商品"||$('#type option:selected').text() == "指定折扣") { |
| | | if ($("#pageId").val() == '') { |
| | | Feng.info("请输入跳转ID") |
| | | return; |
| | |
| | | } |
| | | } |
| | | } |
| | | if ( $("#roleType").val()==1){ |
| | | if($("#content").val()==''){ |
| | | if(data1.content ==''){ |
| | | data1.content = $("#content").val(); |
| | | Feng.info("请填写内容设置") |
| | | return; |
| | | } |
| | | } |
| | | |
| | | $.ajax({ |
| | | url: Feng.ctxPath + "/tHomeModule/updateHomeModule", |
| | | type: "POST", |