Kaynağa Gözat

年度预算修改申请无法提交问题处理

梁世豪 2 ay önce
ebeveyn
işleme
602fc50f24

+ 1 - 1
src/main/java/com/liang/controller/PrjApproverecordController.java

@@ -504,7 +504,7 @@ public class PrjApproverecordController extends BaseController {
504 504
         if(paraMap2.get("postId")=="28"){
505 505
             String deptName=sysDeptInfoService.getUserDept(sysUserInfo.getUserId());
506 506
             if(deptName.contains("电源")){
507
-                deptName = "电源技术中心化学与环保技术室";
507
+                deptName = "电源技术中心";
508 508
             }
509 509
             paraMap2.put("deptName",deptName);
510 510
         }

+ 1 - 0
src/main/resources/templates/annualbudget/updateApply_annualbudget.html

@@ -572,6 +572,7 @@
572 572
             var item = dataBudget.find((item) => item.fymc == "总计");
573 573
             var ndzys = item.xmzys;
574 574
             if (ndzys == null) {
575
+                Message.error("年度总预算不能为空,请完善任务书中该年度出资方案!", 1500);
575 576
                 return false;
576 577
             }
577 578
             if (parseFloat(ndzys) > parseFloat(rwsys)) {