Commit 9800e297 authored by 21471731's avatar 21471731

租赁物导入调整04

parent 1104548a
......@@ -63,9 +63,9 @@
});
};
//保存
window['${/parameter/@layout_code}_user_button3_layout_dynamic_click'] = function() {
debugger;
//保存submitsuccess调用
window['${/parameter/@layout_code}_on_layout_dynamic_submitsuccess'] = function(ds, record, res, bp_seq) {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'prj_project_lease_data_temp');
var record=$(ds_id).getAt(0);
var records = $(ds_id).getAll();
......@@ -95,23 +95,20 @@
param['session_id'] = '${/session/@session_id}';
param['user_id'] = '${/session/@user_id}';
param['project_lease_item_id']='${/parameter/@project_lease_item_id}';
if($(ds_id).validate()){
if($(ds_id).validate()){
Leaf.request({
url: $('prj501N_lease_item_list_save_link').getUrl(),
para:param,
success: function() {
Leaf.SideBar.show({
msg: '操作成功',
duration: 2000
});
},
error: function() {
},
failure: function() {},
scope: this
});
}
};
}
}
]]></script>
<a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
......
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