增加-零售出库单据-初稿
This commit is contained in:
parent
80aca0ef4b
commit
153f5602fc
File diff suppressed because one or more lines are too long
@ -310,19 +310,23 @@ public class DepotItemAction extends BaseAction<DepotItemModel>
|
|||||||
for(DepotItem depotItem:dataList)
|
for(DepotItem depotItem:dataList)
|
||||||
{
|
{
|
||||||
JSONObject item = new JSONObject();
|
JSONObject item = new JSONObject();
|
||||||
Integer OutSum = sumNumberBuyOrSale("出库","销售",depotItem.getMaterialId().getId(),model.getMonthTime());
|
Integer OutSumRetail = sumNumberBuyOrSale("出库","零售",depotItem.getMaterialId().getId(),model.getMonthTime());
|
||||||
Integer InSum = sumNumberBuyOrSale("入库","销售退货",depotItem.getMaterialId().getId(),model.getMonthTime());
|
Integer OutSum = sumNumberBuyOrSale("出库","销售",depotItem.getMaterialId().getId(),model.getMonthTime());
|
||||||
Double OutSumPrice = sumPriceBuyOrSale("出库","销售",depotItem.getMaterialId().getId(),model.getMonthTime());
|
Integer InSumRetail = sumNumberBuyOrSale("入库","零售退货",depotItem.getMaterialId().getId(),model.getMonthTime());
|
||||||
|
Integer InSum = sumNumberBuyOrSale("入库","销售退货",depotItem.getMaterialId().getId(),model.getMonthTime());
|
||||||
|
Double OutSumRetailPrice = sumPriceBuyOrSale("出库","零售",depotItem.getMaterialId().getId(),model.getMonthTime());
|
||||||
|
Double OutSumPrice = sumPriceBuyOrSale("出库","销售",depotItem.getMaterialId().getId(),model.getMonthTime());
|
||||||
|
Double InSumRetailPrice = sumPriceBuyOrSale("入库","零售退货",depotItem.getMaterialId().getId(),model.getMonthTime());
|
||||||
Double InSumPrice = sumPriceBuyOrSale("入库","销售退货",depotItem.getMaterialId().getId(),model.getMonthTime());
|
Double InSumPrice = sumPriceBuyOrSale("入库","销售退货",depotItem.getMaterialId().getId(),model.getMonthTime());
|
||||||
item.put("Id", depotItem.getId());
|
item.put("Id", depotItem.getId());
|
||||||
item.put("MaterialId", depotItem.getMaterialId()==null?"":depotItem.getMaterialId().getId());
|
item.put("MaterialId", depotItem.getMaterialId()==null?"":depotItem.getMaterialId().getId());
|
||||||
item.put("MaterialName", depotItem.getMaterialId().getName());
|
item.put("MaterialName", depotItem.getMaterialId().getName());
|
||||||
item.put("MaterialModel", depotItem.getMaterialId().getModel());
|
item.put("MaterialModel", depotItem.getMaterialId().getModel());
|
||||||
item.put("MaterialColor", depotItem.getMaterialId().getColor());
|
item.put("MaterialColor", depotItem.getMaterialId().getColor());
|
||||||
item.put("OutSum", OutSum);
|
item.put("OutSum", OutSumRetail + OutSum);
|
||||||
item.put("InSum", InSum);
|
item.put("InSum", InSumRetail + InSum);
|
||||||
item.put("OutSumPrice", OutSumPrice);
|
item.put("OutSumPrice", OutSumRetailPrice + OutSumPrice);
|
||||||
item.put("InSumPrice", InSumPrice);
|
item.put("InSumPrice", InSumRetailPrice + InSumPrice);
|
||||||
dataArray.add(item);
|
dataArray.add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
49
src/main/webapp/css/retail_list.css
Normal file
49
src/main/webapp/css/retail_list.css
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
#depotHeadFM .retail-amount tr td{
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#depotHeadFM .retail-amount tr td input{
|
||||||
|
width: 185px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
font-size: 24px;
|
||||||
|
border-color: #878787;
|
||||||
|
border-style: solid;
|
||||||
|
border-top-width: 0px;
|
||||||
|
border-right-width: 0px;
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-left-width: 0px
|
||||||
|
}
|
||||||
|
|
||||||
|
#depotHeadFM .retail-amount .change-amount{
|
||||||
|
color:purple;
|
||||||
|
}
|
||||||
|
|
||||||
|
#depotHeadFM .retail-amount .get-amount{
|
||||||
|
color:red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#depotHeadFM .retail-amount .back-amount{
|
||||||
|
color: green;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#depotHeadDlgShow .retail-amount-show tr td{
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#depotHeadDlgShow .retail-amount-show .change-amount-show{
|
||||||
|
color:purple;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#depotHeadDlgShow .retail-amount-show .get-amount-show{
|
||||||
|
color:red;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#depotHeadDlgShow .retail-amount-show .back-amount-show{
|
||||||
|
color: green;
|
||||||
|
text-align: right;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
@ -47,6 +47,12 @@
|
|||||||
payTypeTitle = "付款";
|
payTypeTitle = "付款";
|
||||||
organUrl = supUrl;
|
organUrl = supUrl;
|
||||||
}
|
}
|
||||||
|
else if(listTitle === "零售退货列表"){
|
||||||
|
listType = "入库";
|
||||||
|
listSubType = "零售退货";
|
||||||
|
payTypeTitle = "付款";
|
||||||
|
organUrl = cusUrl;
|
||||||
|
}
|
||||||
else if(listTitle === "销售退货列表"){
|
else if(listTitle === "销售退货列表"){
|
||||||
listType = "入库";
|
listType = "入库";
|
||||||
listSubType = "销售退货";
|
listSubType = "销售退货";
|
||||||
@ -59,6 +65,12 @@
|
|||||||
payTypeTitle = "隐藏";
|
payTypeTitle = "隐藏";
|
||||||
organUrl = supUrl;
|
organUrl = supUrl;
|
||||||
}
|
}
|
||||||
|
else if(listTitle === "零售出库列表"){
|
||||||
|
listType = "出库";
|
||||||
|
listSubType = "零售";
|
||||||
|
payTypeTitle = "收款";
|
||||||
|
organUrl = cusUrl;
|
||||||
|
}
|
||||||
else if(listTitle === "销售出库列表"){
|
else if(listTitle === "销售出库列表"){
|
||||||
listType = "出库";
|
listType = "出库";
|
||||||
listSubType = "销售";
|
listSubType = "销售";
|
||||||
@ -640,6 +652,18 @@
|
|||||||
initTableData_material("add"); //商品列表
|
initTableData_material("add"); //商品列表
|
||||||
reject(); //撤销下、刷新商品列表
|
reject(); //撤销下、刷新商品列表
|
||||||
url = path + '/depotHead/create.action';
|
url = path + '/depotHead/create.action';
|
||||||
|
|
||||||
|
//零售单据修改收款时,自动计算找零
|
||||||
|
if(listSubType == "零售"){
|
||||||
|
var getAmount = $("#depotHeadFM .get-amount");
|
||||||
|
getAmount.off("keyup").on("keyup",function() {
|
||||||
|
var changeAmount = $("#depotHeadFM .change-amount");
|
||||||
|
var backAmount = $("#depotHeadFM .back-amount");
|
||||||
|
if(changeAmount.val()){
|
||||||
|
backAmount.val(getAmount.val()-changeAmount.val());
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//编辑信息
|
//编辑信息
|
||||||
@ -693,6 +717,12 @@
|
|||||||
|
|
||||||
depotHeadID = depotHeadInfo[0];
|
depotHeadID = depotHeadInfo[0];
|
||||||
initTableData_material_show(TotalPrice); //商品列表-查看状态
|
initTableData_material_show(TotalPrice); //商品列表-查看状态
|
||||||
|
|
||||||
|
//零售单据修改收款时,自动计算找零
|
||||||
|
if(listSubType == "零售"){
|
||||||
|
$("#depotHeadDlgShow .get-amount-show").text($("#depotHeadDlgShow .change-amount-show").text());
|
||||||
|
$("#depotHeadDlgShow .back-amount-show").text(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//绑定操作事件
|
//绑定操作事件
|
||||||
@ -747,7 +777,7 @@
|
|||||||
else {
|
else {
|
||||||
AllocationProjectId = $.trim($("#AllocationProjectId").val()); //收货仓库-对方
|
AllocationProjectId = $.trim($("#AllocationProjectId").val()); //收货仓库-对方
|
||||||
}
|
}
|
||||||
if(listSubType === "采购"||listSubType === "销售退货"){
|
if(listSubType === "采购"||listSubType === "零售退货"||listSubType === "销售退货"){
|
||||||
//付款为负数
|
//付款为负数
|
||||||
ChangeAmount = 0 - ChangeAmount;
|
ChangeAmount = 0 - ChangeAmount;
|
||||||
TotalPrice = 0 - TotalPrice;
|
TotalPrice = 0 - TotalPrice;
|
||||||
@ -798,14 +828,14 @@
|
|||||||
{
|
{
|
||||||
$.messager.show({
|
$.messager.show({
|
||||||
title: '错误提示',
|
title: '错误提示',
|
||||||
msg: '保存采购入库信息失败,请稍后重试!'
|
msg: '保存信息失败,请稍后重试!'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//此处添加错误处理
|
//此处添加错误处理
|
||||||
error:function()
|
error:function()
|
||||||
{
|
{
|
||||||
$.messager.alert('提示','保存采购入库信息异常,请稍后再试!','error');
|
$.messager.alert('提示','保存信息异常,请稍后再试!','error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -884,7 +914,12 @@
|
|||||||
});
|
});
|
||||||
TotalPrice = TotalPrice + UnitPrice*OperNumber;
|
TotalPrice = TotalPrice + UnitPrice*OperNumber;
|
||||||
footer.find("[field='AllPrice']").find("div").text((TotalPrice).toFixed(2));
|
footer.find("[field='AllPrice']").find("div").text((TotalPrice).toFixed(2));
|
||||||
|
if(listSubType == "零售"){
|
||||||
|
$("#ChangeAmount, #getAmount").val(TotalPrice);
|
||||||
|
$("#backAmount").val(0);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
//点击单价,自动提示参考价格列表
|
||||||
body.find("[field='UnitPrice']").find(input).off("click").on("click",function(){
|
body.find("[field='UnitPrice']").find(input).off("click").on("click",function(){
|
||||||
var self = this;
|
var self = this;
|
||||||
var mValue = body.find("[field='MaterialId'] .combo-value").attr("value"); //获取选中的商品id
|
var mValue = body.find("[field='MaterialId'] .combo-value").attr("value"); //获取选中的商品id
|
||||||
@ -954,6 +989,10 @@
|
|||||||
});
|
});
|
||||||
TotalPrice = TotalPrice + UnitPrice*OperNumber;
|
TotalPrice = TotalPrice + UnitPrice*OperNumber;
|
||||||
footer.find("[field='AllPrice']").find("div").text((TotalPrice).toFixed(2));
|
footer.find("[field='AllPrice']").find("div").text((TotalPrice).toFixed(2));
|
||||||
|
if(listSubType == "零售"){
|
||||||
|
$("#ChangeAmount, #getAmount").val(TotalPrice);
|
||||||
|
$("#backAmount").val(0);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
//修改金额,自动计算单价和合计
|
//修改金额,自动计算单价和合计
|
||||||
body.find("[field='AllPrice']").find(input).off("keyup").on("keyup",function(){
|
body.find("[field='AllPrice']").find(input).off("keyup").on("keyup",function(){
|
||||||
@ -968,6 +1007,10 @@
|
|||||||
});
|
});
|
||||||
TotalPrice = TotalPrice + AllPrice;
|
TotalPrice = TotalPrice + AllPrice;
|
||||||
footer.find("[field='AllPrice']").find("div").text((TotalPrice).toFixed(2));
|
footer.find("[field='AllPrice']").find("div").text((TotalPrice).toFixed(2));
|
||||||
|
if(listSubType == "零售"){
|
||||||
|
$("#ChangeAmount, #getAmount").val(TotalPrice);
|
||||||
|
$("#backAmount").val(0);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},500);
|
},500);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -207,3 +207,168 @@
|
|||||||
2017-06-14 23:34:24 [INFO]-... initialized Struts-Spring integration successfully
|
2017-06-14 23:34:24 [INFO]-... initialized Struts-Spring integration successfully
|
||||||
2017-06-14 23:35:45 [INFO]-============用户登录 login 方法调用开始============== [class:com.jsh.action.basic.UserAction method:login line:37]
|
2017-06-14 23:35:45 [INFO]-============用户登录 login 方法调用开始============== [class:com.jsh.action.basic.UserAction method:login line:37]
|
||||||
2017-06-14 23:35:45 [INFO]-===============用户登录 login 方法调用结束=============== [class:com.jsh.action.basic.UserAction method:login line:105]
|
2017-06-14 23:35:45 [INFO]-===============用户登录 login 方法调用结束=============== [class:com.jsh.action.basic.UserAction method:login line:105]
|
||||||
|
2017-06-15 23:06:31 [INFO]-Root WebApplicationContext: initialization started
|
||||||
|
2017-06-15 23:06:31 [INFO]-Refreshing Root WebApplicationContext: startup date [Thu Jun 15 23:06:31 CST 2017]; root of context hierarchy
|
||||||
|
2017-06-15 23:06:31 [INFO]-Loading XML bean definitions from file [D:\mayun\JSH_ERP\src\main\webapp\WEB-INF\classes\spring\basic-applicationContext.xml]
|
||||||
|
2017-06-15 23:06:31 [INFO]-Loading XML bean definitions from file [D:\mayun\JSH_ERP\src\main\webapp\WEB-INF\classes\spring\dao-applicationContext.xml]
|
||||||
|
2017-06-15 23:06:31 [INFO]-Loading properties file from class path resource [common/jdbc.properties]
|
||||||
|
2017-06-15 23:06:31 [INFO]-Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@e61a12: defining beans [propertyConfig,dataSource,sessionFactory,transactionManager,txAdvice,serviceTemplate,userService,userAction,logService,logAction,supplierService,supplierAction,categoryService,categoryAction,depotService,depotAction,appService,appAction,roleService,roleAction,functionsService,functionsAction,userBusinessService,userBusinessAction,assetnameService,assetNameAction,assetService,assetAction,reportService,reportAction,personService,personAction,materialCategoryService,materialCategoryAction,materialService,materialAction,depotHeadService,depotHeadAction,depotItemService,depotItemAction,accountService,accountAction,inOutItemService,inOutItemAction,accountHeadService,accountHeadAction,accountItemService,accountItemAction,daoTemplate,baseDao,userDao,logDao,supplierDao,categoryDao,depotDao,assetNameDao,assetDao,reportDao,appDao,roleDao,functionsDao,userBusinessDao,personDao,materialCategoryDao,materialDao,depotHeadDao,depotItemDao,accountDao,inOutItemDao,accountHeadDao,accountItemDao]; root of factory hierarchy
|
||||||
|
2017-06-15 23:06:31 [INFO]-MLog clients using log4j logging.
|
||||||
|
2017-06-15 23:06:32 [INFO]-Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
|
||||||
|
2017-06-15 23:06:32 [INFO]-Building new Hibernate SessionFactory
|
||||||
|
2017-06-15 23:06:32 [INFO]-Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 10, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgekrn9o1bsz0doawmn9k|107f14b, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgekrn9o1bsz0doawmn9k|107f14b, idleConnectionTestPeriod -> 60, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/jsh_erp?useUnicode=true&characterEncoding=UTF-8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 60, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 80, maxStatements -> 6000, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
|
||||||
|
2017-06-15 23:06:33 [INFO]-Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 10, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgekrn9o1bsz0doawmn9k|107f14b, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgekrn9o1bsz0doawmn9k|107f14b, idleConnectionTestPeriod -> 60, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/jsh_erp?useUnicode=true&characterEncoding=UTF-8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 60, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 80, maxStatements -> 6000, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]] of Hibernate SessionFactory for HibernateTransactionManager
|
||||||
|
2017-06-15 23:06:33 [INFO]-Root WebApplicationContext: initialization completed in 2581 ms
|
||||||
|
2017-06-15 23:06:34 [INFO]-Parsing configuration file [struts2/struts.xml]
|
||||||
|
2017-06-15 23:06:34 [INFO]-Initializing Struts-Spring integration...
|
||||||
|
2017-06-15 23:06:34 [INFO]-Setting autowire strategy to name
|
||||||
|
2017-06-15 23:06:34 [INFO]-... initialized Struts-Spring integration successfully
|
||||||
|
2017-06-15 23:07:18 [INFO]-============用户登录 login 方法调用开始============== [class:com.jsh.action.basic.UserAction method:login line:37]
|
||||||
|
2017-06-15 23:07:19 [INFO]-===============用户登录 login 方法调用结束=============== [class:com.jsh.action.basic.UserAction method:login line:105]
|
||||||
|
2017-06-15 23:09:45 [INFO]-Root WebApplicationContext: initialization started
|
||||||
|
2017-06-15 23:09:45 [INFO]-Refreshing Root WebApplicationContext: startup date [Thu Jun 15 23:09:45 CST 2017]; root of context hierarchy
|
||||||
|
2017-06-15 23:09:46 [INFO]-Loading XML bean definitions from file [D:\mayun\JSH_ERP\src\main\webapp\WEB-INF\classes\spring\basic-applicationContext.xml]
|
||||||
|
2017-06-15 23:09:46 [INFO]-Loading XML bean definitions from file [D:\mayun\JSH_ERP\src\main\webapp\WEB-INF\classes\spring\dao-applicationContext.xml]
|
||||||
|
2017-06-15 23:09:46 [INFO]-Loading properties file from class path resource [common/jdbc.properties]
|
||||||
|
2017-06-15 23:09:46 [INFO]-Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@159857: defining beans [propertyConfig,dataSource,sessionFactory,transactionManager,txAdvice,serviceTemplate,userService,userAction,logService,logAction,supplierService,supplierAction,categoryService,categoryAction,depotService,depotAction,appService,appAction,roleService,roleAction,functionsService,functionsAction,userBusinessService,userBusinessAction,assetnameService,assetNameAction,assetService,assetAction,reportService,reportAction,personService,personAction,materialCategoryService,materialCategoryAction,materialService,materialAction,depotHeadService,depotHeadAction,depotItemService,depotItemAction,accountService,accountAction,inOutItemService,inOutItemAction,accountHeadService,accountHeadAction,accountItemService,accountItemAction,daoTemplate,baseDao,userDao,logDao,supplierDao,categoryDao,depotDao,assetNameDao,assetDao,reportDao,appDao,roleDao,functionsDao,userBusinessDao,personDao,materialCategoryDao,materialDao,depotHeadDao,depotItemDao,accountDao,inOutItemDao,accountHeadDao,accountItemDao]; root of factory hierarchy
|
||||||
|
2017-06-15 23:09:46 [INFO]-MLog clients using log4j logging.
|
||||||
|
2017-06-15 23:09:46 [INFO]-Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
|
||||||
|
2017-06-15 23:09:47 [INFO]-Building new Hibernate SessionFactory
|
||||||
|
2017-06-15 23:09:47 [INFO]-Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 10, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgekrn9o1bt36mb17uyt3m|976add, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgekrn9o1bt36mb17uyt3m|976add, idleConnectionTestPeriod -> 60, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/jsh_erp?useUnicode=true&characterEncoding=UTF-8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 60, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 80, maxStatements -> 6000, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
|
||||||
|
2017-06-15 23:09:48 [INFO]-Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 10, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgekrn9o1bt36mb17uyt3m|976add, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgekrn9o1bt36mb17uyt3m|976add, idleConnectionTestPeriod -> 60, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/jsh_erp?useUnicode=true&characterEncoding=UTF-8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 60, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 80, maxStatements -> 6000, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]] of Hibernate SessionFactory for HibernateTransactionManager
|
||||||
|
2017-06-15 23:09:48 [INFO]-Root WebApplicationContext: initialization completed in 2605 ms
|
||||||
|
2017-06-15 23:09:48 [INFO]-Parsing configuration file [struts2/struts.xml]
|
||||||
|
2017-06-15 23:09:49 [INFO]-Initializing Struts-Spring integration...
|
||||||
|
2017-06-15 23:09:49 [INFO]-Setting autowire strategy to name
|
||||||
|
2017-06-15 23:09:49 [INFO]-... initialized Struts-Spring integration successfully
|
||||||
|
2017-06-16 23:07:33 [INFO]-Root WebApplicationContext: initialization started
|
||||||
|
2017-06-16 23:07:33 [INFO]-Refreshing Root WebApplicationContext: startup date [Fri Jun 16 23:07:33 CST 2017]; root of context hierarchy
|
||||||
|
2017-06-16 23:07:33 [INFO]-Loading XML bean definitions from file [D:\mayun\JSH_ERP\src\main\webapp\WEB-INF\classes\spring\basic-applicationContext.xml]
|
||||||
|
2017-06-16 23:07:34 [INFO]-Loading XML bean definitions from file [D:\mayun\JSH_ERP\src\main\webapp\WEB-INF\classes\spring\dao-applicationContext.xml]
|
||||||
|
2017-06-16 23:07:34 [INFO]-Loading properties file from class path resource [common/jdbc.properties]
|
||||||
|
2017-06-16 23:07:34 [INFO]-Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1f8e5e4: defining beans [propertyConfig,dataSource,sessionFactory,transactionManager,txAdvice,serviceTemplate,userService,userAction,logService,logAction,supplierService,supplierAction,categoryService,categoryAction,depotService,depotAction,appService,appAction,roleService,roleAction,functionsService,functionsAction,userBusinessService,userBusinessAction,assetnameService,assetNameAction,assetService,assetAction,reportService,reportAction,personService,personAction,materialCategoryService,materialCategoryAction,materialService,materialAction,depotHeadService,depotHeadAction,depotItemService,depotItemAction,accountService,accountAction,inOutItemService,inOutItemAction,accountHeadService,accountHeadAction,accountItemService,accountItemAction,daoTemplate,baseDao,userDao,logDao,supplierDao,categoryDao,depotDao,assetNameDao,assetDao,reportDao,appDao,roleDao,functionsDao,userBusinessDao,personDao,materialCategoryDao,materialDao,depotHeadDao,depotItemDao,accountDao,inOutItemDao,accountHeadDao,accountItemDao]; root of factory hierarchy
|
||||||
|
2017-06-16 23:07:34 [INFO]-MLog clients using log4j logging.
|
||||||
|
2017-06-16 23:07:34 [INFO]-Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
|
||||||
|
2017-06-16 23:07:35 [INFO]-Building new Hibernate SessionFactory
|
||||||
|
2017-06-16 23:07:35 [INFO]-Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 10, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgekrn9o1d8g7evoi7dze|100616e, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgekrn9o1d8g7evoi7dze|100616e, idleConnectionTestPeriod -> 60, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/jsh_erp?useUnicode=true&characterEncoding=UTF-8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 60, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 80, maxStatements -> 6000, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
|
||||||
|
2017-06-16 23:07:36 [INFO]-Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 10, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgekrn9o1d8g7evoi7dze|100616e, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgekrn9o1d8g7evoi7dze|100616e, idleConnectionTestPeriod -> 60, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/jsh_erp?useUnicode=true&characterEncoding=UTF-8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 60, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 80, maxStatements -> 6000, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]] of Hibernate SessionFactory for HibernateTransactionManager
|
||||||
|
2017-06-16 23:07:37 [INFO]-Root WebApplicationContext: initialization completed in 3782 ms
|
||||||
|
2017-06-16 23:07:37 [INFO]-Parsing configuration file [struts2/struts.xml]
|
||||||
|
2017-06-16 23:07:37 [INFO]-Initializing Struts-Spring integration...
|
||||||
|
2017-06-16 23:07:37 [INFO]-Setting autowire strategy to name
|
||||||
|
2017-06-16 23:07:37 [INFO]-... initialized Struts-Spring integration successfully
|
||||||
|
2017-06-16 23:12:11 [INFO]-============用户登录 login 方法调用开始============== [class:com.jsh.action.basic.UserAction method:login line:37]
|
||||||
|
2017-06-16 23:12:11 [INFO]-===============用户登录 login 方法调用结束=============== [class:com.jsh.action.basic.UserAction method:login line:105]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.DepotHeadAction method:allMoney line:380]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.DepotHeadAction method:allMoney line:380]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.DepotHeadAction method:allMoney line:380]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.DepotHeadAction method:allMoney line:380]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.DepotHeadAction method:allMoney line:380]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.DepotHeadAction method:allMoney line:380]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.DepotHeadAction method:allMoney line:380]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.DepotHeadAction method:allMoney line:380]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.DepotHeadAction method:allMoney line:380]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.DepotHeadAction method:allMoney line:380]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.DepotHeadAction method:allMoney line:380]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.DepotHeadAction method:allMoney line:380]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.AccountHeadAction method:allMoney line:323]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.AccountHeadAction method:allMoney line:323]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.AccountHeadAction method:allMoney line:323]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.AccountHeadAction method:allMoney line:323]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.AccountHeadAction method:allMoney line:323]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.AccountHeadAction method:allMoney line:323]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.AccountHeadAction method:allMoney line:323]
|
||||||
|
2017-06-16 23:14:47 [INFO]-getS:4 [class:com.jsh.action.materials.AccountHeadAction method:allMoney line:323]
|
||||||
|
2017-06-16 23:50:15 [INFO]-==================开始调用增加收支项目方法=================== [class:com.jsh.action.basic.InOutItemAction method:create line:34]
|
||||||
|
2017-06-16 23:50:15 [INFO]-==================结束调用增加收支项目方法=================== [class:com.jsh.action.basic.InOutItemAction method:create line:72]
|
||||||
|
2017-06-16 23:50:28 [INFO]-==================开始调用增加收支项目方法=================== [class:com.jsh.action.basic.InOutItemAction method:create line:34]
|
||||||
|
2017-06-16 23:50:28 [INFO]-==================结束调用增加收支项目方法=================== [class:com.jsh.action.basic.InOutItemAction method:create line:72]
|
||||||
|
2017-06-16 23:50:42 [INFO]-==================开始调用增加收支项目方法=================== [class:com.jsh.action.basic.InOutItemAction method:create line:34]
|
||||||
|
2017-06-16 23:50:42 [INFO]-==================结束调用增加收支项目方法=================== [class:com.jsh.action.basic.InOutItemAction method:create line:72]
|
||||||
|
2017-06-16 23:51:09 [INFO]-==================开始调用增加收支项目方法=================== [class:com.jsh.action.basic.InOutItemAction method:create line:34]
|
||||||
|
2017-06-16 23:51:09 [INFO]-==================结束调用增加收支项目方法=================== [class:com.jsh.action.basic.InOutItemAction method:create line:72]
|
||||||
|
2017-06-16 23:52:46 [INFO]-==================开始调用增加财务信息方法create()=================== [class:com.jsh.action.materials.AccountHeadAction method:create line:68]
|
||||||
|
2017-06-16 23:52:46 [INFO]-==================结束调用增加财务方法create()=================== [class:com.jsh.action.materials.AccountHeadAction method:create line:119]
|
||||||
|
2017-06-16 23:52:47 [INFO]-==================开始调用保存财务明细信息方法saveDetials()=================== [class:com.jsh.action.materials.AccountItemAction method:saveDetials line:37]
|
||||||
|
2017-06-16 23:52:47 [INFO]-==================结束调用保存财务明细方法saveDetials()=================== [class:com.jsh.action.materials.AccountItemAction method:saveDetials line:114]
|
||||||
|
2017-06-17 00:00:18 [INFO]-============用户登录 login 方法调用开始============== [class:com.jsh.action.basic.UserAction method:login line:37]
|
||||||
|
2017-06-17 00:00:18 [INFO]-====用户 jsh已经登录过, login 方法调用结束==== [class:com.jsh.action.basic.UserAction method:login line:57]
|
||||||
|
2017-06-17 00:00:18 [INFO]-===============用户登录 login 方法调用结束=============== [class:com.jsh.action.basic.UserAction method:login line:105]
|
||||||
|
2017-06-17 00:15:06 [INFO]-==================开始调用增加功能信息方法create()=================== [class:com.jsh.action.basic.FunctionsAction method:create line:37]
|
||||||
|
2017-06-17 00:15:06 [INFO]-==================结束调用增加功能方法create()=================== [class:com.jsh.action.basic.FunctionsAction method:create line:81]
|
||||||
|
2017-06-17 00:18:39 [INFO]-==================开始调用增加功能信息方法create()=================== [class:com.jsh.action.basic.FunctionsAction method:create line:37]
|
||||||
|
2017-06-17 00:18:39 [INFO]-==================结束调用增加功能方法create()=================== [class:com.jsh.action.basic.FunctionsAction method:create line:81]
|
||||||
|
2017-06-18 18:15:41 [INFO]-Root WebApplicationContext: initialization started
|
||||||
|
2017-06-18 18:15:41 [INFO]-Refreshing Root WebApplicationContext: startup date [Sun Jun 18 18:15:41 CST 2017]; root of context hierarchy
|
||||||
|
2017-06-18 18:15:41 [INFO]-Loading XML bean definitions from file [D:\mayun\JSH_ERP\src\main\webapp\WEB-INF\classes\spring\basic-applicationContext.xml]
|
||||||
|
2017-06-18 18:15:41 [INFO]-Loading XML bean definitions from file [D:\mayun\JSH_ERP\src\main\webapp\WEB-INF\classes\spring\dao-applicationContext.xml]
|
||||||
|
2017-06-18 18:15:41 [INFO]-Loading properties file from class path resource [common/jdbc.properties]
|
||||||
|
2017-06-18 18:15:41 [INFO]-Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1c5eafc: defining beans [propertyConfig,dataSource,sessionFactory,transactionManager,txAdvice,serviceTemplate,userService,userAction,logService,logAction,supplierService,supplierAction,categoryService,categoryAction,depotService,depotAction,appService,appAction,roleService,roleAction,functionsService,functionsAction,userBusinessService,userBusinessAction,assetnameService,assetNameAction,assetService,assetAction,reportService,reportAction,personService,personAction,materialCategoryService,materialCategoryAction,materialService,materialAction,depotHeadService,depotHeadAction,depotItemService,depotItemAction,accountService,accountAction,inOutItemService,inOutItemAction,accountHeadService,accountHeadAction,accountItemService,accountItemAction,daoTemplate,baseDao,userDao,logDao,supplierDao,categoryDao,depotDao,assetNameDao,assetDao,reportDao,appDao,roleDao,functionsDao,userBusinessDao,personDao,materialCategoryDao,materialDao,depotHeadDao,depotItemDao,accountDao,inOutItemDao,accountHeadDao,accountItemDao]; root of factory hierarchy
|
||||||
|
2017-06-18 18:15:41 [INFO]-MLog clients using log4j logging.
|
||||||
|
2017-06-18 18:15:41 [INFO]-Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
|
||||||
|
2017-06-18 18:15:42 [INFO]-Building new Hibernate SessionFactory
|
||||||
|
2017-06-18 18:15:42 [INFO]-Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 10, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgekrn9o1fswjv61jaxugw|5168c6, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgekrn9o1fswjv61jaxugw|5168c6, idleConnectionTestPeriod -> 60, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/jsh_erp?useUnicode=true&characterEncoding=UTF-8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 60, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 80, maxStatements -> 6000, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
|
||||||
|
2017-06-18 18:15:43 [INFO]-Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 10, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgekrn9o1fswjv61jaxugw|5168c6, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgekrn9o1fswjv61jaxugw|5168c6, idleConnectionTestPeriod -> 60, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/jsh_erp?useUnicode=true&characterEncoding=UTF-8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 60, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 80, maxStatements -> 6000, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]] of Hibernate SessionFactory for HibernateTransactionManager
|
||||||
|
2017-06-18 18:15:44 [INFO]-Root WebApplicationContext: initialization completed in 2780 ms
|
||||||
|
2017-06-18 18:15:44 [INFO]-Parsing configuration file [struts2/struts.xml]
|
||||||
|
2017-06-18 18:15:44 [INFO]-Initializing Struts-Spring integration...
|
||||||
|
2017-06-18 18:15:44 [INFO]-Setting autowire strategy to name
|
||||||
|
2017-06-18 18:15:44 [INFO]-... initialized Struts-Spring integration successfully
|
||||||
|
2017-06-18 18:19:07 [INFO]-============用户登录 login 方法调用开始============== [class:com.jsh.action.basic.UserAction method:login line:37]
|
||||||
|
2017-06-18 18:19:08 [INFO]-===============用户登录 login 方法调用结束=============== [class:com.jsh.action.basic.UserAction method:login line:105]
|
||||||
|
2017-06-18 18:33:22 [INFO]-============用户登录 login 方法调用开始============== [class:com.jsh.action.basic.UserAction method:login line:37]
|
||||||
|
2017-06-18 18:33:22 [INFO]-===============用户登录 login 方法调用结束=============== [class:com.jsh.action.basic.UserAction method:login line:105]
|
||||||
|
2017-06-18 18:53:02 [INFO]-==================开始调用增加仓管通信息信息方法create()=================== [class:com.jsh.action.materials.DepotHeadAction method:create line:70]
|
||||||
|
2017-06-18 18:53:02 [INFO]-==================结束调用增加仓管通方法create()=================== [class:com.jsh.action.materials.DepotHeadAction method:create line:126]
|
||||||
|
2017-06-18 18:53:03 [INFO]-==================开始调用保存仓管通明细信息方法saveDetials()=================== [class:com.jsh.action.materials.DepotItemAction method:saveDetials line:47]
|
||||||
|
2017-06-18 18:53:03 [INFO]-==================结束调用保存仓管通明细方法saveDetials()=================== [class:com.jsh.action.materials.DepotItemAction method:saveDetials line:125]
|
||||||
|
2017-06-18 18:59:49 [INFO]-==================开始调用增加仓管通信息信息方法create()=================== [class:com.jsh.action.materials.DepotHeadAction method:create line:70]
|
||||||
|
2017-06-18 18:59:49 [INFO]-==================结束调用增加仓管通方法create()=================== [class:com.jsh.action.materials.DepotHeadAction method:create line:126]
|
||||||
|
2017-06-18 18:59:49 [INFO]-==================开始调用保存仓管通明细信息方法saveDetials()=================== [class:com.jsh.action.materials.DepotItemAction method:saveDetials line:47]
|
||||||
|
2017-06-18 18:59:50 [INFO]-==================结束调用保存仓管通明细方法saveDetials()=================== [class:com.jsh.action.materials.DepotItemAction method:saveDetials line:125]
|
||||||
|
2017-06-18 19:03:30 [INFO]-====================开始调用删除仓管通信息方法delete()================ [class:com.jsh.action.materials.DepotHeadAction method:delete line:135]
|
||||||
|
2017-06-18 19:03:30 [INFO]-====================结束调用删除仓管通信息方法delete()================ [class:com.jsh.action.materials.DepotHeadAction method:delete line:152]
|
||||||
|
2017-06-18 19:28:34 [INFO]-Detected container provider Struts XML configuration provider (struts2/struts.xml) needs to be reloaded. Reloading all providers.
|
||||||
|
2017-06-18 19:28:34 [INFO]-Parsing configuration file [struts2/struts.xml]
|
||||||
|
2017-06-18 19:28:34 [INFO]-Initializing Struts-Spring integration...
|
||||||
|
2017-06-18 19:28:34 [INFO]-Setting autowire strategy to name
|
||||||
|
2017-06-18 19:28:34 [INFO]-... initialized Struts-Spring integration successfully
|
||||||
|
2017-06-18 19:28:34 [INFO]-Closing Root WebApplicationContext: startup date [Sun Jun 18 18:15:41 CST 2017]; root of context hierarchy
|
||||||
|
2017-06-18 19:28:34 [INFO]-Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1c5eafc: defining beans [propertyConfig,dataSource,sessionFactory,transactionManager,txAdvice,serviceTemplate,userService,userAction,logService,logAction,supplierService,supplierAction,categoryService,categoryAction,depotService,depotAction,appService,appAction,roleService,roleAction,functionsService,functionsAction,userBusinessService,userBusinessAction,assetnameService,assetNameAction,assetService,assetAction,reportService,reportAction,personService,personAction,materialCategoryService,materialCategoryAction,materialService,materialAction,depotHeadService,depotHeadAction,depotItemService,depotItemAction,accountService,accountAction,inOutItemService,inOutItemAction,accountHeadService,accountHeadAction,accountItemService,accountItemAction,daoTemplate,baseDao,userDao,logDao,supplierDao,categoryDao,depotDao,assetNameDao,assetDao,reportDao,appDao,roleDao,functionsDao,userBusinessDao,personDao,materialCategoryDao,materialDao,depotHeadDao,depotItemDao,accountDao,inOutItemDao,accountHeadDao,accountItemDao]; root of factory hierarchy
|
||||||
|
2017-06-18 19:28:34 [INFO]-Closing Hibernate SessionFactory
|
||||||
|
2017-06-18 19:28:45 [INFO]-Root WebApplicationContext: initialization started
|
||||||
|
2017-06-18 19:28:45 [INFO]-Refreshing Root WebApplicationContext: startup date [Sun Jun 18 19:28:45 CST 2017]; root of context hierarchy
|
||||||
|
2017-06-18 19:28:45 [INFO]-Loading XML bean definitions from file [D:\mayun\JSH_ERP\src\main\webapp\WEB-INF\classes\spring\basic-applicationContext.xml]
|
||||||
|
2017-06-18 19:28:45 [INFO]-Loading XML bean definitions from file [D:\mayun\JSH_ERP\src\main\webapp\WEB-INF\classes\spring\dao-applicationContext.xml]
|
||||||
|
2017-06-18 19:28:45 [INFO]-Loading properties file from class path resource [common/jdbc.properties]
|
||||||
|
2017-06-18 19:28:45 [INFO]-Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7fab51: defining beans [propertyConfig,dataSource,sessionFactory,transactionManager,txAdvice,serviceTemplate,userService,userAction,logService,logAction,supplierService,supplierAction,categoryService,categoryAction,depotService,depotAction,appService,appAction,roleService,roleAction,functionsService,functionsAction,userBusinessService,userBusinessAction,assetnameService,assetNameAction,assetService,assetAction,reportService,reportAction,personService,personAction,materialCategoryService,materialCategoryAction,materialService,materialAction,depotHeadService,depotHeadAction,depotItemService,depotItemAction,accountService,accountAction,inOutItemService,inOutItemAction,accountHeadService,accountHeadAction,accountItemService,accountItemAction,daoTemplate,baseDao,userDao,logDao,supplierDao,categoryDao,depotDao,assetNameDao,assetDao,reportDao,appDao,roleDao,functionsDao,userBusinessDao,personDao,materialCategoryDao,materialDao,depotHeadDao,depotItemDao,accountDao,inOutItemDao,accountHeadDao,accountItemDao]; root of factory hierarchy
|
||||||
|
2017-06-18 19:28:45 [INFO]-MLog clients using log4j logging.
|
||||||
|
2017-06-18 19:28:45 [INFO]-Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
|
||||||
|
2017-06-18 19:28:46 [INFO]-Building new Hibernate SessionFactory
|
||||||
|
2017-06-18 19:28:46 [INFO]-Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 10, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgekrn9o1fviikl1syywso|1e5efb, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgekrn9o1fviikl1syywso|1e5efb, idleConnectionTestPeriod -> 60, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/jsh_erp?useUnicode=true&characterEncoding=UTF-8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 60, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 80, maxStatements -> 6000, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
|
||||||
|
2017-06-18 19:28:51 [INFO]-Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 10, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgekrn9o1fviikl1syywso|1e5efb, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgekrn9o1fviikl1syywso|1e5efb, idleConnectionTestPeriod -> 60, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/jsh_erp?useUnicode=true&characterEncoding=UTF-8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 60, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 80, maxStatements -> 6000, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]] of Hibernate SessionFactory for HibernateTransactionManager
|
||||||
|
2017-06-18 19:28:51 [INFO]-Root WebApplicationContext: initialization completed in 6080 ms
|
||||||
|
2017-06-18 19:28:51 [INFO]-Parsing configuration file [struts2/struts.xml]
|
||||||
|
2017-06-18 19:28:51 [INFO]-Initializing Struts-Spring integration...
|
||||||
|
2017-06-18 19:28:51 [INFO]-Setting autowire strategy to name
|
||||||
|
2017-06-18 19:28:51 [INFO]-... initialized Struts-Spring integration successfully
|
||||||
|
2017-06-18 19:35:34 [INFO]-==================开始调用增加仓管通信息信息方法create()=================== [class:com.jsh.action.materials.DepotHeadAction method:create line:70]
|
||||||
|
2017-06-18 19:35:34 [INFO]-==================结束调用增加仓管通方法create()=================== [class:com.jsh.action.materials.DepotHeadAction method:create line:126]
|
||||||
|
2017-06-18 19:35:34 [INFO]-==================开始调用保存仓管通明细信息方法saveDetials()=================== [class:com.jsh.action.materials.DepotItemAction method:saveDetials line:47]
|
||||||
|
2017-06-18 19:35:34 [INFO]-==================结束调用保存仓管通明细方法saveDetials()=================== [class:com.jsh.action.materials.DepotItemAction method:saveDetials line:125]
|
||||||
|
2017-06-18 19:36:33 [INFO]-==================开始调用增加仓管通信息信息方法create()=================== [class:com.jsh.action.materials.DepotHeadAction method:create line:70]
|
||||||
|
2017-06-18 19:36:33 [INFO]-==================结束调用增加仓管通方法create()=================== [class:com.jsh.action.materials.DepotHeadAction method:create line:126]
|
||||||
|
2017-06-18 19:36:33 [INFO]-==================开始调用保存仓管通明细信息方法saveDetials()=================== [class:com.jsh.action.materials.DepotItemAction method:saveDetials line:47]
|
||||||
|
2017-06-18 19:36:33 [INFO]-==================结束调用保存仓管通明细方法saveDetials()=================== [class:com.jsh.action.materials.DepotItemAction method:saveDetials line:125]
|
||||||
|
2017-06-18 19:46:39 [INFO]-====================开始调用删除仓管通信息方法delete()================ [class:com.jsh.action.materials.DepotHeadAction method:delete line:135]
|
||||||
|
2017-06-18 19:46:39 [INFO]-====================结束调用删除仓管通信息方法delete()================ [class:com.jsh.action.materials.DepotHeadAction method:delete line:152]
|
||||||
|
2017-06-18 19:53:49 [INFO]-==================开始调用增加仓管通信息信息方法create()=================== [class:com.jsh.action.materials.DepotHeadAction method:create line:70]
|
||||||
|
2017-06-18 19:53:49 [INFO]-==================结束调用增加仓管通方法create()=================== [class:com.jsh.action.materials.DepotHeadAction method:create line:126]
|
||||||
|
2017-06-18 19:53:49 [INFO]-==================开始调用保存仓管通明细信息方法saveDetials()=================== [class:com.jsh.action.materials.DepotItemAction method:saveDetials line:47]
|
||||||
|
2017-06-18 19:53:49 [INFO]-==================结束调用保存仓管通明细方法saveDetials()=================== [class:com.jsh.action.materials.DepotItemAction method:saveDetials line:125]
|
||||||
|
2017-06-18 22:56:17 [INFO]-==================开始调用增加仓管通信息信息方法create()=================== [class:com.jsh.action.materials.DepotHeadAction method:create line:70]
|
||||||
|
2017-06-18 22:56:17 [INFO]-==================结束调用增加仓管通方法create()=================== [class:com.jsh.action.materials.DepotHeadAction method:create line:126]
|
||||||
|
2017-06-18 22:56:17 [INFO]-==================开始调用保存仓管通明细信息方法saveDetials()=================== [class:com.jsh.action.materials.DepotItemAction method:saveDetials line:47]
|
||||||
|
2017-06-18 22:56:17 [INFO]-==================结束调用保存仓管通明细方法saveDetials()=================== [class:com.jsh.action.materials.DepotItemAction method:saveDetials line:125]
|
||||||
|
2017-06-18 23:50:52 [INFO]-============用户登录 login 方法调用开始============== [class:com.jsh.action.basic.UserAction method:login line:37]
|
||||||
|
2017-06-18 23:50:52 [INFO]-===============用户登录 login 方法调用结束=============== [class:com.jsh.action.basic.UserAction method:login line:105]
|
||||||
|
|||||||
169
src/main/webapp/pages/materials/retail_back_list.jsp
Normal file
169
src/main/webapp/pages/materials/retail_back_list.jsp
Normal file
@ -0,0 +1,169 @@
|
|||||||
|
<%@page import="com.jsh.util.Tools"%>
|
||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
String clientIp = Tools.getCurrentUserIP();
|
||||||
|
%>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>零售退货</title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<!-- 指定以IE8的方式来渲染 -->
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
|
||||||
|
<link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/>
|
||||||
|
<link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css" />
|
||||||
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
<script>
|
||||||
|
var kid = ${sessionScope.user.id};
|
||||||
|
var path = "<%=path%>";
|
||||||
|
var clientIp = "<%=clientIp%>";
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- 查询 -->
|
||||||
|
<div id = "searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" closable="false">
|
||||||
|
<table id="searchTable">
|
||||||
|
<tr>
|
||||||
|
<td>收货仓库:</td>
|
||||||
|
<td>
|
||||||
|
<select name="searchProjectId" id="searchProjectId" style="width:80px;"></select>
|
||||||
|
</td>
|
||||||
|
<td>单据编号:</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="searchNumber" id="searchNumber" style="width:60px;"/>
|
||||||
|
</td>
|
||||||
|
<td>单据日期:</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="searchBeginTime" id="searchBeginTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:80px;"/>
|
||||||
|
</td>
|
||||||
|
<td>-</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:80px;"/>
|
||||||
|
</td>
|
||||||
|
<td> </td>
|
||||||
|
<td>
|
||||||
|
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>
|
||||||
|
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</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>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="depotHeadDlg" class="easyui-dialog" style="width:850px;padding:10px 20px;top:20px"
|
||||||
|
closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true">
|
||||||
|
<form id="depotHeadFM" method="post" novalidate>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>收货仓库:</td>
|
||||||
|
<td style="padding:5px">
|
||||||
|
<select name="ProjectId" id="ProjectId" style="width:110px;"></select>
|
||||||
|
</td>
|
||||||
|
<td>单据日期:</td>
|
||||||
|
<td style="padding:5px">
|
||||||
|
<input type="text" name="OperTime" id="OperTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:110px;"/>
|
||||||
|
</td>
|
||||||
|
<td>退货单位:</td>
|
||||||
|
<td style="padding:5px">
|
||||||
|
<input id="OrganId" name="OrganId" style="width:110px;" />
|
||||||
|
</td>
|
||||||
|
<td>经手人:</td>
|
||||||
|
<td style="padding:5px">
|
||||||
|
<select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>付款账户:</td>
|
||||||
|
<td style="padding:5px">
|
||||||
|
<select name="AccountId" id="AccountId" style="width:110px;"></select>
|
||||||
|
</td>
|
||||||
|
<td>付款金额:</td>
|
||||||
|
<td style="padding:5px">
|
||||||
|
<input id="ChangeAmount" name="ChangeAmount" data-changeamount="0" style="width:110px;" />
|
||||||
|
</td>
|
||||||
|
<td>单据编号:</td>
|
||||||
|
<td style="padding:5px">
|
||||||
|
<input name="Number" id="Number" class="easyui-validatebox" data-options="required:true,validType:'length[2,30]'" style="width: 110px;"/>
|
||||||
|
</td>
|
||||||
|
<td>单据备注:</td>
|
||||||
|
<td style="padding:5px">
|
||||||
|
<input name="Remark" id="Remark" class="easyui-validatebox" style="width: 110px;"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>商品列表:</td>
|
||||||
|
<td colspan="7">
|
||||||
|
<!-- 商品列表table -->
|
||||||
|
<table id="materialData" style="top:100px;border-bottom-color:#FFFFFF"></table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<div id="dlg-buttons">
|
||||||
|
<a href="javascript:void(0)" id="saveDepotHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
|
||||||
|
<a href="javascript:void(0)" id="cancelDepotHead" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#depotHeadDlg').dialog('close')">取消</a>
|
||||||
|
</div>
|
||||||
|
<div id="depotHeadDlgShow" class="easyui-dialog" style="width:850px;padding:10px 20px;top:20px"
|
||||||
|
closed="true" modal="true" cache="false" collapsible="false" closable="true">
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>收货仓库:</td>
|
||||||
|
<td style="padding:5px;width:110px;">
|
||||||
|
<span id="ProjectIdShow"></span>
|
||||||
|
</td>
|
||||||
|
<td>单据日期:</td>
|
||||||
|
<td style="padding:5px;width:110px;">
|
||||||
|
<span id="OperTimeShow"></span>
|
||||||
|
</td>
|
||||||
|
<td>退货单位:</td>
|
||||||
|
<td style="padding:5px;width:110px;">
|
||||||
|
<span id="OrganIdShow"></span>
|
||||||
|
</td>
|
||||||
|
<td>经手人:</td>
|
||||||
|
<td style="padding:5px;width:110px;">
|
||||||
|
<span id="HandsPersonIdShow"></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>付款账户:</td>
|
||||||
|
<td style="padding:5px;width:110px;">
|
||||||
|
<span id="AccountIdShow"></span>
|
||||||
|
</td>
|
||||||
|
<td>付款金额:</td>
|
||||||
|
<td style="padding:5px;width:110px;">
|
||||||
|
<span id="ChangeAmountShow"></span>
|
||||||
|
</td>
|
||||||
|
<td>单据编号:</td>
|
||||||
|
<td style="padding:5px;width:110px;">
|
||||||
|
<span id="NumberShow"></span>
|
||||||
|
</td>
|
||||||
|
<td>单据备注:</td>
|
||||||
|
<td style="padding:5px;width:110px;">
|
||||||
|
<span id="RemarkShow"></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>商品列表:</td>
|
||||||
|
<td colspan="7">
|
||||||
|
<!-- 商品列表table -->
|
||||||
|
<table id="materialDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
224
src/main/webapp/pages/materials/retail_out_list.jsp
Normal file
224
src/main/webapp/pages/materials/retail_out_list.jsp
Normal file
@ -0,0 +1,224 @@
|
|||||||
|
<%@page import="com.jsh.util.Tools"%>
|
||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
String clientIp = Tools.getCurrentUserIP();
|
||||||
|
%>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>零售出库</title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<!-- 指定以IE8的方式来渲染 -->
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
|
||||||
|
<link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/>
|
||||||
|
<link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<%=path %>/css/retail_list.css" />
|
||||||
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
<script>
|
||||||
|
var kid = ${sessionScope.user.id};
|
||||||
|
var path = "<%=path%>";
|
||||||
|
var clientIp = "<%=clientIp%>";
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- 查询 -->
|
||||||
|
<div id = "searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" closable="false">
|
||||||
|
<table id="searchTable">
|
||||||
|
<tr>
|
||||||
|
<td>发货仓库:</td>
|
||||||
|
<td>
|
||||||
|
<select name="searchProjectId" id="searchProjectId" style="width:80px;"></select>
|
||||||
|
</td>
|
||||||
|
<td>单据编号:</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="searchNumber" id="searchNumber" style="width:60px;"/>
|
||||||
|
</td>
|
||||||
|
<td>单据日期:</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="searchBeginTime" id="searchBeginTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:80px;"/>
|
||||||
|
</td>
|
||||||
|
<td>-</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:80px;"/>
|
||||||
|
</td>
|
||||||
|
<td> </td>
|
||||||
|
<td>
|
||||||
|
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>
|
||||||
|
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</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>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="depotHeadDlg" class="easyui-dialog" style="width:850px;padding:10px 20px;top:20px"
|
||||||
|
closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true">
|
||||||
|
<form id="depotHeadFM" method="post" novalidate>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>购买单位:</td>
|
||||||
|
<td style="padding:5px">
|
||||||
|
<input id="OrganId" name="OrganId" style="width:110px;" />
|
||||||
|
</td>
|
||||||
|
<td>发货仓库:</td>
|
||||||
|
<td style="padding:5px">
|
||||||
|
<select name="ProjectId" id="ProjectId" style="width:110px;"></select>
|
||||||
|
</td>
|
||||||
|
<td>单据编号:</td>
|
||||||
|
<td style="padding:5px">
|
||||||
|
<input name="Number" id="Number" class="easyui-validatebox" data-options="required:true,validType:'length[2,30]'" style="width: 130px;"/>
|
||||||
|
</td>
|
||||||
|
<td>单据日期:</td>
|
||||||
|
<td style="padding:5px">
|
||||||
|
<input type="text" name="OperTime" id="OperTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width: 125px;"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>单据备注:</td>
|
||||||
|
<td style="padding:5px" colspan="5">
|
||||||
|
<input name="Remark" id="Remark" class="easyui-validatebox" style="width: 292px;"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="6">
|
||||||
|
<!-- 商品列表table -->
|
||||||
|
<table id="materialData" style="top:100px;border-bottom-color:#FFFFFF"></table>
|
||||||
|
</td>
|
||||||
|
<td colspan="2" valign="top">
|
||||||
|
<table width="100%" class="retail-amount">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">实收金额</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<input id="ChangeAmount" name="ChangeAmount" class="change-amount" readonly="readonly" data-changeamount="0" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">收款金额</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<input id="getAmount" name="getAmount" class="get-amount" data-changeamount="0" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">找零</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<input id="backAmount" name="backAmount" class="back-amount" readonly="readonly" data-changeamount="0" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>收款账户:</td>
|
||||||
|
<td>
|
||||||
|
<select name="AccountId" id="AccountId" style="width: 117px;"></select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>经手人:</td>
|
||||||
|
<td>
|
||||||
|
<select name="HandsPersonId" id="HandsPersonId" style="width: 117px;"></select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<div id="dlg-buttons">
|
||||||
|
<a href="javascript:void(0)" id="saveDepotHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
|
||||||
|
<a href="javascript:void(0)" id="cancelDepotHead" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#depotHeadDlg').dialog('close')">取消</a>
|
||||||
|
</div>
|
||||||
|
<div id="depotHeadDlgShow" class="easyui-dialog" style="width:850px;padding:10px 20px;top:20px"
|
||||||
|
closed="true" modal="true" cache="false" collapsible="false" closable="true">
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>购买单位:</td>
|
||||||
|
<td style="padding:5px;width:110px;">
|
||||||
|
<span id="OrganIdShow"></span>
|
||||||
|
</td>
|
||||||
|
<td>发货仓库:</td>
|
||||||
|
<td style="padding:5px;width:110px;">
|
||||||
|
<span id="ProjectIdShow"></span>
|
||||||
|
</td>
|
||||||
|
<td>单据编号:</td>
|
||||||
|
<td style="padding:5px;width:130px;">
|
||||||
|
<span id="NumberShow"></span>
|
||||||
|
</td>
|
||||||
|
<td>单据日期:</td>
|
||||||
|
<td style="padding:5px;width:125px;">
|
||||||
|
<span id="OperTimeShow"></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>单据备注:</td>
|
||||||
|
<td style="padding:5px;width:292px;" colspan="5">
|
||||||
|
<span id="RemarkShow"></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="6">
|
||||||
|
<!-- 商品列表table -->
|
||||||
|
<table id="materialDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table>
|
||||||
|
</td>
|
||||||
|
<td colspan="2" valign="top">
|
||||||
|
<table width="100%" class="retail-amount-show">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">实收金额</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<span id="ChangeAmountShow" class="change-amount-show"></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">收款金额</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<span id="getAmountShow" class="get-amount-show"></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">找零</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<span id="backAmountShow" class="back-amount-show"></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>收款账户:</td>
|
||||||
|
<td align="left" style="width:110px;">
|
||||||
|
<span id="AccountIdShow"></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>经手人:</td>
|
||||||
|
<td align="left" style="width:110px;">
|
||||||
|
<span id="HandsPersonIdShow"></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -35,6 +35,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>
|
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>
|
||||||
</td>
|
</td>
|
||||||
|
<td><span class="tip">注:此处包含零售+批发销售</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -48,6 +49,7 @@
|
|||||||
//初始化界面
|
//初始化界面
|
||||||
$(function()
|
$(function()
|
||||||
{
|
{
|
||||||
|
$("#searchTable .tip").css("padding-left","15px").css("color","red");
|
||||||
initTableData();
|
initTableData();
|
||||||
ininPager();
|
ininPager();
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user