Commit fc37bba0 authored by houyu's avatar houyu

添加点击事件

parent a15ce127
...@@ -46,10 +46,18 @@ ...@@ -46,10 +46,18 @@
$.messager.alert('提示', '请填写收费项目联系单编号!'); $.messager.alert('提示', '请填写收费项目联系单编号!');
return return
} }
if ($("#yjjemx").val()=="" || $("#yjjemx").val()== undefined || $("#yjjemx").val()==null) { $(".rd").on('click',function () {
$.messager.alert('提示', '请填写应缴金额明细!'); if($(this).val()=='30日内'){
return
} }else{
if ($("#yjjemx").val()=="" || $("#yjjemx").val()== undefined || $("#yjjemx").val()==null) {
$.messager.alert('提示', '请填写应缴金额明细!');
return
}
}
})
/*if ($("#shbm").val()=="" || $("#shbm").val()== undefined || $("#shbm").val()==null) { /*if ($("#shbm").val()=="" || $("#shbm").val()== undefined || $("#shbm").val()==null) {
$.messager.alert('提示', '请填写审核部门!'); $.messager.alert('提示', '请填写审核部门!');
return return
...@@ -121,7 +129,7 @@ ...@@ -121,7 +129,7 @@
async: false, async: false,
url: "${ctx}/jsp/rfxm/rfxmSfxxCheck.action", url: "${ctx}/jsp/rfxm/rfxmSfxxCheck.action",
type: 'post', type: 'post',
dataType: 'json',缴费承诺环节 dataType: 'json',
async: false, async: false,
data: {rfxmid : "${rfxm.id}","rfxmsfxx.cnjfhj":cnjfhj, "rfxmsfxx.yzsqy":yzsqy, "rfxmsfxx.dsdw":dsdw, "rfxmsfxx.sfxmmc":sfxmmc, "rfxmsfxx.shbm":shbm}, data: {rfxmid : "${rfxm.id}","rfxmsfxx.cnjfhj":cnjfhj, "rfxmsfxx.yzsqy":yzsqy, "rfxmsfxx.dsdw":dsdw, "rfxmsfxx.sfxmmc":sfxmmc, "rfxmsfxx.shbm":shbm},
error: function (data) { error: function (data) {
...@@ -399,9 +407,7 @@ ...@@ -399,9 +407,7 @@
<table width="100%" border="0"> <table width="100%" border="0">
<tr> <tr>
<td colspan="4" height="100px" style="text-align:center"> <td colspan="4" height="100px" style="text-align:center">
<s:if test="flag=='add'">
<a href="#" class="btn_01" type="button" onclick="verify1(this)">添加<b></b></a>&nbsp; <a href="#" class="btn_01" type="button" onclick="verify1(this)">添加<b></b></a>&nbsp;
</s:if>
<a href="#" class="btn_01" onclick="parent.close_win('win_rfxmsfxx');">关闭<b></b></a> <a href="#" class="btn_01" onclick="parent.close_win('win_rfxmsfxx');">关闭<b></b></a>
</td> </td>
</tr> </tr>
......
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