经销商保证金收取退回新增选择主体的功能
This commit is contained in:
parent
100d590058
commit
bda823985c
@ -6,6 +6,7 @@
|
||||
History Log:
|
||||
*/
|
||||
String sFlowUnid = CurPage.getParameter("FlowUnid");
|
||||
String phaseNo = CurPage.getParameter("PhaseNo");
|
||||
String sPrevUrl = CurPage.getParameter("ID");
|
||||
String ProjectName = CurPage.getParameter("ProjectName");
|
||||
String DistributorNo = CurPage.getParameter("DistributorNo");
|
||||
@ -22,7 +23,9 @@
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
//dwTemp.ReadOnly = "-2";//Ö»¶Áģʽ
|
||||
|
||||
if(!"0010".equals(phaseNo)){
|
||||
doTemp.setColInnerBtEvent("SUBJECTNAME", "");//去掉选择对话框
|
||||
}
|
||||
dwTemp.genHTMLObjectWindow(sFlowUnid);
|
||||
String acc_number = Sqlca.getString("select acc_number from OWN_ACCOUNT limit 0,1");
|
||||
String acc_bank = Sqlca.getString("select acc_bank from OWN_ACCOUNT limit 0,1");
|
||||
@ -53,6 +56,22 @@
|
||||
function returnList(){
|
||||
AsControl.OpenView("/DealerDeposit/DDepositReturn_TempList.jsp", "FlowUnid="+sFlowUnid,"_self","");
|
||||
}
|
||||
|
||||
// 获取主体信息
|
||||
function selectManySubject(){
|
||||
AsDialog.OpenSelector("selectManySubject","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""){
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
}
|
||||
sReturn = sReturn.split("@");
|
||||
setItemValue(0,0,"SUBJECTID",sReturn[0]);
|
||||
setItemValue(0,0,"SUBJECTNAME",sReturn[1]);
|
||||
},"请选择主体",'');
|
||||
}
|
||||
|
||||
|
||||
function selectBalance(){
|
||||
var money = getItemValue(0,0,"CAUTION_MONEY");
|
||||
var sReturn=AsControl.RunJavaMethodTrans("com.tenwa.flow.action.comm.SelectBalance","runs","distributor_no=<%=DistributorNo%>,caution_money="+money);
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
History Log:
|
||||
*/
|
||||
String sFlowUnid = CurPage.getParameter("FlowUnid");
|
||||
String phaseNo = CurPage.getParameter("PhaseNo");
|
||||
String sPrevUrl = CurPage.getParameter("id");
|
||||
|
||||
String rightType = CurPage.getParameter("RightType");
|
||||
@ -28,8 +29,12 @@
|
||||
dwTemp.Style = "2";//freeform
|
||||
|
||||
if("ReadOnly".equals(rightType)){
|
||||
dwTemp.ReadOnly = "1";//Ö»¶Áģʽ
|
||||
doTemp.setColInnerBtEvent("LOCAL_ACCOUNT,ACCOUNT_INFO", "");
|
||||
dwTemp.ReadOnly = "1";//只读模式
|
||||
doTemp.setColInnerBtEvent("LOCAL_ACCOUNT,ACCOUNT_INFO", "");
|
||||
}
|
||||
|
||||
if(!"0010".equals(phaseNo)){
|
||||
doTemp.setColInnerBtEvent("SUBJECTNAME", "");//去掉选择对话框
|
||||
}
|
||||
String acc_number = Sqlca.getString("select acc_number from OWN_ACCOUNT limit 0,1");
|
||||
String acc_bank = Sqlca.getString("select acc_bank from OWN_ACCOUNT limit 0,1");
|
||||
@ -69,6 +74,21 @@
|
||||
function returnList(){
|
||||
parent.selectItem(1);
|
||||
}
|
||||
|
||||
// 获取主体信息
|
||||
function selectManySubject(){
|
||||
AsDialog.OpenSelector("selectManySubject","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""){
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
}
|
||||
sReturn = sReturn.split("@");
|
||||
setItemValue(0,0,"SUBJECTID",sReturn[0]);
|
||||
setItemValue(0,0,"SUBJECTNAME",sReturn[1]);
|
||||
},"请选择主体",'');
|
||||
}
|
||||
|
||||
function selectaccount(){
|
||||
var disno = getItemValue(0, 0, "disno");
|
||||
// alert(id);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user