diff --git a/erp_web/css/common.css b/erp_web/css/common.css index 861c2e72..1460c498 100644 --- a/erp_web/css/common.css +++ b/erp_web/css/common.css @@ -23,6 +23,11 @@ padding-left: 20px; } +#tablePanel #searchTable { + height: 40px; + padding: 5px; +} + .system-config { padding: 5px; font-size: 13px; diff --git a/erp_web/css/jsherp.css b/erp_web/css/jsherp.css index a84b53ad..71202919 100644 --- a/erp_web/css/jsherp.css +++ b/erp_web/css/jsherp.css @@ -1,7 +1,7 @@ /*! - * Copyright (c) 2013-Now http://jeesite.com All rights reserved. - * @author ThinkGem - * @version 2019-7-10 + * Copyright (c) 2013-Now 华夏erp All rights reserved. + * @author jishenghua + * @version 2019-09-14 */ .nobg { background: none !important diff --git a/erp_web/home.html b/erp_web/home.html index 93a42def..adefe13a 100644 --- a/erp_web/home.html +++ b/erp_web/home.html @@ -33,7 +33,7 @@
今日累计销售 - 90元 + 0元
@@ -42,7 +42,7 @@
本月累计销售 - 410元 + 0元
@@ -52,7 +52,7 @@
本月累计进货 - 760元 + 0元
diff --git a/erp_web/js/adminlte/css/skins/skin-blue-light2.css b/erp_web/js/adminlte/css/skins/skin-blue-light2.css index 79449677..20a13319 100644 --- a/erp_web/js/adminlte/css/skins/skin-blue-light2.css +++ b/erp_web/js/adminlte/css/skins/skin-blue-light2.css @@ -1,6 +1,3 @@ -/* - * http://jeesite.com - */ .main-header .navbar { background-color: #1890ff; } diff --git a/erp_web/js/common/common.js b/erp_web/js/common/common.js index 4374d6ac..154b7d89 100644 --- a/erp_web/js/common/common.js +++ b/erp_web/js/common/common.js @@ -47,9 +47,10 @@ } } function dgResize() { + var searchTabHeight = $('#searchTable').height(); $('#tableData').datagrid('resize', { width: $(window).width() - 6, - height: $(window).height() - 76 + height: $(window).height() - searchTabHeight -46 }); } $(window).resize(function () { diff --git a/erp_web/js/common/des.js b/erp_web/js/common/des.js index 080ab468..d1b60715 100644 --- a/erp_web/js/common/des.js +++ b/erp_web/js/common/des.js @@ -7,7 +7,7 @@ * $('#inputForm').submit(function(){ * $('#password').val(DesUtils.encode($('#password').val(), '1,2,3')); * }); - * @author ThinkGem + * @author jishenghua */ (function() { diff --git a/erp_web/js/common/i18n/jsherp_zh_CN.js b/erp_web/js/common/i18n/jsherp_zh_CN.js index 35abf076..fe272d2b 100644 --- a/erp_web/js/common/i18n/jsherp_zh_CN.js +++ b/erp_web/js/common/i18n/jsherp_zh_CN.js @@ -1,9 +1,8 @@ /*! - * Copyright (c) 2013-Now http://jeesite.com All rights reserved. - * - * 国际化文件 - * @author ThinkGem - * @version 2017-12-24 + * Copyright (c) 2013-Now 华夏erp All rights reserved. + * + * @author jishenghua + * @version 2019-09-14 */ (function (a) { window.js = window.js || {}; diff --git a/erp_web/js/common/jsherp.js b/erp_web/js/common/jsherp.js index f6083b14..5a23be20 100644 --- a/erp_web/js/common/jsherp.js +++ b/erp_web/js/common/jsherp.js @@ -1,12 +1,12 @@ /*! - * Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * Copyright (c) 2013-Now 华夏ERP All rights reserved. * * 通用公共JavaScript,注意:项目请不要修改公共CSS样式,若需要新增或调整,请在common.js中覆盖 - * @author ThinkGem - * @version 2019-7-10 + * @author jishenghua + * @version 2019-9-14 */ if (typeof jQuery === "undefined") { - throw new Error("JeeSite's JavaScript requires jQuery") + throw new Error("JSHERP's JavaScript requires jQuery") } (function($, window, undefined) { parent.$("iframe.ui-layout-content").each(function() { diff --git a/erp_web/js/icheck/1.0/icheck.js b/erp_web/js/icheck/1.0/icheck.js index 019016c4..73cf0762 100644 --- a/erp_web/js/icheck/1.0/icheck.js +++ b/erp_web/js/icheck/1.0/icheck.js @@ -80,7 +80,7 @@ disabledClass: _disabled, indeterminateClass: _indeterminate, - // ThinkGem add default style. + // jishenghua add default style. checkboxClass: 'icheckbox_minimal-grey', radioClass: 'iradio_minimal-grey', diff --git a/erp_web/js/jquery-plugins/jquery.inputmask.js b/erp_web/js/jquery-plugins/jquery.inputmask.js index 8bf19144..2cbc8d44 100644 --- a/erp_web/js/jquery-plugins/jquery.inputmask.js +++ b/erp_web/js/jquery-plugins/jquery.inputmask.js @@ -4,7 +4,7 @@ * Copyright (c) 2010 - 2015 Robin Herbots * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) * Version: 3.2.3-5 -* @ThinkGem 新增money千分位格式别名,举例如下: +* @jishenghua 新增money千分位格式别名,举例如下: * $(".moneyMask").inputmask({alias:"money"}); // 金额数据格式(初始化完成表单后调用) * $('.moneyMask').inputmask('remove'); // 金额数据格式化恢复(表单提交之前调用) */ @@ -2426,7 +2426,7 @@ digitsOptional: !1, clearMaskOnLostFocus: !1 }, - // ThinkGem 2015-10-14 + // jishenghua 2015-10-14 money: { prefix: "", groupSeparator: ",", diff --git a/erp_web/js/jquery-plugins/jquery.slimscroll.js b/erp_web/js/jquery-plugins/jquery.slimscroll.js index 96680e65..10518f5d 100644 --- a/erp_web/js/jquery-plugins/jquery.slimscroll.js +++ b/erp_web/js/jquery-plugins/jquery.slimscroll.js @@ -460,7 +460,7 @@ } } - hideBar(); // ThinkGem 初始化完成滚动条自动隐藏 + hideBar(); // jishenghua 初始化完成滚动条自动隐藏 }); diff --git a/erp_web/js/jquery-ztree/3.5/js/jquery.ztree.all-3.5.js b/erp_web/js/jquery-ztree/3.5/js/jquery.ztree.all-3.5.js index 768e85b7..e7c26372 100644 --- a/erp_web/js/jquery-ztree/3.5/js/jquery.ztree.all-3.5.js +++ b/erp_web/js/jquery-ztree/3.5/js/jquery.ztree.all-3.5.js @@ -3820,13 +3820,13 @@ })(jQuery); /* - * 扩展方法 ThinkGem + * 扩展方法 jishenghua */ (function($){ $.extend(true, $.fn.zTree, { /** * 根据级别展开节点(如果级别设置为-1,则:如果有1个根节点,则展开一级节点,否则不展开) - * ThinkGem 2018-3-7 + * jishenghua 2018-3-7 */ expandNodeByLevel: function(tree, expandLevel){ if (!tree){ diff --git a/erp_web/js/jquery/jquery-1.12.4.js b/erp_web/js/jquery/jquery-1.12.4.js index 0f68f751..6a3e65c2 100644 --- a/erp_web/js/jquery/jquery-1.12.4.js +++ b/erp_web/js/jquery/jquery-1.12.4.js @@ -212,7 +212,7 @@ jQuery.extend = jQuery.fn.extend = function() { // Prevent never-ending loop // if ( target === copy ) { - if (name === "__proto__" || target === copy) { // 修复jQuery原型污染漏洞 ThinkGem + if (name === "__proto__" || target === copy) { // 修复jQuery原型污染漏洞 jishenghua continue; } diff --git a/erp_web/js/layer/3.1/layer.js b/erp_web/js/layer/3.1/layer.js index b8a2130e..e8ccee48 100644 --- a/erp_web/js/layer/3.1/layer.js +++ b/erp_web/js/layer/3.1/layer.js @@ -15,7 +15,7 @@ var isLayui = window.layui && layui.define, $, win, ready = { }(), config: {}, end: {}, minIndex: 0, minLeft: [], - //btn: [layer.i18n.btnOk, layer.i18n.btnCancel], // ThinkGem + //btn: [layer.i18n.btnOk, layer.i18n.btnCancel], // jishenghua //五种原始层模式 type: ['dialog', 'page', 'iframe', 'loading', 'tips'] @@ -24,7 +24,7 @@ var isLayui = window.layui && layui.define, $, win, ready = { //默认内置方法。 var layer = { v: '3.0.3', - i18n: { // ThinkGem 国际化支持 + i18n: { // jishenghua 国际化支持 btnOk: '确定', btnCancel: '取消', title: '信息', @@ -231,7 +231,7 @@ Class.pt.vessel = function(conType, callback){ + (config.type == 1 && conType ? '' : (config.content||'')) + '' + ''+ function(){ - var closebtn = ismax && config.title ? '' : ''; // ThinkGem 必须有标题的清空下才能最小化 + var closebtn = ismax && config.title ? '' : ''; // jishenghua 必须有标题的清空下才能最小化 closebtn += ismax ? '' : ''; config.closeBtn && (closebtn += ''); return closebtn; @@ -276,8 +276,8 @@ Class.pt.creat = function(){ switch(config.type){ case 0: - //config.btn = ('btn' in config) ? config.btn : ready.btn[0]; ThinkGem - config.btn = ('btn' in config) ? config.btn : layer.i18n.btnOk;// ThinkGem + //config.btn = ('btn' in config) ? config.btn : ready.btn[0]; jishenghua + config.btn = ('btn' in config) ? config.btn : layer.i18n.btnOk;// jishenghua layer.closeAll('dialog'); break; case 2: @@ -286,7 +286,7 @@ Class.pt.creat = function(){ // + doms[4] +''+ times +'" name="'+ doms[4] +''+ times // +'" onload="this.className=\'\';" class="layui-layer-load" frameborder="0" src="' // + config.content[0] + '">'; - // 2017-5-13 ThinkGem 支持post方式提交iframe + // 2017-5-13 jishenghua 支持post方式提交iframe config.content = '