Commit 494a23be authored by 徐州's avatar 徐州

修改部分问题

parent 4f8dabcd
...@@ -59,17 +59,19 @@ ...@@ -59,17 +59,19 @@
success: function(data){ success: function(data){
if(data.result){ if(data.result){
$.messager.confirm("提示", "确认要财务用章?", function(result) { $.messager.confirm("提示", "确认要财务用章?", function(result) {
$.ajax({ if(result) {
url : "${ctx}/jsp/paymentItemHis/cwyz.action", $.ajax({
type: 'post', url : "${ctx}/jsp/paymentItemHis/cwyz.action",
dataType: 'json', type: 'post',
data:{ dataType: 'json',
id : row_Id data:{
}, id : row_Id
async : false },
}); async : false
$.messager.alert("提示","操作成功") });
search_paymentItemHis(); $.messager.alert("提示","操作成功")
search_paymentItemHis();
}
}); });
}else{ }else{
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
$(function(){ $(function(){
$('#pagination').datagrid($.extend(window.dg_cm_pp_2,{ $('#pagination').datagrid($.extend(window.dg_cm_pp_2,{
title:'项目管理列表', title:'人防费核查项目列表',
url:'rfxmQuery.action', url:'rfxmQuery.action',
queryParams:{ queryParams:{
"rfxm.xkzh": $("#xkzh").val(), "rfxm.xkzh": $("#xkzh").val(),
...@@ -259,7 +259,7 @@ ...@@ -259,7 +259,7 @@
<td width="35%"><input name="rfxm.zslxdbh" id="zslxdbh" value="" type="text"></td> <td width="35%"><input name="rfxm.zslxdbh" id="zslxdbh" value="" type="text"></td>
</tr> </tr>
<tr> <tr>
<th width="15%">信息表编号</th> <th width="15%">信息一览表编号</th>
<td width="35%"><input name="rfxm.xxylbbh" id="xxylbbh" value="" type="text"></td> <td width="35%"><input name="rfxm.xxylbbh" id="xxylbbh" value="" type="text"></td>
<th width="15%">规划项目编号</th> <th width="15%">规划项目编号</th>
<td width="35%"><input name="rfxm.xmbh" id="xmbh" value="" type="text"></td> <td width="35%"><input name="rfxm.xmbh" id="xmbh" value="" type="text"></td>
......
...@@ -62,17 +62,19 @@ ...@@ -62,17 +62,19 @@
<%-- 人防用章 --%> <%-- 人防用章 --%>
function generateNotice(id){ function generateNotice(id){
$.messager.confirm("提示", "确认要人防用章?", function(result) { $.messager.confirm("提示", "确认要人防用章?", function(result) {
$.ajax({ if(result) {
url : "${ctx}/jsp/rfxm/rfyz.action", $.ajax({
type: 'post', url : "${ctx}/jsp/rfxm/rfyz.action",
dataType: 'json', type: 'post',
data:{ dataType: 'json',
ids : id data:{
}, ids : id
async : false },
}); async : false
$.messager.alert("提示","操作成功") });
reloadDate() $.messager.alert("提示","操作成功")
reloadDate()
}
}); });
} }
......
...@@ -390,7 +390,7 @@ ...@@ -390,7 +390,7 @@
<tr> <tr>
<th width="15">缴费凭证编号</th> <th width="15">缴费凭证编号</th>
<td width="35%"> <td width="35%">
<input id="cnjfhj" name="rfxmsfxx.cnjfhj" style="width:90%" value="${rfxmsfxx.cnjfhj}" readonly/> <input id="zslxdbh" name="rfxmsfxx.zslxdbh" style="width:90%" value="${rfxmsfxx.zslxdbh}" readonly/>
</td> </td>
</tr> </tr>
<tr> <tr>
......
...@@ -1212,7 +1212,7 @@ public class RfxmAction extends BaseAction ...@@ -1212,7 +1212,7 @@ public class RfxmAction extends BaseAction
if(!TextUtils.isEmpty(rfxm.getPaymentHisId())) { if(!TextUtils.isEmpty(rfxm.getPaymentHisId())) {
PaymentItemHis paymentItemHis = paymentItemHisService.getById(rfxm.getPaymentHisId()); PaymentItemHis paymentItemHis = paymentItemHisService.getById(rfxm.getPaymentHisId());
RfxmSfxx sfxx = new RfxmSfxx(); RfxmSfxx sfxx = new RfxmSfxx();
sfxx.setSfxmmc(paymentItemHis.getXmmc()); sfxx.setSfxmmc("城市基础设施配套费");
sfxx.setSfxmlxdbh(paymentItemHis.getZslxdbh()); sfxx.setSfxmlxdbh(paymentItemHis.getZslxdbh());
sfxx.setYjjemx(paymentItemHis.getZyjje()); sfxx.setYjjemx(paymentItemHis.getZyjje());
sfxx.setShbm(paymentItemHis.getZsdw()); sfxx.setShbm(paymentItemHis.getZsdw());
...@@ -2294,19 +2294,18 @@ public class RfxmAction extends BaseAction ...@@ -2294,19 +2294,18 @@ public class RfxmAction extends BaseAction
boolean status = true; boolean status = true;
//TODO 这里可以校验选择的对不对 //TODO 这里可以校验选择的对不对
String message = "OK"; String message = "OK";
//TODO 先注释起来,不然不方便测试 Map<String, Object> query = new HashMap<>();
// Map<String, Object> query = new HashMap<>(); query.put("rfxmid",rfxmid);
// query.put("rfxmid",rfxmid); if(pagination==null) {
// if(pagination==null) { pagination = new Pagination(this.getRequest());
// pagination = new Pagination(this.getRequest()); }
// } Pagination byPage = rfxmSfxxService.findByPage(pagination, query);
// Pagination byPage = rfxmSfxxService.findByPage(pagination, query); if(byPage.totalCount > 0) {
// if(byPage.totalCount > 0) { status = false;
// status = false; message = "只允许添加一条记录";
// message = "只允许添加一条记录"; this.getResponse().getWriter().println("{\"result\":"+status+",\"message\":\""+message+"\"}");
// this.getResponse().getWriter().println("{\"result\":"+status+",\"message\":\""+message+"\"}"); return;
// return; }
// }
this.getResponse().getWriter().println("{\"result\":"+status+",\"message\":\""+message+"\"}"); this.getResponse().getWriter().println("{\"result\":"+status+",\"message\":\""+message+"\"}");
} }
......
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