多主体维护增加主题选择

This commit is contained in:
zhangjun 2019-11-30 20:28:09 +08:00
parent b5eb8d98c1
commit 35b75f3414
3 changed files with 16 additions and 1 deletions

View File

@ -39,6 +39,20 @@
setItemValue(0,getRow(),"BRANCH_TITLE",sReturn[3]);
},"请选择账户名称");
}
// 选择主体
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,"id",sReturn[0]);
setItemValue(0,0,"subject_name",sReturn[1]);
},"请选择客户",'');}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -25,7 +25,7 @@
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/MoreThemeMaintenanceInfo.jsp";
var sPara = getItemValue(0,getRow(0),'subject_name');
var sPara = getItemValue(0,getRow(0),'ID');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;

View File

@ -3350,6 +3350,7 @@
<attribute name="id" label="标识" type="STRING" length="32"/>
<attribute name="dealers_number" label="渠道编号" type="STRING" length="200"/>
<attribute name="dealers_name" label="渠道名称" type="STRING" length="200"/>
<attribute name="Whether_to_enable" label="是否启用" type="STRING" length="32"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="32"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="32"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="32"/>