|
@@ -683,6 +683,7 @@ public class WorkInvoiceAllTwoController extends BaseController {
|
|
|
List<String> projectNameList = Lists.newArrayList();
|
|
|
List<String> reportNumber = Lists.newArrayList();
|
|
|
List<String> widNumber = Lists.newArrayList();
|
|
|
+ invoice.setMoneyStr(invoice.getMoney().toString());
|
|
|
boolean f = false;
|
|
|
for (WorkInvoiceProjectRelation info : projectRelation) {
|
|
|
if (StringUtils.isNotBlank(info.getReportDataNum())) {
|
|
@@ -1383,6 +1384,7 @@ public class WorkInvoiceAllTwoController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
model.addAttribute("workInvoice", workInvoice);
|
|
|
+ model.addAttribute("view", workInvoice.getHome());
|
|
|
return "modules/workinvoice/workInvoiceModifyInfo";
|
|
|
}
|
|
|
|
|
@@ -1394,6 +1396,9 @@ public class WorkInvoiceAllTwoController extends BaseController {
|
|
|
@RequestMapping(value = "updateWorkInvoiceInfo")
|
|
|
public String updateWorkInvoiceInfo(WorkInvoice workInvoice) {
|
|
|
workInvoiceService.updateDetils(workInvoice);
|
|
|
+ if (StringUtils.isNotBlank(workInvoice.getHome()) && workInvoice.getHome().equals("oldInfo")){
|
|
|
+ return "redirect:"+Global.getAdminPath()+"/workinvoiceAll/workInvoiceAll/?repage";
|
|
|
+ }
|
|
|
return "redirect:"+Global.getAdminPath()+"/workinvoiceAllTwo/workinvoiceAllTwo/?repage";
|
|
|
}
|
|
|
|