From edc5404dae76f0f75a4de707f6e781dc77e3dd20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sat, 14 Sep 2019 10:43:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8D=95=E6=8D=AE=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=EF=BC=8C=E8=87=AA=E9=80=82=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/css/common.css | 5 + erp_web/css/jsherp.css | 6 +- erp_web/home.html | 6 +- .../adminlte/css/skins/skin-blue-light2.css | 3 - erp_web/js/common/common.js | 3 +- erp_web/js/common/des.js | 2 +- erp_web/js/common/i18n/jsherp_zh_CN.js | 9 +- erp_web/js/common/jsherp.js | 8 +- erp_web/js/icheck/1.0/icheck.js | 2 +- erp_web/js/jquery-plugins/jquery.inputmask.js | 4 +- .../js/jquery-plugins/jquery.slimscroll.js | 2 +- .../3.5/js/jquery.ztree.all-3.5.js | 4 +- erp_web/js/jquery/jquery-1.12.4.js | 2 +- erp_web/js/layer/3.1/layer.js | 26 +- erp_web/js/layer/3.1/skin/default/layer.css | 2 +- erp_web/js/modules/msg/topMenuMsg.js | 2 +- erp_web/js/modules/sys/sysIndex.css | 6 +- erp_web/js/modules/sys/sysIndex.js | 6 +- erp_web/js/modules/sys/sysLogin.css | 6 +- erp_web/js/modules/sys/sysLogin.js | 8 +- erp_web/js/modules/sys/sysRegister.css | 6 +- erp_web/js/pages/financial/financial_base.js | 1 + erp_web/js/pages/manage/supplier.js | 1 + erp_web/js/pages/materials/in_out.js | 5 +- erp_web/js/select2/4.0/select2.full.js | 8 +- erp_web/js/select2/4.0/select2.js | 8 +- erp_web/js/upbw/index.html | 164 +++- erp_web/js/wdScrollTab/js/TabPanel.extend.js | 2 +- erp_web/js/wdScrollTab/js/TabPanel.js | 753 +++++++++++++++++- erp_web/pages/financial/advance_in.html | 10 +- erp_web/pages/financial/giro.html | 10 +- erp_web/pages/financial/item_in.html | 10 +- erp_web/pages/financial/item_out.html | 10 +- erp_web/pages/financial/money_in.html | 10 +- erp_web/pages/financial/money_out.html | 10 +- erp_web/pages/manage/account.html | 11 +- erp_web/pages/manage/app.html | 11 +- erp_web/pages/manage/customer.html | 10 +- erp_web/pages/manage/depot.html | 11 +- erp_web/pages/manage/functions.html | 11 +- erp_web/pages/manage/inOutItem.html | 11 +- erp_web/pages/manage/log.html | 11 +- erp_web/pages/manage/member.html | 10 +- erp_web/pages/manage/organization.html | 3 +- erp_web/pages/manage/role.html | 11 +- erp_web/pages/manage/serialNumber.html | 11 +- erp_web/pages/manage/systemConfig.html | 13 +- erp_web/pages/manage/unit.html | 11 +- erp_web/pages/manage/user.html | 11 +- erp_web/pages/manage/vendor.html | 10 +- .../pages/materials/allocation_out_list.html | 10 +- erp_web/pages/materials/assemble_list.html | 10 +- erp_web/pages/materials/disassemble_list.html | 10 +- erp_web/pages/materials/material.html | 11 +- erp_web/pages/materials/materialProperty.html | 11 +- .../pages/materials/material_forselect.html | 12 +- erp_web/pages/materials/other_in_list.html | 10 +- erp_web/pages/materials/other_out_list.html | 10 +- erp_web/pages/materials/person.html | 11 +- .../pages/materials/purchase_back_list.html | 10 +- erp_web/pages/materials/purchase_in_list.html | 10 +- .../pages/materials/purchase_orders_list.html | 11 +- erp_web/pages/materials/retail_back_list.html | 10 +- erp_web/pages/materials/retail_out_list.html | 10 +- erp_web/pages/materials/sale_back_list.html | 10 +- erp_web/pages/materials/sale_orders_list.html | 11 +- erp_web/pages/materials/sale_out_list.html | 10 +- erp_web/pages/reports/account_report.html | 11 +- erp_web/pages/reports/buy_in_report.html | 11 +- erp_web/pages/reports/customer_account.html | 11 +- erp_web/pages/reports/in_detail.html | 11 +- erp_web/pages/reports/in_material_count.html | 11 +- .../pages/reports/in_out_stock_report.html | 11 +- erp_web/pages/reports/out_detail.html | 11 +- erp_web/pages/reports/out_material_count.html | 11 +- erp_web/pages/reports/sale_out_report.html | 11 +- .../pages/reports/stock_warning_report.html | 11 +- erp_web/pages/reports/vendor_account.html | 11 +- erp_web/register.html | 2 - .../erp/controller/DepotHeadController.java | 37 + .../datasource/mappers/DepotHeadMapperEx.java | 7 + .../service/depotHead/DepotHeadService.java | 4 + .../mapper_xml/DepotHeadMapperEx.xml | 25 + 83 files changed, 1151 insertions(+), 498 deletions(-) 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 = '