Commit b1559814 authored by 徐州's avatar 徐州

111

parent 160f64d8
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<form name="myform1" method="post" enctype="multipart/form-data"> <form name="myform1" method="post" enctype="multipart/form-data">
<s:token /> <s:token />
<input type="hidden" name="flag" value="${flag}"> <input type="hidden" name="flag" value="${flag}">
<input type="hidden" name="rfxm.id" value="${fstzsXm.id}"> <input type="hidden" name="fstzsXm.id" value="${fstzsXm.id}">
<div class="cell" style="width: 100%"> <div class="cell" style="width: 100%">
<table width="100%" border="0" class="ta-tb"> <table width="100%" border="0" class="ta-tb">
......
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
<td width="12%" style="border-right: none;position: relative"> <input name="rfxmsfxx.fkTime" id="kprq" style="width: 90%" <td width="12%" style="border-right: none;position: relative"> <input name="rfxmsfxx.fkTime" id="kprq" style="width: 90%"
type="text" class="Wdate" value="${item1.kprq}" type="text" class="Wdate" value="${item1.kprq}"
onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" datatype="*1-30" errormsg='此项为必填'> onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" datatype="*1-30" errormsg='此项为必填'>
<span style="position: relative;right: -8px">-</span> <span style="position: absolute;right: -8px">-</span>
</td> </td>
<td width="12%" style="border-left: none"> <td width="12%" style="border-left: none">
<input name="rfxmsfxx.fkTime" id="kprq1" style="width:90%" <input name="rfxmsfxx.fkTime" id="kprq1" style="width:90%"
......
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<td width="12%" style="border-right: none;position: relative"> <input name="rfxmsfxx.fkTime" id="kprq" style="width: 90%" <td width="12%" style="border-right: none;position: relative"> <input name="rfxmsfxx.fkTime" id="kprq" style="width: 90%"
type="text" class="Wdate" value="${item1.kprq}" type="text" class="Wdate" value="${item1.kprq}"
onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" datatype="*1-30" errormsg='此项为必填'> onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" datatype="*1-30" errormsg='此项为必填'>
<span style="position: relative;right: -8px">-</span> <span style="position: absolute;right: -8px">-</span>
</td> </td>
<td width="12%" style="border-left: none"> <td width="12%" style="border-left: none">
<input name="rfxmsfxx.fkTime" id="kprq1" style="width:90%" <input name="rfxmsfxx.fkTime" id="kprq1" style="width:90%"
......
...@@ -177,7 +177,7 @@ public class FstzsAction extends BaseAction { ...@@ -177,7 +177,7 @@ public class FstzsAction extends BaseAction {
*/ */
public String addFstzs() { public String addFstzs() {
if("add".equals(flag)) { if("add".equals(flag)) {
FstzsXm dbXm = fstzsXmService.getById(id); FstzsXm dbXm = fstzsXmService.getById(fstzsXm.getId());
//更新数据库项目状态 //更新数据库项目状态
dbXm.setStatus(1);//状态改为已生成、待复核 dbXm.setStatus(1);//状态改为已生成、待复核
dbXm.setJbr(this.getLoginUser().getDisplayName()); dbXm.setJbr(this.getLoginUser().getDisplayName());
...@@ -245,4 +245,12 @@ public class FstzsAction extends BaseAction { ...@@ -245,4 +245,12 @@ public class FstzsAction extends BaseAction {
public void setId(String id) { public void setId(String id) {
this.id = id; this.id = id;
} }
public String getFlag() {
return flag;
}
public void setFlag(String flag) {
this.flag = flag;
}
} }
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