|
@@ -448,6 +448,22 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ function readProjectInfo(obj,numbers) {
|
|
|
+ if(numbers!=undefined && numbers!=""){
|
|
|
+ var vals=numbers.split(",");
|
|
|
+ var value="";
|
|
|
+ for (var i=0;i<vals.length;i++){
|
|
|
+ value+=vals[i]+";</br>"
|
|
|
+ }
|
|
|
+ if (vals.length>0){
|
|
|
+ layer.tips(value, obj, {
|
|
|
+ tips: [3, '#000'],
|
|
|
+ area: ['250px', 'auto'],
|
|
|
+ time: 3000
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
</script>
|
|
|
<style>
|
|
@@ -623,6 +639,12 @@
|
|
|
</form:select>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="layui-item query athird">
|
|
|
+ <label class="layui-form-label">项目名称:</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <form:input path="projectName" htmlEscape="false" class=" form-control layui-input"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</form:form>
|
|
|
</div>
|
|
@@ -667,17 +689,23 @@
|
|
|
,cols: [[
|
|
|
//{checkbox: true, fixed: true},
|
|
|
{field:'index',align:'center', title: '序号',width:40}
|
|
|
+ ,{field:'invoiceNum',align:'center', sort:true,title: '发票申请编号', minWidth:130,templet:function(d){
|
|
|
+ return "<a class=\"attention-info\" title=\""+ d.invoiceNum +"\"href=\"javascript:void(0);\" onclick=\"openDialogListView('查看发票管理', '${ctx}/workinvoiceAllTwo/workinvoiceAllTwo/form?id=" + d.id + "&tabId=1','"+ d.id +"','95%', '95%')\">" + d.invoiceNum + "</a>";
|
|
|
+ }}
|
|
|
,{field:'projName',align:'center', title: '项目名称', minWidth:160,templet:function(d){
|
|
|
if(1 == d.showView && d.showView != undefined){
|
|
|
- return "<a class=\"attention-info\" title=\"" + d.projName + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看项目', '${ctx}/workinvoiceAllTwo/workinvoiceAllTwo/projectview?id=" + d.id +"','95%', '95%')\">" + d.projName + "</a>";
|
|
|
+ return "<a class=\"attention-info\" onmouseover=\"readProjectInfo(this,'"+d.projName+"')\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看项目', '${ctx}/workinvoiceAll/workInvoiceAll/projectview?id=" + d.id +"','95%', '95%')\">" + d.projName + "</a>";
|
|
|
}else{
|
|
|
return "<span title='"+ d.projName +"'>" +d.projName+ "</span>";
|
|
|
}
|
|
|
- <%--return "<a class=\"attention-info\" title=\"" + d.projName + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看项目', '${ctx}/ruralProject/ruralProjectRecords/view?id=" + d.projectId +"','95%', '95%')\">" + d.projName + "</a>";--%>
|
|
|
}}
|
|
|
- ,{field:'invoiceNum',align:'center', sort:true,title: '发票申请编号', minWidth:130,templet:function(d){
|
|
|
- return "<a class=\"attention-info\" title=\""+ d.invoiceNum +"\"href=\"javascript:void(0);\" onclick=\"openDialogListView('查看发票管理', '${ctx}/workinvoiceAllTwo/workinvoiceAllTwo/form?id=" + d.id + "&tabId=1','"+ d.id +"','95%', '95%')\">" + d.invoiceNum + "</a>";
|
|
|
- }}
|
|
|
+ ,{field:'reportNumber',align:'center', sort:true,title: '报告号', minWidth:130,templet:function(d){
|
|
|
+ if (d.reportNumber!=''){
|
|
|
+ return "<span class=\"attention-info\" title=\""+ d.reportNumber +"\">" + d.reportNumber + "</span>";
|
|
|
+ }else{
|
|
|
+ return "<span class=\"attention-info\" title=\"\">无</span>";
|
|
|
+ }
|
|
|
+ }}
|
|
|
// ,{field:'widNumber',align:'center', title: '发票号', width:90,templet:function(d){
|
|
|
// return "<span title='"+ d.widNumber +"'>" + d.widNumber + "</span>";
|
|
|
// }}
|
|
@@ -687,9 +715,12 @@
|
|
|
,{field:'responsibleName', align:'center',title: '经办人', minWidth:80,templet:function(d){
|
|
|
return "<span title='"+ d.responsibleName +"'>" + d.responsibleName + "</span>";
|
|
|
}}
|
|
|
- ,{field:'officeName', align:'center',title: '经办单位',width:80,templet:function(d){
|
|
|
+ ,{field:'officeName', align:'center',title: '部门',width:80,templet:function(d){
|
|
|
return "<span title='"+ d.officeName +"'>" + d.officeName + "</span>";
|
|
|
}}
|
|
|
+ ,{field:'chargeType',align:'center', title: '收款类型', width:90,templet:function(d){
|
|
|
+ return "<span title='"+ d.chargeType +"'>" + d.chargeType + "</span>";
|
|
|
+ }}
|
|
|
,{field:'money',align:'center', title: '开票金额(元)', width:110,templet:function(d){
|
|
|
var numbers = new Array();;
|
|
|
if (d.workAccountListStr.length>0){
|
|
@@ -706,9 +737,6 @@
|
|
|
,{field:'billingContent',align:'center', title: '开票内容', width:90,templet:function(d){
|
|
|
return "<span title='"+ d.billingContent +"'>" + d.billingContent + "</span>";
|
|
|
}}
|
|
|
- ,{field:'chargeType',align:'center', title: '收款类型', width:90,templet:function(d){
|
|
|
- return "<span title='"+ d.chargeType +"'>" + d.chargeType + "</span>";
|
|
|
- }}
|
|
|
,{field:'invoiceType',align:'center', title: '发票类型', width:90,templet:function(d){
|
|
|
return "<span title='"+ d.invoiceType +"'>" + d.invoiceType + "</span>";
|
|
|
}}
|
|
@@ -810,7 +838,7 @@
|
|
|
,"projNum":"${workInvoice.project.projectId}"
|
|
|
,"projectId":"${workInvoice.project.id}"
|
|
|
,"areaName":"${workInvoice.project.county}"
|
|
|
- ,"reportNumber":"${workInvoice.project.reportData.number}"
|
|
|
+ ,"reportNumber":"${workInvoice.reportNumber}"
|
|
|
,"projName":"${workInvoice.projectName}"
|
|
|
,"clientName":"${workInvoice.client.name}"
|
|
|
,"officeName":"${workInvoice.office.name}"
|