From c1ca8a9ce9514d13a621e75115cb4fb936a2dbd5 Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期三, 19 三月 2025 14:47:28 +0800 Subject: [PATCH] 生产汇报单、产量汇报单、生产质量汇报单 增加:三个自定义过滤;日期间隔;审核,反审核, 基本信息页签 和 制单信息页签, 选基础资料时,应该是已审核未禁用的资料(包括 单据型基础资料 --- WebTM/layuiadmin/SetColumn.js | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/WebTM/layuiadmin/SetColumn.js b/WebTM/layuiadmin/SetColumn.js index d4a589b..fed287b 100644 --- a/WebTM/layuiadmin/SetColumn.js +++ b/WebTM/layuiadmin/SetColumn.js @@ -5,6 +5,17 @@ colName += option.cols[0][i]["field"] + ","; } + + var contentUrl = ""; + + var urlStr = window.document.location.pathname;//鑾峰彇鏂囦欢璺緞 + var urlLen = urlStr.split('/'); + for (var i = 0; i < urlLen.length - 4; i++) { + contentUrl += "../"; + } + + contentUrl += '鍩虹璧勬枡/闅愯棌鍒楄缃�/Gy_GridView_Hide_New.html?HModName=' + HModName + '&colName=' + colName; + colName = encodeURI(colName.substring(0, colName.length - 1));//瀵� URI 杩涜缂栫爜 layer.open({ type: 2 @@ -14,7 +25,7 @@ , shift: 2 //寮瑰嚭鍔ㄧ敾 , area: ["50%", "90%"] //绐椾綋澶у皬 , maxmin: true //璁剧疆鏈�澶ф渶灏忔寜閽槸鍚︽樉绀� - , content: ['../../鍩虹璧勬枡/闅愯棌鍒楄缃�/Gy_GridView_Hide_New.html?HModName=' + HModName + '&colName=' + colName, "yes"] + , content: [contentUrl, "yes"] , btn: ["纭畾", "鍙栨秷"] , btn1: function (index, laero) { //鍒锋柊琛ㄦ牸鏁版嵁 -- Gitblit v1.9.1