|
@@ -267,16 +267,16 @@
|
|
|
page: false,
|
|
|
cols: [[
|
|
|
{type: 'numbers', align:'center', title: '序号' ,width:80},
|
|
|
- {field: 'contractName', title: '合同名称',templet:function(d){
|
|
|
+ {field: 'contractName', title: '合同编号',templet:function(d){
|
|
|
if(0 == d.pid){
|
|
|
- return "<a class=\"attention-info\" href=\"javascript:void(0)\" onclick=\"openDialogView('查看合同内容', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=contentView&condition=according&dictType=&id="+d.contentPId+"&parentIds="+d.parentIds+"&infoId="+d.id+"','95%', '95%')\">" + d.contractName + "</a>";
|
|
|
+ return "<font>"+d.cnumber+"</font>";
|
|
|
}else{
|
|
|
- return "<a>" + d.contractName + "</a>";
|
|
|
+ return "<font>"+d.cnumber+"</font>";
|
|
|
}
|
|
|
}},
|
|
|
- {field: 'number', align:'center', title: '签证编号',templet:function(d){
|
|
|
+ {field: 'contractName', title: '合同名称/签证编号',templet:function(d){
|
|
|
if(0 == d.pid){
|
|
|
- return "";
|
|
|
+ return "<a class=\"attention-info pid\" title=\"" + d.contractName + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看合同信息', '${ctx}/project/constructionContract/view?id=" + d.contractId +"','95%', '95%')\">" + d.contractName + "</a>";
|
|
|
}else{
|
|
|
return "<a class=\"attention-info\" href=\"javascript:void(0)\" onclick=\"openDialogView('查看签证内容', '${ctx}/project/projectVisa/view?id="+d.id+"','95%', '95%')\">" + d.number + "</a>";
|
|
|
}
|