合同生成
This commit is contained in:
parent
452eff2b41
commit
2a902a1585
@ -201,6 +201,7 @@ function testTemplateLable(){
|
||||
window.frames["AttachmentList"].viewFile();
|
||||
}
|
||||
function importConfigure(){
|
||||
alert(11);
|
||||
var sPara = getItemValue(0,getRow(0),'id');
|
||||
if(typeof(sPara)=="undefined" || sPara.length==0 ){
|
||||
alert("参数不能为空!");
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
sProjId=bocl.getAttribute("proj_id").getString();
|
||||
sProductId=bocl.getAttribute("productId").getString();
|
||||
}
|
||||
if (sProductId.equals("0005")){
|
||||
/* if (sProductId.equals("0005")){
|
||||
LeaseType="DoubleLease";
|
||||
}else if(sProductId.equals("0001")){
|
||||
LeaseType="NormalLease";
|
||||
@ -47,7 +47,7 @@
|
||||
LeaseType="CarBusiness";
|
||||
}else{
|
||||
LeaseType="NoBusiness";
|
||||
}
|
||||
} */
|
||||
|
||||
doTemp.setHtmlEvent("ONECLASSIFY","onchange","initTwoClass");
|
||||
doTemp.setHtmlEvent("TWOCLASSIFY","onchange","initThreeClass");
|
||||
@ -99,7 +99,7 @@
|
||||
//加载一级分类选项
|
||||
function initOneClass(status){
|
||||
var oneClass=getItemValue(0,0,"ONECLASSIFY");
|
||||
var sql="SELECT itemno,itemname FROM code_library WHERE codeno='DocList' AND itemno LIKE '005%' AND LENGTH(itemno)=6 and attribute1='<%=LeaseType%>'";
|
||||
var sql="SELECT itemno,itemname FROM code_library WHERE codeno='DocList' AND itemno LIKE '005%' AND LENGTH(itemno)=6 ";
|
||||
initSelectOption(sql,"itemname","itemno","ONECLASSIFY");
|
||||
if(status=="edit"){
|
||||
setItemValue(0,0,"ONECLASSIFY",oneClass);
|
||||
@ -198,11 +198,11 @@
|
||||
alert("请勾选合同模板!");
|
||||
return;
|
||||
}
|
||||
|
||||
alert(tempids);
|
||||
var param={};
|
||||
var tempParam={};
|
||||
var sparam="";
|
||||
|
||||
// param["templateNo"]="0010";
|
||||
|
||||
tempParam["CurUserId"]="<%=CurUser.getUserID()%>";
|
||||
tempParam["CurOrgId"]="<%=CurUser.getOrgID()%>";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user