业务申请,新增申请
This commit is contained in:
parent
4e29649976
commit
9b4447cc2c
@ -243,21 +243,41 @@
|
||||
}
|
||||
|
||||
|
||||
<%/*~[Describe=选择业务品种;]~*/%>
|
||||
<%/*~[Describe=选择产品类型;]~*/%>
|
||||
function selectBusinessType()
|
||||
{
|
||||
|
||||
var carAttributes = getItemValue(0,0,"carAttributes");
|
||||
var leasehold = getItemValue(0,0,"leasehold");
|
||||
|
||||
if(carAttributes=='1'){
|
||||
AsDialog.OpenSelector("SelectBusinessType","ProductType,1,TypeNo,0005","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_")
|
||||
{
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
}
|
||||
sReturn = sReturn.split("@");
|
||||
alert(sReturn);
|
||||
setItemValue(0,0,"productId",sReturn[0]);
|
||||
setItemValue(0,0,"productName",sReturn[1]);
|
||||
},"请选择业务品种",'');
|
||||
function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_")
|
||||
{
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
}
|
||||
sReturn = sReturn.split("@");
|
||||
alert(sReturn);
|
||||
setItemValue(0,0,"productId",sReturn[0]);
|
||||
setItemValue(0,0,"productName",sReturn[1]);
|
||||
},"请选择产品类型",'');
|
||||
}else if(carAttributes=='2'){
|
||||
AsDialog.OpenSelector("SelectBusinessType","ProductType,1,TypeNo,0005","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_")
|
||||
{
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
}
|
||||
sReturn = sReturn.split("@");
|
||||
alert(sReturn);
|
||||
setItemValue(0,0,"productId",sReturn[0]);
|
||||
setItemValue(0,0,"productName",sReturn[1]);
|
||||
},"请选择产品类型",'');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user