From 8b434a01ef9e2e48d1300be7792caa91f653b08e Mon Sep 17 00:00:00 2001 From: LSH Date: 星期一, 11 九月 2023 20:04:05 +0800 Subject: [PATCH] #销售核价可查看甲方单位与规划单信息 --- src/main/webapp/static/js/priSales/priSales.js | 32 +++++++++++++++++++++++++++++--- 1 files changed, 29 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/static/js/priSales/priSales.js b/src/main/webapp/static/js/priSales/priSales.js index c15348b..35ec07c 100644 --- a/src/main/webapp/static/js/priSales/priSales.js +++ b/src/main/webapp/static/js/priSales/priSales.js @@ -82,11 +82,13 @@ cellMinWidth: 150, cols: [[ {type: 'checkbox', fixed: 'left'} - ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80} - ,{field: 'templateName', align: 'center',title: '瀹㈡埛鍚嶇О'} + ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80,hide : true} + ,{field: 'templateName', align: 'center',title: '瀹㈡埛鍚嶇О', style: 'color: #1890ff;cursor:pointer', event: 'moreCstmr', width: 350,hide: false} + ,{field: 'cstmrId$', align: 'center',title: '瀹㈡埛id',hide: true} ,{field: 'inOrderNum', align: 'center',title: '鏄庣粏缂栧彿'} ,{field: 'orderNum', align: 'center',title: '鏍镐环鍗曞彿'} - ,{field: 'planId$', align: 'center',title: '椤圭洰鍚�'} + ,{field: 'planId$', align: 'center',title: '瑙勫垝鍗曞彿', style: 'color: #1890ff;cursor:pointer', event: 'morePlan'} + ,{field: 'itemId', align: 'center',title: '瑙勫垝鍗曞彿', hide: true} ,{field: 'createTime$', align: 'center',title: '鍒涘缓鏃堕棿'} ,{field: 'updateTime$', align: 'center',title: '鏇存柊鏃堕棿'} ,{field: 'memberId$', align: 'center',title: '涓氬姟鍛�'} @@ -231,6 +233,30 @@ table.on('tool(priSales)', function(obj){ var data = obj.data; switch (obj.event) { + case 'moreCstmr': + top.cstmrByMore = data.cstmrId$; + admin.popupRight({ + type: 1, + window: "top", + area: "1250px", + url: "../cstmr/cstmr_more.html", + end: function () { + // $(".layui-laypage-btn")[0].click(); + } + }) + break; + case 'morePlan': + top.planByMore = data.itemId; + admin.popupRight({ + type: 1, + window: "top", + area: "1250px", + url: "../plan/plan_more_other.html", + end: function () { + // $(".layui-laypage-btn")[0].click(); + } + }) + break; case "priOnline": layer.open({ type: 2, -- Gitblit v1.9.1