1.网银接口权限和增加退回金额。

This commit is contained in:
zhangbb 2019-10-10 11:42:37 +08:00
parent c24905c809
commit 55c454b2f3
3 changed files with 33 additions and 12 deletions

View File

@ -9,10 +9,19 @@
*/
String userid=CurUser.getUserID();
String department=CurUser.getOrgID();
String flag = "true";
//运营组只能看到确认收入按钮
if("8009011003".equals(department)){
// flag = "false";
String flag = "false";
String falgConfirm = "false";
//财务可以全部看到,资管只能看到确认收入按钮
if("8009012002".equals(department)||CurUser.hasRole("099")){
flag = "true";
falgConfirm = "true";
}
//资管业务员和资管负责人
String role_arr[] = {"800R00000019","800R00000020"};
if(CurUser.hasRole(role_arr)){
flag = "false";
falgConfirm = "true";
}
//ASObjectModel doTemp = new ASObjectModel("LCEbankList");
ASObjectModel doTemp = new ASObjectModel("LCEbankListchly");
@ -29,7 +38,7 @@
{flag,"All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
{flag,"","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
{"false","","Button","废弃","废弃","abandon()","","","","btn_icon_delete",""},
{"true","","Button","确认收入","确认收入","confirmIncome()","","","","btn_icon_valid",""},
{falgConfirm,"","Button","确认收入","确认收入","confirmIncome()","","","","btn_icon_valid",""},
{flag,"","Button","确认退回","确认退回","confirmpayback()","","","","btn_icon_valid",""},
{"false","","Button","默认导入Excel","导入Excel","MoRen_importExcel()","","","","btn_icon_import",""},
{"false","","Button","默认网银模版下载","网银模版下载","MoRenebankDownload()","","","","btn_icon_down",""},

View File

@ -1,4 +1,5 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ page import="com.tenwa.flow.lease.check.contract.IsNullCheck" %>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2017-06-02
@ -7,30 +8,39 @@
*/
String sPrevUrl = CurPage.getParameter("PrevUrl");
String ishistory = CurPage.getParameter("IsHistory");
//FlowKey中存的是EBANK_SN网银流水号
String ebankSn = CurPage.getParameter("FlowKey");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "LCEbankTempInfo";//--Ä£°åºÅ--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
dwTemp.ReadOnly = "1";//Ö»¶Áģʽ
dwTemp.genHTMLObjectWindow(CurPage.getParameter("FlowUnid"));
IsNullCheck inc = new IsNullCheck();
inc.setEBANK_SN(ebankSn);
String result = inc.CustomerIdIsNullCheck();
String flag;
if(result=="Y"){
flag="true";
}else{
flag="false";
}
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","saveRecord()","","","",""},
{flag,"All","Button","保存","保存所有修改","saveRecord()","","","",""},
};
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
$(function(){
var CUSTOMER_NAME = getItemValue(0, 0, "CUSTOMER_NAME");
if(CUSTOMER_NAME==""||CUSTOMER_NAME==null){
//如果为空Y则非只读
if("<%=result%>"=="Y"){
setItemReadOnly(0, 0, "CUSTOMER_NAME", false);
}
});
function saveRecord(){
as_save("myiframe0");
}

View File

@ -39,7 +39,7 @@
<attribute name="UPDATEUSERID" label="更新人" type="STRING" length="32"/>
<attribute name="UPDATEORGID" label="更新部门" type="STRING" length="32"/>
<attribute name="UPDATETIME" label="更新时间" type="STRING" length="32"/>
<attribute name="RETURN_MONEY" label="退回金额" type="DOUBLE" length="22" scale="2"/>
<attribute name="FACT_TIME" label="交易时间" type="STRING" length="32"/>
<attribute name="VALUE_DATE" label="起息日" type="STRING" length="32"/>
<attribute name="TRANSACTION_TYPE" label="交易类型" type="STRING" length="32"/>
@ -67,6 +67,7 @@
<attribute name="INNER_NUMBER" label="内部编号" type="STRING" length="32"/>
<attribute name="BUSINESS_TYPE" label="业务类型" type="STRING" length="32"/>
<attribute name="CUSTOMER_TYPE" label="客商类型" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -243,6 +244,7 @@
<attribute name="UPDATEUSERID" label="更新人" type="STRING" length="32"/>
<attribute name="UPDATEORGID" label="更新部门" type="STRING" length="32"/>
<attribute name="UPDATETIME" label="更新时间" type="STRING" length="32"/>
<attribute name="RETURN_MONEY" label="退回金额" type="DOUBLE" length="22" scale="2"/>
</attributes>
<manager>
<managerProperties>