|
@@ -156,10 +156,6 @@ public class SalaryDistributeEditPlugin extends AbstractListPlugin implements Pl
|
|
}else {
|
|
}else {
|
|
this.setVieeVisible(nckd_generalemployees);
|
|
this.setVieeVisible(nckd_generalemployees);
|
|
}
|
|
}
|
|
- RequestContext ctx = RequestContext.get();
|
|
|
|
- String clientPath = UrlService.getDomainContextUrlByTenantCode(ctx.getTenantCode());//拿到完整的客户端网址
|
|
|
|
- String jspath = clientPath+"/public/thirdjs/salaryupload.js";
|
|
|
|
- this.getView().executeClientCommand("loadThirdPartyJS",jspath);
|
|
|
|
}
|
|
}
|
|
//分录类型为薪酬明细(内退)
|
|
//分录类型为薪酬明细(内退)
|
|
if (entrytype.equals("B")) {
|
|
if (entrytype.equals("B")) {
|
|
@@ -170,10 +166,6 @@ public class SalaryDistributeEditPlugin extends AbstractListPlugin implements Pl
|
|
}else {
|
|
}else {
|
|
this.setVieeVisible(nckd_earlyretired);
|
|
this.setVieeVisible(nckd_earlyretired);
|
|
}
|
|
}
|
|
- RequestContext ctx = RequestContext.get();
|
|
|
|
- String clientPath = UrlService.getDomainContextUrlByTenantCode(ctx.getTenantCode());//拿到完整的客户端网址
|
|
|
|
- String jspath = clientPath+"/public/thirdjs/salaryupload.js";
|
|
|
|
- this.getView().executeClientCommand("loadThirdPartyJS",jspath);
|
|
|
|
}
|
|
}
|
|
//分录类型为薪酬明细退休
|
|
//分录类型为薪酬明细退休
|
|
if (entrytype.equals("C")) {
|
|
if (entrytype.equals("C")) {
|
|
@@ -184,10 +176,6 @@ public class SalaryDistributeEditPlugin extends AbstractListPlugin implements Pl
|
|
}else {
|
|
}else {
|
|
this.setVieeVisible(nckd_retired);
|
|
this.setVieeVisible(nckd_retired);
|
|
}
|
|
}
|
|
- RequestContext ctx = RequestContext.get();
|
|
|
|
- String clientPath = UrlService.getDomainContextUrlByTenantCode(ctx.getTenantCode());//拿到完整的客户端网址
|
|
|
|
- String jspath = clientPath+"/public/thirdjs/salaryupload.js";
|
|
|
|
- this.getView().executeClientCommand("loadThirdPartyJS",jspath);
|
|
|
|
}
|
|
}
|
|
//分录类型为人力薪酬
|
|
//分录类型为人力薪酬
|
|
if (entrytype.equals("D")) {
|
|
if (entrytype.equals("D")) {
|
|
@@ -198,10 +186,6 @@ public class SalaryDistributeEditPlugin extends AbstractListPlugin implements Pl
|
|
}else {
|
|
}else {
|
|
this.setVieeVisible(nckd_pay);
|
|
this.setVieeVisible(nckd_pay);
|
|
}
|
|
}
|
|
- RequestContext ctx = RequestContext.get();
|
|
|
|
- String clientPath = UrlService.getDomainContextUrlByTenantCode(ctx.getTenantCode());//拿到完整的客户端网址
|
|
|
|
- String jspath = clientPath+"/public/thirdjs/salaryupload.js";
|
|
|
|
- this.getView().executeClientCommand("loadThirdPartyJS",jspath);
|
|
|
|
}
|
|
}
|
|
//分录类型为人力薪酬(内退)
|
|
//分录类型为人力薪酬(内退)
|
|
if (entrytype.equals("E")) {
|
|
if (entrytype.equals("E")) {
|
|
@@ -214,10 +198,10 @@ public class SalaryDistributeEditPlugin extends AbstractListPlugin implements Pl
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- RequestContext ctx = RequestContext.get();
|
|
|
|
- String clientPath = UrlService.getDomainContextUrlByTenantCode(ctx.getTenantCode());//拿到完整的客户端网址
|
|
|
|
- String jspath = clientPath+"/public/thirdjs/salaryupload.js";
|
|
|
|
- this.getView().executeClientCommand("loadThirdPartyJS",jspath);
|
|
|
|
|
|
+// RequestContext ctx = RequestContext.get();
|
|
|
|
+// String clientPath = UrlService.getDomainContextUrlByTenantCode(ctx.getTenantCode());//拿到完整的客户端网址
|
|
|
|
+// String jspath = clientPath+"/public/thirdjs/salaryupload.js";
|
|
|
|
+// this.getView().executeClientCommand("loadThirdPartyJS",jspath);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|