Commit c6d6ef11 authored by Darming's avatar Darming

[fix]建行-划扣导出修复

框架导出查询参数异常导致后台异常  修改了bindName--原因未知  添加记录变更事件
parent 7348a1c2
Pipeline #4906 canceled with stages
...@@ -299,10 +299,15 @@ ...@@ -299,10 +299,15 @@
}); });
} }
function query_reset(){ function query_reset() {
$('hls_ccb_batch_query_ds').reset(); $('hls_ccb_batch_query_ds').reset();
} }
function hls_ccb_batch_set_queryPara(ds){
var r = ds.getCurrentRecord();
$('hls_ccb_batch_merge_result_ds').setQueryParameter('batch_id',r.get('batch_id'));
}
]]></script> ]]></script>
<a:dataSets> <a:dataSets>
<a:dataSet id="bank_name_combobox_ds"> <a:dataSet id="bank_name_combobox_ds">
...@@ -320,16 +325,16 @@ ...@@ -320,16 +325,16 @@
</a:fields> </a:fields>
</a:dataSet> </a:dataSet>
<a:dataSet id="hls_ccb_batch_result_ds" autoCount="true" autoQuery="true" fetchAll="false" <a:dataSet id="hls_ccb_batch_result_ds" autoQuery="true" fetchAll="false"
model="ccb.CCB600.hls_ebank_batch" pageSize="15" queryDataSet="hls_ccb_batch_query_ds" model="ccb.CCB600.hls_ebank_batch" pageSize="15" queryDataSet="hls_ccb_batch_query_ds"
queryUrl="${/request/@context_path}/autocrud/ccb.CCB600.hls_ebank_batch/query" queryUrl="${/request/@context_path}/autocrud/ccb.CCB600.hls_ebank_batch/query"
selectable="true" selectionModel="single"> selectable="true" selectionModel="single">
<a:fields> <a:events>
<a:event name="indexchange" handler="hls_ccb_batch_set_queryPara"/>
</a:fields> </a:events>
</a:dataSet> </a:dataSet>
<a:dataSet id="hls_ccb_batch_merge_result_ds" model="ccb.CCB600.hls_ebank_batch_ln_group" <a:dataSet id="hls_ccb_batch_merge_result_ds" fetchAll="true" model="ccb.CCB600.hls_ebank_batch_ln_group"
bindName="merge_result" bindTarget="hls_ccb_batch_result_ds"> bindName="ccb_out_result" bindTarget="hls_ccb_batch_result_ds">
</a:dataSet> </a:dataSet>
</a:dataSets> </a:dataSets>
<a:screenBody> <a:screenBody>
...@@ -346,7 +351,7 @@ ...@@ -346,7 +351,7 @@
<!-- <a:gridButton click="withhold_list" text="手工代扣单"/>--> <!-- <a:gridButton click="withhold_list" text="手工代扣单"/>-->
</a:screenTopToolbar> </a:screenTopToolbar>
<a:form column="3"> <a:form column="3">
<!-- <a:comboBox name="bank_name" bindTarget="hls_ccb_batch_query_ds" prompt="银行名称"/>--> <!-- <a:comboBox name="bank_name" bindTarget="hls_ccb_batch_query_ds" prompt="银行名称"/>-->
<a:comboBox name="status_desc" bindTarget="hls_ccb_batch_query_ds" prompt="状态"/> <a:comboBox name="status_desc" bindTarget="hls_ccb_batch_query_ds" prompt="状态"/>
<a:datePicker name="batch_date" bindTarget="hls_ccb_batch_query_ds" prompt="创建日期"/> <a:datePicker name="batch_date" bindTarget="hls_ccb_batch_query_ds" prompt="创建日期"/>
</a:form> </a:form>
...@@ -369,7 +374,7 @@ ...@@ -369,7 +374,7 @@
</a:columns> </a:columns>
</a:grid> </a:grid>
<a:grid hidden="true" width="1" height="1" id="hls_ccb_batch_merge_result_grid" <a:grid hidden="true" width="1" height="1" id="hls_ccb_batch_merge_result_grid"
bindTarget="hls_ccb_batch_merge_result_ds"> bindTarget="hls_ccb_batch_merge_result_ds" title="待导出划扣单">
<a:columns> <a:columns>
<a:column name="sequence_num" prompt="序号(必填)"/> <a:column name="sequence_num" prompt="序号(必填)"/>
<a:column name="bank_account_num" prompt="账号(必填)"/> <a:column name="bank_account_num" prompt="账号(必填)"/>
...@@ -384,23 +389,23 @@ ...@@ -384,23 +389,23 @@
<a:column prompt="备注(选填)"/> <a:column prompt="备注(选填)"/>
</a:columns> </a:columns>
</a:grid> </a:grid>
<a:grid hidden="true" width="1" height="1" id="hls_abc_batch_merge_result_grid" <!-- <a:grid hidden="true" width="1" height="1" id="hls_abc_batch_merge_result_grid"-->
bindTarget="hls_ccb_batch_merge_result_ds"> <!-- bindTarget="hls_ccb_batch_merge_result_ds">-->
<a:columns> <!-- <a:columns>-->
<a:column name="abc_sequence_num" prompt="serial-no"/> <!-- <a:column name="abc_sequence_num" prompt="serial-no"/>-->
<a:column name="abc_pay_type" prompt="pay-type"/> <!-- <a:column name="abc_pay_type" prompt="pay-type"/>-->
<a:column name="abc_transaction_type" prompt="transaction-type"/> <!-- <a:column name="abc_transaction_type" prompt="transaction-type"/>-->
<a:column name="csh_bank_account_num" prompt="account-no"/> <!-- <a:column name="csh_bank_account_num" prompt="account-no"/>-->
<a:column name="csh_bank_account_name" prompt="account-name"/> <!-- <a:column name="csh_bank_account_name" prompt="account-name"/>-->
<a:column name="bank_account_num" prompt="payee-account-to"/> <!-- <a:column name="bank_account_num" prompt="payee-account-to"/>-->
<a:column name="bank_account_name" prompt="payee-name"/> <!-- <a:column name="bank_account_name" prompt="payee-name"/>-->
<a:column name="abc_payee_bank" prompt="payee-bank"/> <!-- <a:column name="abc_payee_bank" prompt="payee-bank"/>-->
<a:column name="abc_usage" prompt="usage"/> <!-- <a:column name="abc_usage" prompt="usage"/>-->
<a:column name="abc_fen_code" prompt="fen-code"/> <!-- <a:column name="abc_fen_code" prompt="fen-code"/>-->
<a:column name="abc_curr_flag" prompt="curr-flag"/> <!-- <a:column name="abc_curr_flag" prompt="curr-flag"/>-->
<a:column name="actual_amount" align="right" renderer="Leaf.formatMoney" prompt="amount"/> <!-- <a:column name="actual_amount" align="right" renderer="Leaf.formatMoney" prompt="amount"/>-->
</a:columns> <!-- </a:columns>-->
</a:grid> <!-- </a:grid>-->
</a:screenBody> </a:screenBody>
</a:view> </a:view>
</a:screen> </a:screen>
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