业务申请
This commit is contained in:
parent
8ca598b0e6
commit
69c434a2fd
@ -64,6 +64,10 @@
|
||||
function save(){
|
||||
var leasfrom = getItemValue(0,getRow(),"LEAS_FORM");
|
||||
var projectSource = getItemValue(0,getRow(),"PROJECT_SOURCE");
|
||||
if(leasfrom==""||projectSource==""){
|
||||
alert("保存失败!必填项信息不能为空!");
|
||||
return;
|
||||
}
|
||||
frame_list.window.saveRecord(leasfrom,projectSource);
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -223,25 +223,7 @@
|
||||
}else{
|
||||
alert("请先选择车系");
|
||||
}
|
||||
}
|
||||
|
||||
<%/*~[Describe=选择客户;]~*/%>
|
||||
function selectCustomerName()
|
||||
{
|
||||
AsDialog.OpenSelector("SelectCustomerForProjectApprove","","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("@");
|
||||
alert(sReturn[1]);
|
||||
setItemValue(0,0,"CUSTOMERID",sReturn[0]);
|
||||
setItemValue(0,0,"customername",sReturn[1]);
|
||||
},"请选择客户",'');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
<%/*~[Describe=选择产品类型;]~*/%>
|
||||
function selectBusinessType()
|
||||
@ -280,6 +262,23 @@
|
||||
|
||||
}
|
||||
|
||||
<%/*~[Describe=选择客户;]~*/%>
|
||||
function selectCustomerName()
|
||||
{
|
||||
AsDialog.OpenSelector("SelectCustomerForProjectApprove","","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("@");
|
||||
alert(sReturn[1]);
|
||||
setItemValue(0,0,"CUSTOMERID",sReturn[0]);
|
||||
setItemValue(0,0,"customername",sReturn[1]);
|
||||
},"请选择客户",'');
|
||||
}
|
||||
|
||||
</script>
|
||||
<%/*~END~*/%>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user