Commit 097750f8 authored by 38823's avatar 38823

资产管理费代理店功能问题修复

parent b06dbba3
......@@ -53,5 +53,15 @@
end;
]]></bm:update-sql>
</bm:operation>
<bm:operation name="query">
<bm:query-sql>
select amf.*,
(SELECT v.code_value_name
FROM sys_code_values_v v
WHERE v.code = 'WFL_STATUS'
AND v.code_value = amf.wfl_status) AS wfl_status_n
from asset_management_fee amf where amf.asset_batch_id=${@asset_batch_id}
</bm:query-sql>
</bm:operation>
</bm:operations>
</bm:model>
......@@ -15,10 +15,23 @@
<script type="text/javascript"><![CDATA[
$L.onReady(function(){
debugger;
if('${/parameter/@function_usage}' == 'MODIFY'){
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'asset_management_fee');
$(ds_id).setQueryParameter('bp_id','${/parameter/@bp_id}');
$(ds_id).query();
}
if('${/parameter/@function_usage}' == 'QUERY'){
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'asset_management_fee');
$(ds_id).setQueryUrl('${/request/@context_path}/autocrud/hls.HLS303.asset_wfl_approval/query');
$(ds_id).setQueryParameter('asset_batch_id','${/parameter/@asset_batch_id}');
$(ds_id).query();
if(document.getElementById('${/parameter/@layout_code}_exit')){
$jq('#${/parameter/@layout_code}_exit').hide();
}
if(document.getElementById('${/parameter/@layout_code}_submit_approval')){
$jq('#${/parameter/@layout_code}_submit_approval').hide();
}
}
});
//加载时调用(grid,table,gridBox)
window['${/parameter/@layout_code}_on_layout_dynamic_grid_load'] = function(ds, record, config_records, bp_seq) {
......@@ -65,7 +78,7 @@
records[i].set('_status','execute');
ParaData.push(records[i].data);
}
Leaf.showConfirm('${l:PROMPT}', '确认提交资产管理费工作流?', function () {
Leaf.showConfirm('${l:PROMPT}', '确认提交资产管理费组合利率审批工作流?', function () {
Leaf.request({
url: $('asset_wfl_link_id').getUrl(),
para: ParaData,
......
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