优化单据显示,自适应

This commit is contained in:
季圣华
2019-09-14 10:43:17 +08:00
parent 9247e77398
commit edc5404dae
83 changed files with 1151 additions and 498 deletions

View File

@@ -23,6 +23,11 @@
padding-left: 20px; padding-left: 20px;
} }
#tablePanel #searchTable {
height: 40px;
padding: 5px;
}
.system-config { .system-config {
padding: 5px; padding: 5px;
font-size: 13px; font-size: 13px;

View File

@@ -1,7 +1,7 @@
/*! /*!
* Copyright (c) 2013-Now http://jeesite.com All rights reserved. * Copyright (c) 2013-Now 华夏erp All rights reserved.
* @author ThinkGem * @author jishenghua
* @version 2019-7-10 * @version 2019-09-14
*/ */
.nobg { .nobg {
background: none !important background: none !important

View File

@@ -33,7 +33,7 @@
<span class="info-box-icon bg-aqua"><i class="fa fa-shopping-bag"></i></span> <span class="info-box-icon bg-aqua"><i class="fa fa-shopping-bag"></i></span>
<div class="info-box-content"> <div class="info-box-content">
<span class="info-box-text">今日累计销售</span> <span class="info-box-text">今日累计销售</span>
<span id="todaySale" class="info-box-number">90元</span> <span id="todaySale" class="info-box-number">0元</span>
</div> </div>
</div> </div>
</div> </div>
@@ -42,7 +42,7 @@
<span class="info-box-icon bg-red"><i class="fa fa-shopping-cart"></i></span> <span class="info-box-icon bg-red"><i class="fa fa-shopping-cart"></i></span>
<div class="info-box-content"> <div class="info-box-content">
<span class="info-box-text">本月累计销售</span> <span class="info-box-text">本月累计销售</span>
<span id="thisMonthSale" class="info-box-number">410元</span> <span id="thisMonthSale" class="info-box-number">0元</span>
</div> </div>
</div> </div>
</div> </div>
@@ -52,7 +52,7 @@
<span class="info-box-icon bg-green"><i class="fa fa-shopping-basket"></i></span> <span class="info-box-icon bg-green"><i class="fa fa-shopping-basket"></i></span>
<div class="info-box-content"> <div class="info-box-content">
<span class="info-box-text">本月累计进货</span> <span class="info-box-text">本月累计进货</span>
<span id="thisMonthBuy" class="info-box-number">760元</span> <span id="thisMonthBuy" class="info-box-number">0元</span>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1,6 +1,3 @@
/*
* http://jeesite.com
*/
.main-header .navbar { .main-header .navbar {
background-color: #1890ff; background-color: #1890ff;
} }

View File

@@ -47,9 +47,10 @@
} }
} }
function dgResize() { function dgResize() {
var searchTabHeight = $('#searchTable').height();
$('#tableData').datagrid('resize', { $('#tableData').datagrid('resize', {
width: $(window).width() - 6, width: $(window).width() - 6,
height: $(window).height() - 76 height: $(window).height() - searchTabHeight -46
}); });
} }
$(window).resize(function () { $(window).resize(function () {

View File

@@ -7,7 +7,7 @@
* $('#inputForm').submit(function(){ * $('#inputForm').submit(function(){
* $('#password').val(DesUtils.encode($('#password').val(), '1,2,3')); * $('#password').val(DesUtils.encode($('#password').val(), '1,2,3'));
* }); * });
* @author ThinkGem * @author jishenghua
*/ */
(function() { (function() {

View File

@@ -1,9 +1,8 @@
/*! /*!
* Copyright (c) 2013-Now http://jeesite.com All rights reserved. * Copyright (c) 2013-Now 华夏erp All rights reserved.
* *
* 国际化文件 * @author jishenghua
* @author ThinkGem * @version 2019-09-14
* @version 2017-12-24
*/ */
(function (a) { (function (a) {
window.js = window.js || {}; window.js = window.js || {};

View File

@@ -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中覆盖 * 通用公共JavaScript注意项目请不要修改公共CSS样式若需要新增或调整请在common.js中覆盖
* @author ThinkGem * @author jishenghua
* @version 2019-7-10 * @version 2019-9-14
*/ */
if (typeof jQuery === "undefined") { if (typeof jQuery === "undefined") {
throw new Error("JeeSite's JavaScript requires jQuery") throw new Error("JSHERP's JavaScript requires jQuery")
} }
(function($, window, undefined) { (function($, window, undefined) {
parent.$("iframe.ui-layout-content").each(function() { parent.$("iframe.ui-layout-content").each(function() {

View File

@@ -80,7 +80,7 @@
disabledClass: _disabled, disabledClass: _disabled,
indeterminateClass: _indeterminate, indeterminateClass: _indeterminate,
// ThinkGem add default style. // jishenghua add default style.
checkboxClass: 'icheckbox_minimal-grey', checkboxClass: 'icheckbox_minimal-grey',
radioClass: 'iradio_minimal-grey', radioClass: 'iradio_minimal-grey',

View File

@@ -4,7 +4,7 @@
* Copyright (c) 2010 - 2015 Robin Herbots * Copyright (c) 2010 - 2015 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.2.3-5 * Version: 3.2.3-5
* @ThinkGem 新增money千分位格式别名举例如下 * @jishenghua 新增money千分位格式别名举例如下
* $(".moneyMask").inputmask({alias:"money"}); // 金额数据格式(初始化完成表单后调用) * $(".moneyMask").inputmask({alias:"money"}); // 金额数据格式(初始化完成表单后调用)
* $('.moneyMask').inputmask('remove'); // 金额数据格式化恢复(表单提交之前调用) * $('.moneyMask').inputmask('remove'); // 金额数据格式化恢复(表单提交之前调用)
*/ */
@@ -2426,7 +2426,7 @@
digitsOptional: !1, digitsOptional: !1,
clearMaskOnLostFocus: !1 clearMaskOnLostFocus: !1
}, },
// ThinkGem 2015-10-14 // jishenghua 2015-10-14
money: { money: {
prefix: "", prefix: "",
groupSeparator: ",", groupSeparator: ",",

View File

@@ -460,7 +460,7 @@
} }
} }
hideBar(); // ThinkGem 初始化完成滚动条自动隐藏 hideBar(); // jishenghua 初始化完成滚动条自动隐藏
}); });

View File

@@ -3820,13 +3820,13 @@
})(jQuery); })(jQuery);
/* /*
* 扩展方法 ThinkGem * 扩展方法 jishenghua
*/ */
(function($){ (function($){
$.extend(true, $.fn.zTree, { $.extend(true, $.fn.zTree, {
/** /**
* 根据级别展开节点(如果级别设置为-1如果有1个根节点则展开一级节点否则不展开 * 根据级别展开节点(如果级别设置为-1如果有1个根节点则展开一级节点否则不展开
* ThinkGem 2018-3-7 * jishenghua 2018-3-7
*/ */
expandNodeByLevel: function(tree, expandLevel){ expandNodeByLevel: function(tree, expandLevel){
if (!tree){ if (!tree){

View File

@@ -212,7 +212,7 @@ jQuery.extend = jQuery.fn.extend = function() {
// Prevent never-ending loop // Prevent never-ending loop
// if ( target === copy ) { // if ( target === copy ) {
if (name === "__proto__" || target === copy) { // 修复jQuery原型污染漏洞 ThinkGem if (name === "__proto__" || target === copy) { // 修复jQuery原型污染漏洞 jishenghua
continue; continue;
} }

View File

@@ -15,7 +15,7 @@ var isLayui = window.layui && layui.define, $, win, ready = {
}(), }(),
config: {}, end: {}, minIndex: 0, minLeft: [], 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'] type: ['dialog', 'page', 'iframe', 'loading', 'tips']
@@ -24,7 +24,7 @@ var isLayui = window.layui && layui.define, $, win, ready = {
//默认内置方法。 //默认内置方法。
var layer = { var layer = {
v: '3.0.3', v: '3.0.3',
i18n: { // ThinkGem 国际化支持 i18n: { // jishenghua 国际化支持
btnOk: '确定', btnOk: '确定',
btnCancel: '取消', btnCancel: '取消',
title: '信息', title: '信息',
@@ -231,7 +231,7 @@ Class.pt.vessel = function(conType, callback){
+ (config.type == 1 && conType ? '' : (config.content||'')) + (config.type == 1 && conType ? '' : (config.content||''))
+ '</div>' + '</div>'
+ '<span class="layui-layer-setwin">'+ function(){ + '<span class="layui-layer-setwin">'+ function(){
var closebtn = ismax && config.title ? '<a class="layui-layer-min" href="javascript:;"><cite></cite></a>' : ''; // ThinkGem 必须有标题的清空下才能最小化 var closebtn = ismax && config.title ? '<a class="layui-layer-min" href="javascript:;"><cite></cite></a>' : ''; // jishenghua 必须有标题的清空下才能最小化
closebtn += ismax ? '<a class="layui-layer-ico layui-layer-max" href="javascript:;"></a>' : ''; closebtn += ismax ? '<a class="layui-layer-ico layui-layer-max" href="javascript:;"></a>' : '';
config.closeBtn && (closebtn += '<a class="layui-layer-ico '+ doms[7] +' '+ doms[7] + (config.title ? config.closeBtn : (config.type == 4 ? '1' : '2')) +'" href="javascript:;"></a>'); config.closeBtn && (closebtn += '<a class="layui-layer-ico '+ doms[7] +' '+ doms[7] + (config.title ? config.closeBtn : (config.type == 4 ? '1' : '2')) +'" href="javascript:;"></a>');
return closebtn; return closebtn;
@@ -276,8 +276,8 @@ Class.pt.creat = function(){
switch(config.type){ switch(config.type){
case 0: case 0:
//config.btn = ('btn' in config) ? config.btn : ready.btn[0]; ThinkGem //config.btn = ('btn' in config) ? config.btn : ready.btn[0]; jishenghua
config.btn = ('btn' in config) ? config.btn : layer.i18n.btnOk;// ThinkGem config.btn = ('btn' in config) ? config.btn : layer.i18n.btnOk;// jishenghua
layer.closeAll('dialog'); layer.closeAll('dialog');
break; break;
case 2: case 2:
@@ -286,7 +286,7 @@ Class.pt.creat = function(){
// + doms[4] +''+ times +'" name="'+ doms[4] +''+ times // + doms[4] +''+ times +'" name="'+ doms[4] +''+ times
// +'" onload="this.className=\'\';" class="layui-layer-load" frameborder="0" src="' // +'" onload="this.className=\'\';" class="layui-layer-load" frameborder="0" src="'
// + config.content[0] + '"></iframe>'; // + config.content[0] + '"></iframe>';
// 2017-5-13 ThinkGem 支持post方式提交iframe // 2017-5-13 jishenghua 支持post方式提交iframe
config.content = '<iframe scrolling="'+ (config.content[1]||'auto') +'" allowtransparency="true" id="' config.content = '<iframe scrolling="'+ (config.content[1]||'auto') +'" allowtransparency="true" id="'
+ doms[4] +''+ times +'" name="'+ doms[4] +''+ times + doms[4] +''+ times +'" name="'+ doms[4] +''+ times
+ '" onload="this.className=\'\';" class="layui-layer-load" frameborder="0"></iframe><form id="' + '" onload="this.className=\'\';" class="layui-layer-load" frameborder="0"></iframe><form id="'
@@ -327,9 +327,9 @@ Class.pt.creat = function(){
config.scrollbar || doms.html.css('overflow', 'hidden').attr('layer-full', times); config.scrollbar || doms.html.css('overflow', 'hidden').attr('layer-full', times);
}).auto(times); }).auto(times);
//config.type == 2 && layer.ie == 6 && that.layero.find('iframe').attr('src', content[0]); // ThinkGem 不需要ie6 //config.type == 2 && layer.ie == 6 && that.layero.find('iframe').attr('src', content[0]); // jishenghua 不需要ie6
// 2017-5-13 ThinkGem 支持post方式提交iframe // 2017-5-13 jishenghua 支持post方式提交iframe
if (config.type == 2){ if (config.type == 2){
var form = that.layero.find('#' + doms[4] + '-form' + times), formData = config.contentFormData; var form = that.layero.find('#' + doms[4] + '-form' + times), formData = config.contentFormData;
for(var key in formData || {}){ for(var key in formData || {}){
@@ -454,7 +454,7 @@ Class.pt.offset = function(){
that.offsetLeft = layero.css('left'); that.offsetLeft = layero.css('left');
} }
that.offsetTop = that.offsetTop>0?that.offsetTop:0; // 2017-5-8 ThinkGem Top值不小于0 that.offsetTop = that.offsetTop>0?that.offsetTop:0; // 2017-5-8 jishenghua Top值不小于0
layero.css({top: that.offsetTop, left: that.offsetLeft}); layero.css({top: that.offsetTop, left: that.offsetLeft});
}; };
@@ -639,10 +639,10 @@ Class.pt.callback = function(){
if(index === 0){ if(index === 0){
if(config.yes){ if(config.yes){
var close = config.yes(that.index, layero); var close = config.yes(that.index, layero);
close === false || layer.close(that.index); // 2017-3-31 ThinkGem 添加返回值如果是false则关闭窗口 close === false || layer.close(that.index); // 2017-3-31 jishenghua 添加返回值如果是false则关闭窗口
} else if(config['btn1']){ } else if(config['btn1']){
var close = config['btn1'](that.index, layero); var close = config['btn1'](that.index, layero);
close === false || layer.close(that.index); // 2017-3-31 ThinkGem 添加返回值如果是false则关闭窗口 close === false || layer.close(that.index); // 2017-3-31 jishenghua 添加返回值如果是false则关闭窗口
} else { } else {
layer.close(that.index); layer.close(that.index);
} }
@@ -755,7 +755,7 @@ ready.rescollbar = function(index){
window.layer = layer; window.layer = layer;
//获取当前对话框所在窗口的jQuery对象和Window对象 ThinkGem //获取当前对话框所在窗口的jQuery对象和Window对象 jishenghua
layer.$ = layer.jQuery = jQuery; layer.$ = layer.jQuery = jQuery;
layer.window = window; layer.window = window;
@@ -786,7 +786,7 @@ layer.iframeSrc = function(index, url){
$('#'+ doms[0] + index).find('iframe').attr('src', url); $('#'+ doms[0] + index).find('iframe').attr('src', url);
}; };
//返回当前layer的iframe对象的window对象 ThinkGem //返回当前layer的iframe对象的window对象 jishenghua
layer.iframeWindow = function(index){ layer.iframeWindow = function(index){
var ifr = $('#'+ doms[0] + index).find('iframe'); var ifr = $('#'+ doms[0] + index).find('iframe');
if (ifr.length > 0){ if (ifr.length > 0){

View File

@@ -180,7 +180,7 @@ html #layuicss-skinlayercss{display: none; position: absolute; width: 1989px;}
.layui-layer-iframe{overflow-y: auto; -webkit-overflow-scrolling: touch;} .layui-layer-iframe{overflow-y: auto; -webkit-overflow-scrolling: touch;}
} }
/* ThinkGem */ /* jishenghua */
.layui-layer-title {font-weight:bold;font-size:15px;background:#fff;height:45px;line-height:45px;} .layui-layer-title {font-weight:bold;font-size:15px;background:#fff;height:45px;line-height:45px;}
.layui-layer-page .layui-layer-content {overflow-x:hidden;} .layui-layer-page .layui-layer-content {overflow-x:hidden;}
.layui-layer-page .layui-layer-content .form-file{padding-top:4px;} .layui-layer-page .layui-layer-content .form-file{padding-top:4px;}

View File

@@ -1,6 +1,6 @@
/*! /*!
* 消息推送实现 * 消息推送实现
* @author ThinkGem * @author jishenghua
*/ */
$(function () { $(function () {
unreadMsg() unreadMsg()

View File

@@ -1,7 +1,7 @@
/*! /*!
* Copyright (c) 2013-Now http://jeesite.com All rights reserved. * Copyright (c) 2013-Now 华夏erp All rights reserved.
* @author ThinkGem * @author jishenghua
* @version 2019-2-16 * @version 2019-09-14
*/ */
.fixed .main-header { .fixed .main-header {
position: relative; position: relative;

View File

@@ -1,10 +1,10 @@
if (self.frameElement && self.frameElement.tagName == "IFRAME") { if (self.frameElement && self.frameElement.tagName == "IFRAME") {
top.location.reload(); top.location.reload();
/*! /*!
* Copyright (c) 2013-Now http://jeesite.com All rights reserved. * Copyright (c) 2013-Now 华夏erp All rights reserved.
* *
* @author ThinkGem * @author jishenghua
* @version 2019-1-6 * @version 2019-09-14
*/ */
} }
+function (d) { +function (d) {

View File

@@ -1,7 +1,7 @@
/*! /*!
* Copyright (c) 2013-Now http://jeesite.com All rights reserved. * Copyright (c) 2013-Now 华夏erp All rights reserved.
* @author ThinkGem * @author jishenghua
* @version 2019-2-16 * @version 2019-09-14
*/ */
.login-page { .login-page {
background: #e3e7ec background: #e3e7ec

View File

@@ -1,8 +1,8 @@
/*! /*!
* Copyright (c) 2013-Now http://jeesite.com All rights reserved. * Copyright (c) 2013-Now 华夏erp All rights reserved.
* *
* @author ThinkGem * @author jishenghua
* @version 2019-1-6 * @version 2019-09-14
*/ */
$("#username, #password").on("focus blur", function () { $("#username, #password").on("focus blur", function () {
var a = this; var a = this;

View File

@@ -1,7 +1,7 @@
/*! /*!
* Copyright (c) 2013-Now http://jeesite.com All rights reserved. * Copyright (c) 2013-Now 华夏erp All rights reserved.
* @author ThinkGem * @author jishenghua
* @version 2019-2-16 * @version 2019-09-14
*/ */
.register-page { .register-page {
background: #e3e7ec background: #e3e7ec

View File

@@ -277,6 +277,7 @@
return; return;
} }
}); });
dgResize();
} }
//初始化表格数据-明细列表-编辑状态 //初始化表格数据-明细列表-编辑状态

View File

@@ -138,6 +138,7 @@
return; return;
} }
}); });
dgResize();
showSupplierDetails(1,initPageSize); showSupplierDetails(1,initPageSize);
} }

View File

@@ -561,6 +561,7 @@
return; return;
} }
}); });
dgResize();
} }
//查找库存的方法 //查找库存的方法
@@ -1299,9 +1300,9 @@
} else { } else {
sessionStorage.setItem("rowInfo", rowInfo); //将单据信息存入缓存中 sessionStorage.setItem("rowInfo", rowInfo); //将单据信息存入缓存中
if(listTitle == "采购订单列表") { if(listTitle == "采购订单列表") {
parent.addTab("订单转采购", "../materials/purchase_in_list.html?t=skip", ""); js.addTabPage(null, "订单转采购", "/pages/materials/purchase_in_list.html?t=skip");
} else if(listTitle == "销售订单列表") { } else if(listTitle == "销售订单列表") {
parent.addTab("订单转销售", "../materials/sale_out_list.html?t=skip", ""); js.addTabPage(null, "订单转销售", "/pages/materials/sale_out_list.html?t=skip");
} }
} }
} }

View File

@@ -4461,7 +4461,7 @@ S2.define('select2/dropdown/closeOnSelect',[
return CloseOnSelect; return CloseOnSelect;
}); });
// ThinkGem 默认为中文 // jishenghua 默认为中文
S2.define('select2/i18n/en',[],function () { S2.define('select2/i18n/en',[],function () {
// English // English
return { return {
@@ -4884,7 +4884,7 @@ S2.define('select2/defaults',[
return selection.text; return selection.text;
}, },
theme: 'default', theme: 'default',
width: '100%' // ThinkGem 宽度自适应 'resolve' width: '100%' // jishenghua 宽度自适应 'resolve'
}; };
}; };
@@ -5310,7 +5310,7 @@ S2.define('select2/core',[
this.on('close', function () { this.on('close', function () {
self.$container.removeClass('select2-container--open'); self.$container.removeClass('select2-container--open');
self.$selection.focus(); // ThinkGem 修正选择后焦点丢失 self.$selection.focus(); // jishenghua 修正选择后焦点丢失
}); });
this.on('enable', function () { this.on('enable', function () {
@@ -5374,7 +5374,7 @@ S2.define('select2/core',[
evt.preventDefault(); evt.preventDefault();
} }
} else { } else {
if (/*key === KEYS.ENTER || */key === KEYS.SPACE || // ThinkGem 去掉回车后打开下拉框解决jqgrid回车获取下一个输入框按键冲突 if (/*key === KEYS.ENTER || */key === KEYS.SPACE || // jishenghua 去掉回车后打开下拉框解决jqgrid回车获取下一个输入框按键冲突
(key === KEYS.DOWN && evt.altKey)) { (key === KEYS.DOWN && evt.altKey)) {
self.open(); self.open();

View File

@@ -4461,7 +4461,7 @@ S2.define('select2/dropdown/closeOnSelect',[
return CloseOnSelect; return CloseOnSelect;
}); });
//ThinkGem 默认为中文 //jishenghua 默认为中文
S2.define('select2/i18n/en',[],function () { S2.define('select2/i18n/en',[],function () {
// English // English
return { return {
@@ -4884,7 +4884,7 @@ S2.define('select2/defaults',[
return selection.text; return selection.text;
}, },
theme: 'default', theme: 'default',
width: '100%' // ThinkGem 宽度自适应 'resolve' width: '100%' // jishenghua 宽度自适应 'resolve'
}; };
}; };
@@ -5310,7 +5310,7 @@ S2.define('select2/core',[
this.on('close', function () { this.on('close', function () {
self.$container.removeClass('select2-container--open'); self.$container.removeClass('select2-container--open');
self.$selection.focus(); // ThinkGem 修正选择后焦点丢失 self.$selection.focus(); // jishenghua 修正选择后焦点丢失
}); });
this.on('enable', function () { this.on('enable', function () {
@@ -5374,7 +5374,7 @@ S2.define('select2/core',[
evt.preventDefault(); evt.preventDefault();
} }
} else { } else {
if (/*key === KEYS.ENTER || */key === KEYS.SPACE || // ThinkGem 去掉回车后打开下拉框解决jqgrid回车获取下一个输入框按键冲突 if (/*key === KEYS.ENTER || */key === KEYS.SPACE || // jishenghua 去掉回车后打开下拉框解决jqgrid回车获取下一个输入框按键冲突
(key === KEYS.DOWN && evt.altKey)) { (key === KEYS.DOWN && evt.altKey)) {
self.open(); self.open();

View File

@@ -1,40 +1,126 @@
<!DOCTYPE html> <!DOCTYPE html>
<!-- saved from url=(0049)http://demo.jeesite.com/js/static/upbw/index.html --> <html lang="zh-CN">
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <head>
<title>请升级您的浏览器</title><meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="renderer" content="webkit"><!--<base target="_blank">--><base href="." target="_blank"><style type="text/css"> <title>请升级您的浏览器</title>
a{text-decoration:none;color:#0072c6;}a:hover{text-decoration:none;color:#004d8c;} <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
body{width:960px;margin:0 auto;padding:10px;font-size:14px;line-height:24px;color:#454545;font-family:'Microsoft YaHei UI','Microsoft YaHei',DengXian,SimSun,'Segoe UI',Tahoma,Helvetica,sans-serif;} <meta name="renderer" content="webkit"><!--<base target="_blank">-->
h1{font-size:30px;line-height:80px;font-weight:100;margin-bottom:10px;} <base href="." target="_blank">
h2{font-size:20px;line-height:25px;font-weight:100;margin:10px 0;} <style type="text/css">
p{margin-bottom:10px;font-size:16px;} a {
hr{margin:20px 0;border:0;border-top:1px solid #dadada} text-decoration: none;
img{width:34px;height:34px;border:0;float:left;margin-right:10px;} color: #0072c6;
span{display:block;font-size:12px;line-height:12px;} }
.browser{padding:10px 0;}
.browser li{width:180px;height:34px;line-height:22px;float:left;list-style:none;padding-left:25px} a:hover {
.clean{clear:both;} text-decoration: none;
</style></head><body> color: #004d8c;
<h1>浏览器版本过低,是时候升级您的浏览器了</h1> }
<p>您正在使用 Internet Explorer 的过期版本IE6、IE7、IE8、IE9 内核的浏览器)。这意味着在升级浏览器前,您将无法继续访问。</p>
<hr> body {
<h2>为什么会出现这个页面?</h2> width: 960px;
<p>如果您不知道升级浏览器是什么意思请请教一些熟练电脑操作的朋友。如果您使用的不是IE6/7/8而是360、QQ、搜狗等双核浏览器出现这个页面可能是您切换到了兼容模式<strong style="color:#f00;">切换到极速模式</strong>下,如果还不行请升级至最新版浏览器。</p> margin: 0 auto;
<hr> padding: 10px;
<h2>请注意微软Microsoft对 Windows XP 及 IE6、IE7、IE8、IE9 的支持已经结束</h2> font-size: 14px;
<p>自 2014 年 4 月 8 日起微软Microsoft不再为 Windows XP 和 Internet Explorer 8 及以下版本提供相应支持和更新。如果您继续使用这些,您将可能受到病毒、间谍软件和其他恶意软件的攻击,无法确保个人信息的安全。请参阅 <a href="http://windows.microsoft.com/zh-cn/windows/end-support-help">Microsoft 关于 Windows XP 支持已经结束的说明</a></p> line-height: 24px;
<hr> color: #454545;
<h2>您可以选择更先进的浏览器</h2> font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', DengXian, SimSun, 'Segoe UI', Tahoma, Helvetica, sans-serif;
<p>推荐使用以下浏览器的最新版本。如果您的电脑已有以下浏览器的最新版本则直接使用该浏览器访问 <b id="url"><a href="http://demo.jeesite.com/js">http://demo.jeesite.com/js</a>&nbsp;</b>即可。</p> }
<div class="browser"><ul>
<li><img src="./index_files/chrome360.jpg"><a href="http://chrome.360.cn/"> 360极速浏览器<span>360 Chrome</span></a></li> h1 {
<li><img src="./index_files/chrome.jpg"><a href="http://www.google.cn/intl/zh-CN/chrome/browser/desktop/index.html"> 谷歌浏览器<span>Google Chrome</span></a></li> font-size: 30px;
<li><img src="./index_files/firefox.jpg"><a href="http://www.firefox.com.cn/download/"> 火狐浏览器<span>Mozilla Firefox</span></a></li> line-height: 80px;
<li><img src="./index_files/ie.jpg"><a href="http://windows.microsoft.com/zh-cn/internet-explorer/download-ie"> IE 11 浏览器<span>Internet Explorer</span></a></li> font-weight: 100;
</ul><div class="clean"></div></div> margin-bottom: 10px;
<hr><br> }
<script>
var url = location.href; url = url.substring(0, url.indexOf('/static/upbw')); h2 {
document.getElementById("url").innerHTML = '<a href="' + url + '">' + url + '</a>&nbsp;'; font-size: 20px;
</script> line-height: 25px;
</body></html> font-weight: 100;
margin: 10px 0;
}
p {
margin-bottom: 10px;
font-size: 16px;
}
hr {
margin: 20px 0;
border: 0;
border-top: 1px solid #dadada
}
img {
width: 34px;
height: 34px;
border: 0;
float: left;
margin-right: 10px;
}
span {
display: block;
font-size: 12px;
line-height: 12px;
}
.browser {
padding: 10px 0;
}
.browser li {
width: 180px;
height: 34px;
line-height: 22px;
float: left;
list-style: none;
padding-left: 25px
}
.clean {
clear: both;
}
</style>
</head>
<body>
<h1>浏览器版本过低,是时候升级您的浏览器了</h1>
<p>您正在使用 Internet Explorer 的过期版本IE6、IE7、IE8、IE9 内核的浏览器)。这意味着在升级浏览器前,您将无法继续访问。</p>
<hr>
<h2>为什么会出现这个页面?</h2>
<p>如果您不知道升级浏览器是什么意思请请教一些熟练电脑操作的朋友。如果您使用的不是IE6/7/8而是360、QQ、搜狗等双核浏览器出现这个页面可能是您切换到了兼容模式<strong style="color:#f00;">切换到极速模式</strong>下,如果还不行请升级至最新版浏览器。
</p>
<hr>
<h2>请注意微软Microsoft对 Windows XP 及 IE6、IE7、IE8、IE9 的支持已经结束</h2>
<p>自 2014 年 4 月 8 日起微软Microsoft不再为 Windows XP 和 Internet Explorer 8
及以下版本提供相应支持和更新。如果您继续使用这些,您将可能受到病毒、间谍软件和其他恶意软件的攻击,无法确保个人信息的安全。请参阅 <a
href="http://windows.microsoft.com/zh-cn/windows/end-support-help">Microsoft 关于 Windows XP 支持已经结束的说明</a>
</p>
<hr>
<h2>您可以选择更先进的浏览器</h2>
<p>推荐使用以下浏览器的最新版本。如果您的电脑已有以下浏览器的最新版本则直接使用该浏览器访问 <b id="url"><a href="https://www.huaxiaerp.com/">https://www.huaxiaerp.com/</a>&nbsp;</b>即可。
</p>
<div class="browser">
<ul>
<li><img src="./index_files/chrome360.jpg"><a href="http://chrome.360.cn/"> 360极速浏览器<span>360 Chrome</span></a>
</li>
<li><img src="./index_files/chrome.jpg"><a
href="http://www.google.cn/intl/zh-CN/chrome/browser/desktop/index.html">
谷歌浏览器<span>Google Chrome</span></a></li>
<li><img src="./index_files/firefox.jpg"><a href="http://www.firefox.com.cn/download/"> 火狐浏览器<span>Mozilla Firefox</span></a>
</li>
<li><img src="./index_files/ie.jpg"><a href="http://windows.microsoft.com/zh-cn/internet-explorer/download-ie">
IE 11 浏览器<span>Internet Explorer</span></a></li>
</ul>
<div class="clean"></div>
</div>
<hr>
<br>
<script>
var url = location.href;
url = url.substring(0, url.indexOf('/static/upbw'));
document.getElementById("url").innerHTML = '<a href="' + url + '">' + url + '</a>&nbsp;';
</script>
</body>
</html>

View File

@@ -1,6 +1,6 @@
/*! /*!
* 首页Tab页签通用方法 * 首页Tab页签通用方法
* @author ThinkGem * @author jishenghua
* @version 2017-3-26 * @version 2017-3-26
*/ */
(function (b) { (function (b) {

File diff suppressed because one or more lines are too long

View File

@@ -17,9 +17,8 @@
<script src="/js/pages/financial/financial_base.js"></script> <script src="/js/pages/financial/financial_base.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="收预付款列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -43,11 +42,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="收预付款列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -17,9 +17,8 @@
<script src="/js/pages/financial/financial_base.js"></script> <script src="/js/pages/financial/financial_base.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="转账单列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -43,11 +42,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="转账单列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -17,9 +17,8 @@
<script src="/js/pages/financial/financial_base.js"></script> <script src="/js/pages/financial/financial_base.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="收入单列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -43,11 +42,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="收入单列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -17,9 +17,8 @@
<script src="/js/pages/financial/financial_base.js"></script> <script src="/js/pages/financial/financial_base.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="支出单列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -43,11 +42,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="支出单列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -17,9 +17,8 @@
<script src="/js/pages/financial/financial_base.js"></script> <script src="/js/pages/financial/financial_base.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="收款单列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -43,11 +42,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="收款单列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -17,9 +17,8 @@
<script src="/js/pages/financial/financial_base.js"></script> <script src="/js/pages/financial/financial_base.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="付款单列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -43,11 +42,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="付款单列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -16,9 +16,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="结算账户" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;称:</td> <td>&nbsp;&nbsp;&nbsp;&nbsp;称:</td>
@@ -46,11 +45,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="结算账户" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
<div id="accountDlg" class="easyui-dialog" style="width:380px;padding:10px 20px" <div id="accountDlg" class="easyui-dialog" style="width:380px;padding:10px 20px"
@@ -175,6 +169,7 @@
return; return;
} }
}); });
dgResize();
showAccountDetails(1, initPageSize); showAccountDetails(1, initPageSize);
} }

View File

@@ -18,9 +18,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="应用列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>名称:</td> <td>名称:</td>
@@ -42,11 +41,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="应用列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -221,6 +215,7 @@
return; return;
} }
}); });
dgResize();
showAppDetails(1, initPageSize); showAppDetails(1, initPageSize);
} }

View File

@@ -16,9 +16,8 @@
<script src="/js/pages/manage/supplier.js"></script> <script src="/js/pages/manage/supplier.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="客户信息列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;称:</td> <td>&nbsp;&nbsp;&nbsp;&nbsp;称:</td>
@@ -47,11 +46,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="客户信息列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
<div id="supplierDlg" class="easyui-dialog" style="width:580px;padding:10px 20px" <div id="supplierDlg" class="easyui-dialog" style="width:580px;padding:10px 20px"

View File

@@ -15,9 +15,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="仓库列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>仓库名称:</td> <td>仓库名称:</td>
@@ -36,11 +35,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="仓库列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -227,6 +221,7 @@
return; return;
} }
}); });
dgResize();
showDepotDetails(1, initPageSize); showDepotDetails(1, initPageSize);
} }

View File

@@ -15,9 +15,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="功能列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>名称:</td> <td>名称:</td>
@@ -43,11 +42,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="功能列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -206,6 +200,7 @@
return; return;
} }
}); });
dgResize();
showFunctionsDetails(1, initPageSize); showFunctionsDetails(1, initPageSize);
} }

View File

@@ -16,9 +16,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="收支项目" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;称:</td> <td>&nbsp;&nbsp;&nbsp;&nbsp;称:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="收支项目" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
<div id="inOutItemDlg" class="easyui-dialog" style="width:380px;padding:10px 20px" <div id="inOutItemDlg" class="easyui-dialog" style="width:380px;padding:10px 20px"
@@ -174,6 +168,7 @@
return; return;
} }
}); });
dgResize();
showInOutItemDetails(1, initPageSize); showInOutItemDetails(1, initPageSize);
} }

View File

@@ -15,9 +15,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;position: center;" title="查询窗口" iconCls="icon-search" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="操作日志列表" iconCls="icon-list">
collapsible="true" closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>操作模块:</td> <td>操作模块:</td>
@@ -74,11 +73,6 @@
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="操作日志列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="height:340px;top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="height:340px;top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
@@ -132,6 +126,7 @@
return; return;
} }
}); });
dgResize();
showLogDetails(1, initPageSize); showLogDetails(1, initPageSize);
} }

View File

@@ -16,9 +16,8 @@
<script src="/js/pages/manage/supplier.js"></script> <script src="/js/pages/manage/supplier.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="会员信息列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;称:</td> <td>&nbsp;&nbsp;&nbsp;&nbsp;称:</td>
@@ -47,11 +46,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="会员信息列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
<div id="supplierDlg" class="easyui-dialog" style="width:600px;padding:10px 20px" <div id="supplierDlg" class="easyui-dialog" style="width:600px;padding:10px 20px"

View File

@@ -20,8 +20,7 @@
</head> </head>
<body> <body>
<!-- 数据显示table --> <!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="机构列表" iconCls="icon-list" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="机构列表" iconCls="icon-list">
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF">
</table> </table>
</div> </div>

View File

@@ -18,9 +18,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="角色列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>角色名称:</td> <td>角色名称:</td>
@@ -39,11 +38,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="角色列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -155,6 +149,7 @@
return; return;
} }
}); });
dgResize();
showRoleDetails(1, initPageSize); showRoleDetails(1, initPageSize);
} }

View File

@@ -17,9 +17,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="序列号列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>商品名称:</td> <td>商品名称:</td>
@@ -38,11 +37,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="序列号列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
<input id="selectType" hidden="hidden" /> <input id="selectType" hidden="hidden" />
</div> </div>
@@ -268,6 +262,7 @@
return; return;
} }
}); });
dgResize();
showSerialNumberDetails(1, initPageSize); showSerialNumberDetails(1, initPageSize);
} }
//分页信息处理 //分页信息处理

View File

@@ -18,9 +18,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="系统配置" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>公司名称:</td> <td>公司名称:</td>
@@ -31,14 +30,9 @@
<td>&nbsp;</td> <td>&nbsp;</td>
<td> <td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;&nbsp; <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;&nbsp;
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="系统配置" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -173,6 +167,7 @@
return; return;
} }
}); });
dgResize();
showSystemConfigDetails(1, initPageSize); showSystemConfigDetails(1, initPageSize);
} }

View File

@@ -15,9 +15,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="计量单位列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>计量单位:</td> <td>计量单位:</td>
@@ -31,11 +30,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="计量单位列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -149,6 +143,7 @@
return; return;
} }
}); });
dgResize();
showUnitDetails(1, initPageSize); showUnitDetails(1, initPageSize);
} }

View File

@@ -18,9 +18,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="用户列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>登录名称:</td> <td>登录名称:</td>
@@ -45,11 +44,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="用户列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -232,6 +226,7 @@
return; return;
} }
}); });
dgResize();
showUserDetails(1, initPageSize); showUserDetails(1, initPageSize);
} }

View File

@@ -16,9 +16,8 @@
<script src="/js/pages/manage/supplier.js"></script> <script src="/js/pages/manage/supplier.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="供应商信息列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;称:</td> <td>&nbsp;&nbsp;&nbsp;&nbsp;称:</td>
@@ -47,11 +46,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="供应商信息列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
<div id="supplierDlg" class="easyui-dialog" style="width:580px;padding:10px 20px" <div id="supplierDlg" class="easyui-dialog" style="width:580px;padding:10px 20px"

View File

@@ -20,9 +20,8 @@
<script src="/js/pages/materials/in_out.js"></script> <script src="/js/pages/materials/in_out.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="调拨出库列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="调拨出库列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -20,9 +20,8 @@
<script src="/js/pages/materials/in_out.js"></script> <script src="/js/pages/materials/in_out.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="组装单列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="组装单列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -20,9 +20,8 @@
<script src="/js/pages/materials/in_out.js"></script> <script src="/js/pages/materials/in_out.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="拆卸单列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="拆卸单列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -17,9 +17,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="商品列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>类别:</td> <td>类别:</td>
@@ -46,11 +45,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="商品列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -644,6 +638,7 @@
return; return;
} }
}); });
dgResize();
showMaterialDetails(1, initPageSize); showMaterialDetails(1, initPageSize);
} }

View File

@@ -15,9 +15,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="商品属性列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>名称:</td> <td>名称:</td>
@@ -31,11 +30,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="商品属性列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -143,6 +137,7 @@
return; return;
} }
}); });
dgResize();
showMaterialPropertyDetails(1, initPageSize); showMaterialPropertyDetails(1, initPageSize);
} }

View File

@@ -17,9 +17,9 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchForSelectPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tableForSelectPanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="商品列表" iconCls="icon-list"
closable="false"> collapsible="true" closable="false">
<table id="searchForSelectTable"> <table id="searchForSelectTable">
<tr> <tr>
<td>品名:</td> <td>品名:</td>
@@ -38,11 +38,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tableForSelectPanel" class="easyui-panel" style="padding:1px;top:300px;" title="商品列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableForSelectData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableForSelectData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -118,6 +113,7 @@
$("#forSelectMaterialDlg").dialog('close'); $("#forSelectMaterialDlg").dialog('close');
} }
}); });
dgResize();
showMaterialDetails(1, initPageSize); showMaterialDetails(1, initPageSize);
} }

View File

@@ -20,9 +20,8 @@
<script src="/js/pages/materials/in_out.js"></script> <script src="/js/pages/materials/in_out.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px; top:300px;" title="其它入库列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px; top:300px;" title="其它入库列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -20,9 +20,8 @@
<script src="/js/pages/materials/in_out.js"></script> <script src="/js/pages/materials/in_out.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px; top:300px;" title="其它出库列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px; top:300px;" title="其它出库列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -15,9 +15,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="经手人列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>姓名:</td> <td>姓名:</td>
@@ -42,11 +41,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="经手人列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -159,6 +153,7 @@
return; return;
} }
}); });
dgResize();
showPersonDetails(1, initPageSize); showPersonDetails(1, initPageSize);
} }

View File

@@ -20,9 +20,8 @@
<script src="/js/pages/materials/in_out.js"></script> <script src="/js/pages/materials/in_out.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px; top:300px;" title="采购退货列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px; top:300px;" title="采购退货列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -20,9 +20,8 @@
<script src="/js/pages/materials/in_out.js"></script> <script src="/js/pages/materials/in_out.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px; top:300px;" title="采购入库列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px; top:300px;" title="采购入库列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -16,13 +16,13 @@
<script src="/js/handlebars.js"></script> <script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script> <script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script> <script src="/js/common/common.js"></script>
<script src="/js/common/jsherp.js"></script>
<script src="/js/pages/materials/add_temp.js"></script> <script src="/js/pages/materials/add_temp.js"></script>
<script src="/js/pages/materials/in_out.js"></script> <script src="/js/pages/materials/in_out.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px; top:300px;" title="采购订单列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -50,11 +50,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px; top:300px;" title="采购订单列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -20,9 +20,8 @@
<script src="/js/pages/materials/in_out.js"></script> <script src="/js/pages/materials/in_out.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px; top:300px;" title="零售退货列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px; top:300px;" title="零售退货列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -20,9 +20,8 @@
<script src="/js/pages/materials/in_out.js"></script> <script src="/js/pages/materials/in_out.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px; top:300px;" title="零售出库列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px; top:300px;" title="零售出库列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -20,9 +20,8 @@
<script src="/js/pages/materials/in_out.js"></script> <script src="/js/pages/materials/in_out.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px; top:300px;" title="销售退货列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px; top:300px;" title="销售退货列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -16,13 +16,13 @@
<script src="/js/handlebars.js"></script> <script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script> <script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script> <script src="/js/common/common.js"></script>
<script src="/js/common/jsherp.js"></script>
<script src="/js/pages/materials/add_temp.js"></script> <script src="/js/pages/materials/add_temp.js"></script>
<script src="/js/pages/materials/in_out.js"></script> <script src="/js/pages/materials/in_out.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px; top:300px;" title="销售订单列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -50,11 +50,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px; top:300px;" title="销售订单列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -20,9 +20,8 @@
<script src="/js/pages/materials/in_out.js"></script> <script src="/js/pages/materials/in_out.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px; top:300px;" title="销售出库列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>单据编号:</td> <td>单据编号:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px; top:300px;" title="销售出库列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>

View File

@@ -18,9 +18,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="结算账户列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>名称:</td> <td>名称:</td>
@@ -45,11 +44,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="结算账户列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -111,6 +105,7 @@
return; return;
} }
}); });
dgResize();
showAccountDetails(1, initPageSize); showAccountDetails(1, initPageSize);
} }

View File

@@ -17,9 +17,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="进货统计列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>月份:</td> <td>月份:</td>
@@ -36,11 +35,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="进货统计列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -131,6 +125,7 @@
return; return;
} }
}); });
dgResize();
} }
//初始化键盘enter事件 //初始化键盘enter事件

View File

@@ -18,9 +18,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="客户对账列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>客户:</td> <td>客户:</td>
@@ -51,11 +50,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="客户对账列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -124,6 +118,7 @@
return; return;
} }
}); });
dgResize();
} }
//初始化键盘enter事件 //初始化键盘enter事件

View File

@@ -18,9 +18,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="入库明细列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>供应商:</td> <td>供应商:</td>
@@ -51,11 +50,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="入库明细列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -213,6 +207,7 @@
return; return;
} }
}); });
dgResize();
} }
//初始化键盘enter事件 //初始化键盘enter事件

View File

@@ -17,9 +17,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="入库汇总列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>供应商:</td> <td>供应商:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="入库汇总列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -202,6 +196,7 @@
return; return;
} }
}); });
dgResize();
} }
//初始化键盘enter事件 //初始化键盘enter事件

View File

@@ -17,9 +17,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="库存状况列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>仓库:</td> <td>仓库:</td>
@@ -43,11 +42,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="库存状况列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -231,6 +225,7 @@
return; return;
} }
}); });
dgResize();
} }
//初始化键盘enter事件 //初始化键盘enter事件

View File

@@ -18,9 +18,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="出库明细列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>客户:</td> <td>客户:</td>
@@ -51,11 +50,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="出库明细列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -213,6 +207,7 @@
return; return;
} }
}); });
dgResize();
} }
//初始化键盘enter事件 //初始化键盘enter事件

View File

@@ -17,9 +17,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="出库汇总列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>客户:</td> <td>客户:</td>
@@ -50,11 +49,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="出库汇总列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -202,6 +196,7 @@
return; return;
} }
}); });
dgResize();
} }
//初始化键盘enter事件 //初始化键盘enter事件

View File

@@ -17,9 +17,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="销售统计列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>月份:</td> <td>月份:</td>
@@ -37,11 +36,6 @@
<td>当前销售总额:<span class="first-total">0</span>&nbsp;&nbsp;<span class="tip">注:此处包含零售+批发销售</span></td> <td>当前销售总额:<span class="first-total">0</span>&nbsp;&nbsp;<span class="tip">注:此处包含零售+批发销售</span></td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="销售统计列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -135,6 +129,7 @@
return; return;
} }
}); });
dgResize();
} }
//初始化键盘enter事件 //初始化键盘enter事件

View File

@@ -17,9 +17,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="库存预警列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>仓库:</td> <td>仓库:</td>
@@ -38,11 +37,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="库存预警列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -224,6 +218,7 @@
return; return;
} }
}); });
dgResize();
} }
//初始化键盘enter事件 //初始化键盘enter事件

View File

@@ -18,9 +18,8 @@
<script type="text/javascript" src="/js/common/common.js"></script> <script type="text/javascript" src="/js/common/common.js"></script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 数据显示table -->
<div id="searchPanel" class="easyui-panel" style="padding:10px;" title="查询窗口" iconCls="icon-search" collapsible="true" <div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="供应商对账列表" iconCls="icon-list">
closable="false">
<table id="searchTable"> <table id="searchTable">
<tr> <tr>
<td>供应商:</td> <td>供应商:</td>
@@ -51,11 +50,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="供应商对账列表" iconCls="icon-list"
collapsible="true" closable="false">
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> </div>
@@ -123,6 +117,7 @@
return; return;
} }
}); });
dgResize();
} }
//初始化键盘enter事件 //初始化键盘enter事件

View File

@@ -4,9 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta content="webkit" name="renderer"/> <meta content="webkit" name="renderer"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="PoweredByJeeSiteV4.0"/>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/> <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
<meta name="description" content="PoweredByJeeSiteV4.0"/>
<meta content="no-cache" http-equiv="Pragma"/> <meta content="no-cache" http-equiv="Pragma"/>
<meta http-equiv="Expires" content="0"/> <meta http-equiv="Expires" content="0"/>
<meta content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/> <meta content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/>

View File

@@ -14,6 +14,7 @@ import com.jsh.erp.service.log.LogService;
import com.jsh.erp.utils.BaseResponseInfo; import com.jsh.erp.utils.BaseResponseInfo;
import com.jsh.erp.utils.ErpInfo; import com.jsh.erp.utils.ErpInfo;
import com.jsh.erp.utils.StringUtil; import com.jsh.erp.utils.StringUtil;
import com.jsh.erp.utils.Tools;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
@@ -30,6 +31,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import static com.jsh.erp.utils.ResponseJsonUtil.returnJson; import static com.jsh.erp.utils.ResponseJsonUtil.returnJson;
import static com.jsh.erp.utils.Tools.getNow3;
/** /**
* @author ji-sheng-hua 752*718*920 * @author ji-sheng-hua 752*718*920
@@ -457,4 +459,39 @@ public class DepotHeadController {
depotHeadService.batchDeleteDepotHeadAndDetail(ids); depotHeadService.batchDeleteDepotHeadAndDetail(ids);
return result; return result;
} }
/**
* 统计今日销售额、本月销售额、本月进货额
* @param request
* @return
*/
@GetMapping(value = "/getBuyAndSaleStatistics")
public BaseResponseInfo getBuyAndSaleStatistics(HttpServletRequest request) {
BaseResponseInfo res = new BaseResponseInfo();
Map<String, Object> map = new HashMap<String, Object>();
try {
String today = Tools.getNow() + " 00:00:00";
String firstDay = Tools.getCurrentMonth() + "-01 00:00:00";
BigDecimal todaySale = depotHeadService.getBuyAndSaleStatistics("出库", "销售",
1, today, getNow3()); //今日销售出库
BigDecimal todayRetailSale = depotHeadService.getBuyAndSaleStatistics("出库", "销售",
0, today, getNow3()); //今日零售出库
BigDecimal monthSale = depotHeadService.getBuyAndSaleStatistics("出库", "销售",
1,firstDay, getNow3()); //本月销售出库
BigDecimal monthRetailSale = depotHeadService.getBuyAndSaleStatistics("出库", "销售",
0,firstDay, getNow3()); //本月零售出库
BigDecimal monthBuy = depotHeadService.getBuyAndSaleStatistics("入库", "采购",
1, firstDay, getNow3()); //本月采购入库
map.put("todaySale", todaySale.add(todayRetailSale));
map.put("thisMonthSale", monthSale.add(monthRetailSale));
map.put("thisMonthBuy", monthBuy);
res.code = 200;
res.data = map;
} catch(Exception e){
e.printStackTrace();
res.code = 500;
res.data = "获取数据失败";
}
return res;
}
} }

View File

@@ -126,4 +126,11 @@ public interface DepotHeadMapperEx {
List<DepotHead> getDepotHeadListByHandsPersonIds(@Param("handsPersonIds") String[] handsPersonIds); List<DepotHead> getDepotHeadListByHandsPersonIds(@Param("handsPersonIds") String[] handsPersonIds);
List<DepotHead> getDepotHeadListByDepotIds(@Param("depotIds") String[] depotIds); List<DepotHead> getDepotHeadListByDepotIds(@Param("depotIds") String[] depotIds);
BigDecimal getBuyAndSaleStatistics(
@Param("type") String type,
@Param("subType") String subType,
@Param("hasSupplier") Integer hasSupplier,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime);
} }

View File

@@ -631,4 +631,8 @@ public class DepotHeadService {
} }
return result; return result;
} }
public BigDecimal getBuyAndSaleStatistics(String type, String subType, Integer hasSupplier, String beginTime, String endTime) {
return depotHeadMapperEx.getBuyAndSaleStatistics(type, subType, hasSupplier, beginTime, endTime);
}
} }

View File

@@ -510,4 +510,29 @@
and ifnull(delete_Flag,'0') !='1' and ifnull(delete_Flag,'0') !='1'
</select> </select>
<select id="getBuyAndSaleStatistics" resultType="java.math.BigDecimal">
SELECT
ifnull(sum(DiscountLastMoney),0)
FROM jsh_depothead
WHERE 1=1
<if test="type != null">
and Type='${type}'
</if>
<if test="subType != null">
and SubType='${subType}'
</if>
<if test="hasSupplier == 1">
and OrganId is not null
</if>
<if test="hasSupplier == 0">
and OrganId is null
</if>
<if test="beginTime != null">
and OperTime >= '${beginTime}'
</if>
<if test="endTime != null">
and OperTime &lt;= '${endTime}'
</if>
and ifnull(delete_Flag,'0') !='1'
</select>
</mapper> </mapper>