Commit 12a91a8a authored by 刘学辉's avatar 刘学辉

物料主数据调整

parent 1c6e9dd3
...@@ -66,10 +66,9 @@ function initializate() { ...@@ -66,10 +66,9 @@ function initializate() {
} }
$('input[name="isAll"]').change(function () { $('input[name="isAll"]').change(function () {
//alert($(this).is(':checked'));
debugger debugger
if ($(this).is(':checked')) { //alert("全选"); if ($(this).is(':checked')) { //alert("全选");
$("#busiLens").val(dictUsage.length); $("#busiLens").val(dictUsage.length);
for (var x=0;x<$("input[name='businessUsage']").length;x++) { for (var x=0;x<$("input[name='businessUsage']").length;x++) {
$("input[name='businessUsage']")[x].checked = true; $("input[name='businessUsage']")[x].checked = true;
let datas = gridManager.getData(); let datas = gridManager.getData();
...@@ -88,7 +87,7 @@ function initializate() { ...@@ -88,7 +87,7 @@ function initializate() {
gridManager.addRow({deptName: name, deptCode: deptCode, userName: ""}); gridManager.addRow({deptName: name, deptCode: deptCode, userName: ""});
} }
} }
} }
} else { } else {
$("input[name='businessUsage']").each(function(){ $("input[name='businessUsage']").each(function(){
$(this).attr("checked",false); $(this).attr("checked",false);
...@@ -129,8 +128,6 @@ function initializate() { ...@@ -129,8 +128,6 @@ function initializate() {
// $('input[name="isAll"]').attr("checked",true); // $('input[name="isAll"]').attr("checked",true);
$('input[name="isAll"]')[0].checked = true; $('input[name="isAll"]')[0].checked = true;
} }
// coRowNum+=1;
//gridManager.loadData();
} else { } else {
let datas=gridManager.getData(); let datas=gridManager.getData();
var selval=$(this).val(); var selval=$(this).val();
......
...@@ -38,6 +38,7 @@ public class SapMutualEpLogApplicationImpl extends FlowBroker implements SapMutu ...@@ -38,6 +38,7 @@ public class SapMutualEpLogApplicationImpl extends FlowBroker implements SapMutu
sapMutualEpLog.setBusinessId(map.get("businessId")!=null?map.get("businessId").toString():""); sapMutualEpLog.setBusinessId(map.get("businessId")!=null?map.get("businessId").toString():"");
sapMutualEpLog.setBusinessType(map.get("businessType")!=null?map.get("businessType").toString():""); sapMutualEpLog.setBusinessType(map.get("businessType")!=null?map.get("businessType").toString():"");
sapMutualEpLog = ClassHelper.fromMap(SapMutualEpLog.class, map); sapMutualEpLog = ClassHelper.fromMap(SapMutualEpLog.class, map);
sapMutualEpLog.setMessage(map.get("MESSAGE").toString());
//BeanUtil.mapToBean(map, ClassHelpersapMutualEpLog); //BeanUtil.mapToBean(map, ClassHelpersapMutualEpLog);
Date date = new Date(); Date date = new Date();
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
......
...@@ -330,6 +330,7 @@ public class NonProdApplyDeptApplicationImpl extends BaseApplication implements ...@@ -330,6 +330,7 @@ public class NonProdApplyDeptApplicationImpl extends BaseApplication implements
//更改分发状态 //更改分发状态
baseInfo.setDistribute(1); baseInfo.setDistribute(1);
backStr="传输失败:" + backMap.get("MESSAGE"); backStr="传输失败:" + backMap.get("MESSAGE");
backMap.put("MESSAGE",backStr);
nonProdApplyBaseInfoRepository.save(baseInfo); nonProdApplyBaseInfoRepository.save(baseInfo);
//throw new RuntimeException(backStr); //throw new RuntimeException(backStr);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment