Commit 3121dfb6 authored by 徐州's avatar 徐州

修改部分问题

parent e0cf1e9e
......@@ -44,7 +44,7 @@
}
function addTabSfxx(row_Id) {
var dt = new Date();
parent.addTab("sfxxTab", "收费信息", "/jsp/zzhxm/zzhxmSfxxDetail.action?zzhxm.id=" + row_Id + "&dt=" + dt.getTime(), 850, 700);
parent.addTab("sfxxTab", "收费信息", "/jsp/zzhxm/zzhxmSfxxDetail.action?id=" + row_Id + "&dt=" + dt.getTime(), 850, 700);
}
function noticeView(row_Id) {
var dt = new Date();
......
<%@page language="java" pageEncoding="UTF-8" isELIgnored="false" %>
<%@include file="/common/header.jsp" %>
<%@taglib prefix="activiti" uri="/activiti/tags" %>
<!DOCTYPE html>
<html lang="en">
<head>
<%@include file="/common/jsLib.jsp" %>
<title>Document</title>
<style>
.l-btn-icon.icon-add {
margin-top: -7px;
}
</style>
<script>
var index4Sf = 1;
/* $(document).ready(function () {
$("#showTitle").title($("#sfxmmcselect option:selected").val().text());
});*/
$(function () {
getShbmBySfxmmc();
})
function onSelected() {
var option = $("#sfxmmcselect option:selected").val();
var show = option;
// document.getElementById("#showTitle").title("title");
// $("#showTitle").attr('title',show);
document.getElementById("showTitle").setAttribute("title", show)
document.getElementById("showTitle").title = show;
}
//验证收费信息
function verify1(data) {
/*if ($("#sfxmmc").val()=="" || $("#sfxmmc").val()== undefined || $("#sfxmmc").val()==null) {
$.messager.alert('提示', '请填写收费项目名称!');
return
}*/
if ($("#sfxmlxdbh").val() == "" || $("#sfxmlxdbh").val() == undefined || $("#sfxmlxdbh").val() == null) {
$.messager.alert('提示', '请填写收费项目联系单编号!');
return
}
if ($("#yjjemx").val() == "" || $("#yjjemx").val() == undefined || $("#yjjemx").val() == null) {
$.messager.alert('提示', '请填写应缴金额明细!');
return
}
/*if ($("#shbm").val()=="" || $("#shbm").val()== undefined || $("#shbm").val()==null) {
$.messager.alert('提示', '请填写审核部门!');
return
}*/
var value;
var obj = {};
var obj1 = {};
var flag1 = true;
var boolean1 = true;
var message = "";
$("input[name=file1]").each(function () {
if ($(this).val() != "") {
var name = $(this).parent().siblings().find("input").val();
flag1 = $(this).parent().siblings().find("input[type='checkbox']").is(':checked');
if (!flag1) {
boolean1 = false;
// $.messager.alert('提示',"请在"+name+"选中复选框");
message = "请选中复选框";
return;
}
}
});
$("input[name=id]:checked").each(function () {
var name = $(this).val();
value = $(this).parent().siblings().find("input").val();
value = value.substring(value.lastIndexOf("\\") + 1);
var no = $(this).parent().parent().find("input[name=wdno]").val();
if (value == "") {
boolean1 = false;
// $.messager.alert('提示',"请上传"+$(this).val()+"文件");
message = "请上传文件";
return;
}
obj[value] = name;
obj1[value] = no;
});
$("#allFileName").val(JSON.stringify(obj));
$("#originFileName").val(JSON.stringify(obj1));
//1.收费项目数量<=7;
//2.三种状态其中一种改变,则对应的此状态不允许再添加新的缴费信息;
/*} else {*/
var cnjfhj = $('#sfTable input[name="zzhxmsfxx.cnjfhj"]:checked').val();
if (cnjfhj == "" && $('#cnjfhj').val() != undefined && $('#cnjfhj').val() != null) {
var val = $('#cnjfhj').val();
cnjfhj = val;
}
if (cnjfhj == undefined || cnjfhj == "") {
return;
}
if (!boolean1) {
$.messager.alert('提示', message);
return;
}
// 验证是否由当前的非税记录信息
var ids = $("#sfxxid").val();
var yzsqy = $('#yzsqy').val();
var dsdw = $('#dsdw').val();
var sfxmmc = $('#sfxmmcselect option:selected').val();//选中的值
var shbm = $('#shbmselect option:selected').val();//选中的值
$.ajax({
async: false,
url: "${ctx}/jsp/zzhxm/zzhxmSfxxCheck.action",
type: 'post',
dataType: 'json',
async: false,
data: { zzhxmid: "${zzhxm.id}", "zzhxmsfxx.cnjfhj": cnjfhj, "zzhxmsfxx.yzsqy": yzsqy, "zzhxmsfxx.dsdw": dsdw, "zzhxmsfxx.sfxmmc": sfxmmc, "zzhxmsfxx.shbm": shbm },
error: function (data) {
$.messager.alert('错误', data.message);
},
success: function (data) {
if (data.result) {
// $("#yzjg").html('验证成功!');
// alert("验证成功");
$.messager.alert('提示', "验证成功");
abc = "1";
$.messager.confirm("提交", "确定提交吗?", function (result) {
if (result) {
document.myform1.action = "rfadd.action";
document.myform1.submit();
}
});
} else {
abc = "0";
// $("#yzjg").html('添加失败!'+data.message);
$.messager.alert('错误', '验证失败,' + data.message);
return;
}
}
});
/*}*/
}
function getShbmBySfxmmc() {
//监测收费项目名称选择框
/*$("#sfxmmcselect").change(function(){*/
//置空部门选择框
var yzsqy = $('#yzsqy').val();
var dsdw = $('#dsdw').val();
var sfxmmc = $("#sfxmmcselect option:selected").val();
//异步获取
//根据一级select的值,异步获取数据更新二级的选项
$.ajax({
type: 'get',
url: '${ctx}/jsp/zzhxm/getShbmList.action',
data: {
"zzhxmsfxx.sfxmmc": sfxmmc,
"zzhxmsfxx.yzsqy": yzsqy,
"zzhxmsfxx.dsdw": dsdw
},
cache: false,
dataType: 'json',
success: function (secondDatas) {
// var data = eval('('+secondDatas+')');
var data = secondDatas.rows;
if (secondDatas.total != undefined && secondDatas.total != "" && secondDatas.total > 0) {
$("#shbmselect").empty();
}
//遍历回传的数据添加到二级select
$.each(data, function (key, secondData) {
var option = '<option value="' + secondData + '">' + secondData + '</option>'
$("#shbmselect").append(option)
})
/* //二级select展示
$("#box-select-second").fadeIn("slow");
//三级select隐藏
$("#box-select-third").fadeOut("slow");*/
},
error: function () {
alert("请求失败")
}
});
/*});*/
}
function scan(d) {
var text = $(d).parent().parent().find("input[type='checkbox']").val();
console.log(text);
// alert(text);
window.open('${ctx}/scan.jsp?id=' + encodeURIComponent(text));
}
function consoleConfig(data) {
console.log($("#myform1").zzhxm.cnjfhj);
}
function numberCheck(num) {
var cost = num.value;
var reg = /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/;
if (!reg.test(cost)) {
$.messager.alert({
title: '提示信息!',
msg: '金额的输入格式不正确,请确认!'
});
return;
}
}
</script>
</head>
<body validform="true">
<div class="page_dialog">
<div class="inner6px">
<div class="cell" style="width: 100%">
<table width="100%" border="0">
<tr>
<td width="15%">项目信息</td>
</tr>
<tr>
<th width="15%">项目代码</th>
<td width="35%">
<input id="xmdm" name="paymentItem.dwmc" style="width:90%" value="${paymentItem.dwmc}" disabled />
<font style='color:red'>*</font>
</td>
<th width="15">信息一览表编号</th>
<td width="35%">
<input id="xxylbbh" name="zzhxm.xxylbbh" style="width:90%" value="${paymentItem.dwmc}"
disabled />
</td>
</tr>
<tr>
<th width="15">规划项目编号</th>
<td width="35%">
<input id="ghxmbh" name="zzhxm.ghxmbh" style="width:90%" value="${paymentItem.dwmc}" disabled />
</td>
<th width="15">建设单位名称</th>
<td width="35%">
<input id="jsdwmc" name="zzhxm.jsdwmc" style="width:90%" value="${paymentItem.dwmc}" disabled />
</td>
</tr>
<tr>
<th width="15">规划许可证编号</th>
<td width="35%">
<input id="ghxkzbh" name="zzhxm.ghxkzbh" style="width:90%" value="${paymentItem.dwmc}"
disabled />
</td>
<th width="15">二级统计单位</th>
<td width="35%">
<input id="ghxkzlx" name="zzhxm.ghxkzlx" value="${paymentItem.dwmc}" disabled />
</td>
</tr>
<tr>
<th width="15">工程项目名称</th>
<td width="35%">
<input id="gcxmmc" name="zzhxm.gcxmmc" style="width:90%" value="${paymentItem.dwmc}" disabled />
<font style='color:red'>*</font>
</td>
<th width="15">工程项目地点</th>
<td width="35%">
<input id="gcxmdd" name="zzhxm.gcxmdd" style="width:90%" value="${paymentItem.dwmc}" disabled />
<font style='color:red'>*</font>
</td>
</tr>
<tr>
<th width="15">地上建筑面积</th>
<td width="35%">
<input id="dsjzmj" name="zzhxm.dsjzmj" style="width:90%" value="${paymentItem.dwmc}" disabled />
<font style='color:red'>*</font>
</td>
<th width="15">地下建筑面积</th>
<td width="35%">
<input id="dxjzmj" name="zzhxm.dxjzmj" style="width:90%" value="${paymentItem.dwmc}" disabled />
<font style='color:red'>*</font>
</td>
</tr>
<tr>
<th width="15">建设单位联系人</th>
<td width="35%">
<input id="jsdwlxr" name="zzhxm.jsdwlxr" style="width:90%" value="${paymentItem.dwmc}"
disabled />
<font style='color:red'>*</font>
</td>
<th width="15">联系电话</th>
<td width="35%">
<input id="lxdh" name="zzhxm.lxdh" style="width:90%" value="${paymentItem.dwmc}" disabled />
</td>
</tr>
</table>
<form name="myform1" method="post" enctype="multipart/form-data">
<s:token />
<input type="hidden" name="flag" value="${flag}">
<input type="hidden" name="zzhxm.id" value="${paymentItem.id}">
<input type="hidden" name="allFileName" id="allFileName" />
<input type="hidden" name="originFileName" id="originFileName" />
<div id="payDiv" class="easyui-accordion" style="">
<div id="showTitle" class="" title="添加收费信息" data-options="iconCls:'icon-ok'"
style="overflow:auto;padding:10px;">
<table width="100%" border="0" id="sfTable">
<tr>
<th width="15">收费项目名称</th>
<td width="35%">
<select id="sfxmmcselect" name="zzhxmsfxx.sfxmmc" style="width: 91%"
onchange="getShbmBySfxmmc()">
<c:forEach items="${yzssxsfxmmcList}" var="obj">
<option value="${obj}">${obj}</option>
</c:forEach>
</select>
</td>
<th width="15">审核部门</th>
<td width="35%">
<select id="shbmselect" name="zzhxmsfxx.shbm" style="width: 91%">
<c:forEach items="${yzssxshbmList}" var="obj">
<option value="${obj}">${obj}</option>
</c:forEach>
</select>
</td>
</tr>
<tr>
<th width="90">收费项目联系单编号</th>
<td width="35%">
<input id="sfxmlxdbh" name="zzhxmsfxx.sfxmlxdbh" style="width:90%"
datatype="*1-50" errormsg='此项为必填' maxlength="50" />
<font style='color:red'>*</font>
</td>
<th width="15">应缴金额</th>
<td width="35%">
<input id="yjjemx" name="zzhxmsfxx.yjjemx" style="width:90%" datatype="*1-50"
errormsg='此项为必填' maxlength="50" onblur="numberCheck(this)" />
<font style='color:red'>*</font>
</td>
</tr>
<tr>
<th width="15">承诺缴费环节</th>
<td width="35%">
<input type="radio" name="zzhxmsfxx.cnjfhj" value="施工许可前" checked="checked" />
施工许可前
<input type="radio" name="zzhxmsfxx.cnjfhj" value="竣工验收前" />
竣工验收前
<input type="radio" name="zzhxmsfxx.cnjfhj" value="" /><input id="cnjfhj"
name="zzhxmsfxx.cnjfhj" style="width:10%" />日内
</td>
<th width="15">提前缴纳配套费</th>
<td width="35%">
<input type="radio" name="zzhxmsfxx.cnjfhj" value="施工许可前" checked="checked" />
<input type="radio" name="zzhxmsfxx.cnjfhj" value="竣工验收前" />
</td>
</tr>
<tr>
<th width="15">缴费情况:</th>
<td colspan="3" style="text-align:left;">
<table width="100%" id="table">
<tr>
<th width="10%" style="text-align: left;"><input name="id"
checked="checked" type="checkbox" value="收费信息表"><span
id='fujianm'>征收联系单:</span></th>
<td style="text-align: left;" width="20%" colspan="2">
<input type="file" name="file1">
<input type="button" value="扫描" onclick="scan(this)" />
</td>
</tr>
<tr>
<th width="10%" style="text-align: left;"><input name="id"
checked="checked" type="checkbox" value="收费信息表"><span
id='fujianm'>税务反馈单:</span></th>
<td style="text-align: left;" width="20%" colspan="2">
<input type="file" name="file1">
<input type="button" value="扫描" onclick="scan(this)" />
</td>
</tr>
<tr>
<th width="10%" style="text-align: left;"><input name="id"
checked="checked" type="checkbox" value="收费信息表"><span
id='fujianm'>先行缴纳配套费的申请:</span></th>
<td style="text-align: left;" width="20%" colspan="2">
<input type="file" name="file1">
<input type="button" value="扫描" onclick="scan(this)" />
</td>
</tr>
<tr>
<th width="10%" style="text-align: left;"><input name="id"
checked="checked" type="checkbox" value="收费信息表"><span
id='fujianm'>完税证明:</span></th>
<td style="text-align: left;" width="20%" colspan="2">
<input type="file" name="file1">
<input type="button" value="扫描" onclick="scan(this)" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</div>
<table>
<tr>
<th width="15">备注</th>
<td width="85%">
<textarea id="beizhu" name="zzhxmsfxx.beizhu" style="width: 95%"></textarea>
</td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<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;
</s:if>
<a href="#" class="btn_01" onclick="parent.close_win('win_zzhxmsfxx');">关闭<b></b></a>
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
......@@ -37,7 +37,7 @@
function addNew4Sfxx(row_id) {
var dt = new Date();
// <%--createSimpleWindow("win_zzhxm","添加收费信息","${ctx}/jsp/zzhxm/zzhxmSfxxAdd.action?flag=add&zzhxm.id="+row_id+"&dt="+dt.getTime(),1172,600);--%>
createSimpleWindow("win_zzhxmsfxx", "添加收费信息","${ctx}/jsp/rfdz/RfdzEdit.action" , 900, 680);
createSimpleWindow("win_zzhxmsfxx", "添加收费信息","${ctx}/jsp/rfdz/RfdzSfxxAdd.action?paymentItem.id=" + row_id , 900, 680);
//<%--createWindow("win_zzhxmsfxx","添加收费信息","410px","210px",900,600,"${ctx}/jsp/zzhxm/zzhxmSfxxAdd.action?flag=add&zzhxm.id="+row_id+"&dt="+dt.getTime())--%>
}
//<%-- 修改收费信息 --%>
......@@ -200,16 +200,15 @@
<div class="inner12px">
<div class="cell">
<table width="100%">
<input id="ids" type="hidden" value="${zzhxm.id}">
<input id="jfdmwybh" type="hidden" value="${zzhxmJktzs.jfdmwybh}">
<input id="ids" type="hidden" value="${paymentItem.id}">
<tr>
<td>账户信息</td>
</tr>
<tr>
<th width="15%">代收单位名称</th>
<td width="35%">${zzhxm.dsdw}</td>
<td width="35%">${paymentItem.dwmc}</td>
<th width="15%">代收单位层级</th>
<td width="35%">${zzhxm.dsdwcj}</td>
<td width="35%">${paymentItem.dwmc}</td>
</tr>
</table>
<table>
......@@ -218,41 +217,41 @@
</tr>
<tr>
<th width="15%">项目代码</th>
<td width="35%">${zzhxm.xmdm}</td>
<td width="35%">${paymentItem.dwmc}</td>
<th width="15%">信息一览表编号</th>
<td width="35%">${zzhxm.xxylbbh}</td>
<td width="35%">${paymentItem.dwmc}</td>
</tr>
<tr>
<th width="15%">规划项目编号</th>
<td width="35%">${zzhxm.ghxmbh}</td>
<td width="35%">${paymentItem.dwmc}</td>
<th width="15%">建设单位名称</th>
<td width="35%">${zzhxm.jsdwmc}</td>
<td width="35%">${paymentItem.dwmc}</td>
</tr>
<tr>
<th width="15%" id='lianxidan'>规划许可证编号</th>
<td width="35%">${zzhxm.ghxkzbh}</td>
<td width="35%">${paymentItem.dwmc}</td>
<th width="15%">规划许可证类型</th>
<td width="35%">${zzhxm.ghxkzlx}</td>
<td width="35%">${paymentItem.dwmc}</td>
</tr>
<tr>
<th width="15%">工程项目名称</th>
<td width="35%">${zzhxm.gcxmmc}</td>
<td width="35%">${paymentItem.dwmc}</td>
<th width="15%">工程项目地点</th>
<td width="35%">${zzhxm.gcxmdd}</td>
<td width="35%">${paymentItem.dwmc}</td>
</tr>
<tr>
<th width="15%">地上建筑面积</th>
<td width="35%">${zzhxm.dsjzmj}</td>
<td width="35%">${paymentItem.dwmc}</td>
<th width="15%">地下建筑面积</th>
<td width="35%">${zzhxm.dxjzmj}</td>
<td width="35%">${paymentItem.dwmc}</td>
</tr>
<tr>
<th width="15%">建设单位联系人</th>
<td width="35%">${zzhxm.jsdwlxr}</td>
<td width="35%">${paymentItem.dwmc}</td>
<th width="15%">联系电话</th>
<td width="35%">${zzhxm.lxdh}</td>
<td width="35%">${paymentItem.dwmc}</td>
</tr>
<tr>
......@@ -262,7 +261,7 @@
<table width="100%" border="0">
<tr>
<td colspan="4" height="100px" style="text-align:center">
<s:if test="zzhxm.statusConstract == 0">
<s:if test="paymentItem.statusConstract == 0">
<a id="noticeBtn0" href="#" class="btn_01"
onclick="generateNotice(0);">人防费用章(市本级)<b></b></a>
</s:if>
......
......@@ -27,7 +27,7 @@
function view_detail(row_Id) {
var dt = new Date();
// parent.addTab("sfxxTab", "收费信息", "收费信息.html?zzhxm.id=" + row_Id + "&dt=" + dt.getTime(), 850, 700);
parent.addTab("rfdzTab","收费信息","/jsp/rfdz/RfdzDetail.action?zzhxm.id="+row_Id+"&dt="+dt.getTime(),850,700);
parent.addTab("rfdzTab","收费信息","/jsp/rfdz/RfdzSfxxDetail.action?paymentItem.id="+row_Id+"&dt="+dt.getTime(),850,700);
}
function search_xmlb() {
var queryParams = {
......@@ -78,13 +78,36 @@
{ field: 'dwmc', title: '建设单位名称', width: 186, align: 'center' },
{ field: 'xmmc', title: '工程项目名称', width: 186, align: 'center' },
{ field: 'jsdd', title: '工程项目地点', width: 186, align: 'center' },
{ field: 'xkzh', title: '规划许可证号', width: 186, align: 'center' },
{
field: 'op2', title: '工程项目地点', width: 186, align: 'center', formatter: function (value, rec) {
return "<span>" + rec.xmxxb.jzdwdz + "</span>";
}
},
{
field: 'op3', title: '规划许可证号', width: 186, align: 'center', formatter: function (value, rec) {
return "<span>" + rec.xmxxb.xkzh + "</span>";
}
},
{ field: 'xmdm', title: '缴费环节', width: 150, align: 'center' },
{ field: 'zsfw', title: '二级统计单位', width: 186, align: 'center' },
{
field: 'op4', title: '缴费环节', width: 150, align: 'center', formatter: function (value, rec) {
if(rec.xmxxb.paymentLink == 1) {
return "<span>施工许可前</span>";
} else if(rec.xmxxb.paymentLink == 3) {
return "<span>30日内</span>";
}
return "<span></span>";
}
},
{
field: 'op5', title: '二级统计单位', width: 186, align: 'center', formatter: function (value, rec) {
return "<span>" + rec.xmxxb.zsfw + "</span>";
}
},
{ field: 'xmdm', title: '核查状态', width: 150, align: 'center' },
{ field: 'xmdm', title: '缴款通知书编号', width: 186, align: 'center' },
{ field: 'ECN', title: '缴款通知书编号', width: 186, align: 'center' },
{ field: 'zslxdbh', title: '缴款凭证编号', width: 186, align: 'center' },
]],
......@@ -104,35 +127,35 @@
<table width="100%">
<tr>
<th width="15%">规划许可证编号</th>
<td width="35%"><input name="zzhxm.ghxkzbh" id="ghxkzbh" value="" type="text"></td>
<td width="35%"><input name="ghxkzbh" id="ghxkzbh" value="" type="text"></td>
<th width="15%">缴费凭证编号</th>
<td width="35%"><input name="zzhxm.jfpzbh" id="jfpzbh" value="" type="text"></td>
<td width="35%"><input name="jfpzbh" id="jfpzbh" value="" type="text"></td>
</tr>
<tr>
<th width="15%">信息表编号</th>
<td width="35%"><input name="zzhxm.xxbbh" id="xxbbh" value="" type="text"></td>
<td width="35%"><input name="xxbbh" id="xxbbh" value="" type="text"></td>
<th width="15%">规划项目编号</th>
<td width="35%"><input name="zzhxm.ghxmbh" id="ghxmbh" value="" type="text"></td>
<td width="35%"><input name="ghxmbh" id="ghxmbh" value="" type="text"></td>
</tr>
<tr>
<th width="15%">建设单位名称</th>
<td width="35%"><input name="zzhxm.jsdwmc" id="jsdwmc" value="" type="text"></td>
<td width="35%"><input name="jsdwmc" id="jsdwmc" value="" type="text"></td>
<th width="15%">工程项目名称</th>
<td width="35%"><input name="zzhxm.gcxmmc" id="gcxmmc" value="" type="text"></td>
<td width="35%"><input name="gcxmmc" id="gcxmmc" value="" type="text"></td>
</tr>
<tr>
<th width="15%">缴费环节</th>
<td width="35%">
<select name="zzhxm.jfhj" id="jfhj">
<select name="jfhj" id="jfhj">
<option value="">请选择</option>
<option value="0"></option>
<option value="1">施工许可前</option>
<option value="2">30日</option>
<option value="3">30日</option>
</select>
</td>
<th width="15%">核查状态</th>
<td width="35%">
<select name="zzhxm.hczt" id="hczt">
<select name="hczt" id="hczt">
<option value="">请选择</option>
<option value="0"></option>
<option value="1">已同步</option>
......
......@@ -13,6 +13,16 @@
<result name="success">/WEB-INF/pages/rfdz/Rfdz_Detail.jsp</result>
</action>
<!-- 跳转收费信息列表页面 -->
<action name="RfdzSfxxDetail" class="com.jshx.rfdz.web.RfdzAction" method="view">
<result name="view">/WEB-INF/pages/rfdz/Rfdz_Detail.jsp</result>
</action>
<!-- 跳转收费信息添加页面 -->
<action name="RfdzSfxxAdd" class="com.jshx.rfdz.web.RfdzAction" method="sfxxAdd">
<result name="edit">/WEB-INF/pages/zzhxm/Rfdz_Add.jsp</result>
</action>
<action name="RfdzEdit" >
<result name="success">/WEB-INF/pages/rfdz/Rfdz_Edit.jsp</result>
</action>
......
......@@ -4,20 +4,25 @@ import com.jshx.core.base.action.BaseAction;
import com.jshx.core.base.vo.Pagination;
import com.jshx.core.json.CodeJsonValueProcessor;
import com.jshx.core.json.DateJsonValueProcessor;
import com.jshx.paymentItemHis.entity.PaymentItemHis;
import com.jshx.paymentItemHis.service.PaymentItemHisService;
import com.jshx.rfdz.entity.Rfdz;
import com.jshx.rfdz.service.RfdzService;
import com.jshx.zsdw.service.ZsdwService;
import com.jshx.zzhxm.entity.ZzhxmSfxx;
import com.neusoft.egov.utils.TextUtils;
import net.sf.json.JsonConfig;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class RfdzAction extends BaseAction
{
String id;
String ghxkzbh;
String jfpzbh;
String xxbbh;
......@@ -26,6 +31,8 @@ public class RfdzAction extends BaseAction
String gcxmmc;
String jfhj;
String hczt;
PaymentItemHis paymentItem = new PaymentItemHis();
/**
* 分页信息
*/
......@@ -201,6 +208,22 @@ public class RfdzAction extends BaseAction
}
/**
* 人防到账列表点击收费信息
*/
public String view() {
if(paymentItem != null && !TextUtils.isEmpty(paymentItem.getId())) {
Map<String, Object> paraMap = new HashMap<>();
paymentItem = paymentItemHisService.getById(paymentItem.getId());
}
return VIEW;
}
public String sfxxAdd() {
view();
return EDIT;
}
public String getGhxkzbh() {
return ghxkzbh;
......@@ -297,4 +320,20 @@ public class RfdzAction extends BaseAction
public void setIds(String ids) {
this.ids = ids;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public PaymentItemHis getPaymentItem() {
return paymentItem;
}
public void setPaymentItem(PaymentItemHis paymentItem) {
this.paymentItem = paymentItem;
}
}
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