修改业务申请传阅的逻辑,以符合客户要求

This commit is contained in:
jianghongdong 2018-07-31 20:05:49 +08:00
parent 94d8429a80
commit 2f693e444d
3 changed files with 9 additions and 4 deletions

View File

@ -183,6 +183,11 @@
var actionSet = $("#actionreadset");
if(actionSet.html().length<=2){
var actionList=routeJson.readUser;
var phaseNo=routeJson.route[0].phaseNo;
if("BusinessApplyFlow"=='<%=flowNo%>'&&"1000"!=phaseNo){
actionList = "";
return;
}
if(actionList.length>0){
actionSet.empty().show();
actionSet.append("<div style='margin-top:10px;margin-left:15px;font-size:12px;'><font color='#000000'><b>请选择传阅的用户:</b></font></div><div id='phaseactionReader' style='margin-top:10px;margin-left:10px;font-size:12px;border:1px solid lightgray;padding:5px;'></div>");

View File

@ -9,7 +9,7 @@
String plan_date = DateAssistant.getToday();
ASObjectModel doTemp = new ASObjectModel("ViLcReviewAuditRentPlanList");
doTemp.setJboWhere(" O.AUDIT_STATE = 'N'");
// doTemp.setJboWhere(" O.AUDIT_STATE = 'N'");
//默认预查询
//只有计划日期未收款的都可以收款
doTemp.setJboWhereWhenNoFilter(" and O.PLAN_DATE <= '"+plan_date+"' and O.COLLECT_STATUS in ('未收款','部分收款') ");

View File

@ -29,7 +29,7 @@ import com.tenwa.comm.util.jboutil.DataOperatorUtil;
*
*/
public class BusinessCancelJob implements Job {
public static String curUserId = "";
private String overDate;
@Override
public void execute(JobExecutionContext arg0) throws JobExecutionException {
@ -90,8 +90,8 @@ public class BusinessCancelJob implements Job {
lcibo.setAttributeValue(LB_CANCLE_INFO.CANCLE_DATE, StringFunction.getTodayNow());
lcibo.setAttributeValue(LB_CANCLE_INFO.CANCLE_RESON,"系统检测到该业务超过合同制作等待发起时间:"+overDate+"天,故自动撤销该业务。");
lcibo.setAttributeValue(LB_CANCLE_INFO.INPUTTIME,StringFunction.getTodayNow());
lcibo.setAttributeValue(LB_CANCLE_INFO.INPUTUSERID,"system");
lcibo.setAttributeValue(LB_CANCLE_INFO.INPUTORGID,"system");
lcibo.setAttributeValue(LB_CANCLE_INFO.INPUTUSERID,curUserId==""?"system":curUserId);
lcibo.setAttributeValue(LB_CANCLE_INFO.INPUTORGID,curUserId==""?"system":curUserId);
lcibo.setAttributeValue(LB_CANCLE_INFO.PROJECT_ID,map.get("ID"));
// lcibo.setAttributeValue(LB_CANCLE_INFO.CANCLE_TYPE,"");
lcibom.saveObject(lcibo);