Commit 0d785437 authored by 38823's avatar 38823

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

parent ec7d4a97
...@@ -53,5 +53,15 @@ ...@@ -53,5 +53,15 @@
end; end;
]]></bm:update-sql> ]]></bm:update-sql>
</bm:operation> </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:operations>
</bm:model> </bm:model>
...@@ -15,10 +15,23 @@ ...@@ -15,10 +15,23 @@
<script type="text/javascript"><![CDATA[ <script type="text/javascript"><![CDATA[
$L.onReady(function(){ $L.onReady(function(){
debugger; debugger;
if('${/parameter/@function_usage}' == 'MODIFY'){
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'asset_management_fee'); 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).setQueryParameter('bp_id','${/parameter/@bp_id}');
$(ds_id).query(); $(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) //加载时调用(grid,table,gridBox)
window['${/parameter/@layout_code}_on_layout_dynamic_grid_load'] = function(ds, record, config_records, bp_seq) { window['${/parameter/@layout_code}_on_layout_dynamic_grid_load'] = function(ds, record, config_records, bp_seq) {
...@@ -65,7 +78,7 @@ ...@@ -65,7 +78,7 @@
records[i].set('_status','execute'); records[i].set('_status','execute');
ParaData.push(records[i].data); ParaData.push(records[i].data);
} }
Leaf.showConfirm('${l:PROMPT}', '确认提交资产管理费工作流?', function () { Leaf.showConfirm('${l:PROMPT}', '确认提交资产管理费组合利率审批工作流?', function () {
Leaf.request({ Leaf.request({
url: $('asset_wfl_link_id').getUrl(), url: $('asset_wfl_link_id').getUrl(),
para: ParaData, 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