Commit 11d29ed7 authored by Darming's avatar Darming

Merge branch 'feature/optimization' into develop

# Conflicts:
#	src/main/webapp/modules/csh/CSH510/csh_transaction_receipt_maintain.lview
parents 3d56102a 0018e840
Pipeline #4132 canceled with stages
...@@ -118,6 +118,7 @@ ...@@ -118,6 +118,7 @@
<bm:query-field field="receipt_type" queryOperator="="/> <bm:query-field field="receipt_type" queryOperator="="/>
<bm:query-field name="confirmed" queryExpression="((${@confirmed} = 'Y' and t1.confirmed_flag in ('ACCAUDITED','ACCAUDITING')) or (${@confirmed} = 'N' and t1.confirmed_flag in ('NEW','CT_REJECTED','ACCAUDITING','ACCAUDITED')))"/> <bm:query-field name="confirmed" queryExpression="((${@confirmed} = 'Y' and t1.confirmed_flag in ('ACCAUDITED','ACCAUDITING')) or (${@confirmed} = 'N' and t1.confirmed_flag in ('NEW','CT_REJECTED','ACCAUDITING','ACCAUDITED')))"/>
<bm:query-field field="opposite_band_na" queryOperator="="/> <bm:query-field field="opposite_band_na" queryOperator="="/>
<bm:query-field name="transaction_num" queryExpression="t1.transaction_num like ${@transaction_num}"/>
<bm:query-field name="transaction_num_from" queryExpression="t1.transaction_num &gt;= ${@transaction_num_from}"/> <bm:query-field name="transaction_num_from" queryExpression="t1.transaction_num &gt;= ${@transaction_num_from}"/>
<bm:query-field name="transaction_num_to" queryExpression="t1.transaction_num &lt;= ${@transaction_num_to}"/> <bm:query-field name="transaction_num_to" queryExpression="t1.transaction_num &lt;= ${@transaction_num_to}"/>
<bm:query-field name="bank_slip_num" queryExpression="t1.bank_slip_num like &apos;%&apos;||${@bank_slip_num}||&apos;%&apos;"/> <bm:query-field name="bank_slip_num" queryExpression="t1.bank_slip_num like &apos;%&apos;||${@bank_slip_num}||&apos;%&apos;"/>
......
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
t.bp_bank_account_num, t.bp_bank_account_num,
t.bp_bank_account_name, t.bp_bank_account_name,
t.bp_bank_name, t.bp_bank_name,
t.bp_category,
t.transaction_amount, t.transaction_amount,
t.collection_classes, t.collection_classes,
t.bp_id, t.bp_id,
......
...@@ -31,6 +31,6 @@ ...@@ -31,6 +31,6 @@
</bm:features> </bm:features>
<bm:data-filters> <bm:data-filters>
<bm:data-filter name="query" expression="(t1.transaction_id=${@transaction_id} and t1.company_id=${/session/@company_id} and t1.write_off_type = ${@write_off_type})"/> <bm:data-filter name="query" expression="(t1.transaction_id=${@transaction_id} and t1.company_id=${/session/@company_id} and t1.write_off_type = ${@write_off_type})"/>
<bm:data-filter name="query" expression="(nvl(t1.create_wf_flag,'N') = 'N')" /> <bm:data-filter name="query" expression="(nvl(t1.create_wf_flag,'N') = DECODE((select write_off_flag from csh_transaction where transaction_id = t1.transaction_id),'FULL','Y','N'))" />
</bm:data-filters> </bm:data-filters>
</bm:model> </bm:model>
\ No newline at end of file
...@@ -173,6 +173,6 @@ ...@@ -173,6 +173,6 @@
<!-- <bm:data-filter name="type" expression="t1.transaction_type in ('ADVANCE_RECEIPT','RECEIPT') and t1.returned_flag != 'FULL' and t1.reversed_flag = 'N' and nvl(t1.deposit_flag,'N')='N' "/>--> <!-- <bm:data-filter name="type" expression="t1.transaction_type in ('ADVANCE_RECEIPT','RECEIPT') and t1.returned_flag != 'FULL' and t1.reversed_flag = 'N' and nvl(t1.deposit_flag,'N')='N' "/>-->
<bm:data-filter name="query" expression="(t1.transaction_type in ('ADVANCE_RECEIPT','RECEIPT',DECODE(${@cw_flag},'Y',NULL,DECODE(t1.source_type,NULL,NULL,'DEPOSIT'))) and t1.confirmed_flag in ('WF_APPROVING','ACCAUDITED','APPROVED','WF_REJECTED')) "/> <bm:data-filter name="query" expression="(t1.transaction_type in ('ADVANCE_RECEIPT','RECEIPT',DECODE(${@cw_flag},'Y',NULL,DECODE(t1.source_type,NULL,NULL,'DEPOSIT'))) and t1.confirmed_flag in ('WF_APPROVING','ACCAUDITED','APPROVED','WF_REJECTED')) "/>
<!-- <bm:data-filter name="position_code" expression="(((${@position_code} = '009' and t1.bp_category = 'TENANT' and t1.paid_byother_flag = 'N') or ((${@position_code} = '014' and t1.bp_category != 'TENANT') or (${@position_code} = '014' and t1.paid_byother_flag != 'N')) and t1.confirmed_flag != 'ACCAUDITED') or (${/session/@user_id} = 1))" />--> <!-- <bm:data-filter name="position_code" expression="(((${@position_code} = '009' and t1.bp_category = 'TENANT' and t1.paid_byother_flag = 'N') or ((${@position_code} = '014' and t1.bp_category != 'TENANT') or (${@position_code} = '014' and t1.paid_byother_flag != 'N')) and t1.confirmed_flag != 'ACCAUDITED') or (${/session/@user_id} = 1))" />-->
<bm:data-filter name="position_code" expression="((${@cw_flag} = 'Y') or (${@position_code} = '009' and (t1.paid_byother_flag = 'F' and t1.confirmed_flag != 'ACCAUDITED') or (${/session/@user_id} = 1)) or (${@position_code} = '014' and ((t1.paid_byother_flag != 'F') and t1.confirmed_flag != 'ACCAUDITED') or (${/session/@user_id} = 1)))"/> <bm:data-filter name="position_code" expression="(((${@cw_flag} = 'Y') or (${@position_code} = '009' and t1.created_by != ${/session/@user_id} and (t1.paid_byother_flag = 'F' and t1.bp_category = 'TENANT' and t1.confirmed_flag != 'ACCAUDITED') or (${/session/@user_id} = 1)) or (${@position_code} = '014' and t1.created_by != ${/session/@user_id} and ((((t1.paid_byother_flag != 'F' or t1.bp_category != 'TENANT')) or t1.transaction_type = 'DEPOSIT') and t1.confirmed_flag != 'ACCAUDITED' and t1.created_by != ${/session/@user_id}) or (${/session/@user_id} = 1))))"/>
</bm:data-filters> </bm:data-filters>
</bm:model> </bm:model>
\ No newline at end of file
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
<a:tabPanel marginHeight="420" marginWidth="30"> <a:tabPanel marginHeight="420" marginWidth="30">
<a:tabs> <a:tabs>
<a:tab prompt="未收金额" width="110"> <a:tab prompt="未收金额" width="110">
<a:grid bindTarget="unreceivedAmountDs" marginHeight="470" marginWidth="55" navBar="true"> <a:grid bindTarget="unreceivedAmountDs" marginHeight="325" marginWidth="55" navBar="true">
<a:columns> <a:columns>
<a:column name="times" prompt="期数"/> <a:column name="times" prompt="期数"/>
<a:column name="cf_type_dis" prompt="类型"/> <a:column name="cf_type_dis" prompt="类型"/>
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
</a:grid> </a:grid>
</a:tab> </a:tab>
<a:tab prompt="已收金额" width="110"> <a:tab prompt="已收金额" width="110">
<a:grid bindTarget="receivedAmountDs" marginHeight="450" marginWidth="55" navBar="true"> <a:grid bindTarget="receivedAmountDs" marginHeight="325" marginWidth="55" navBar="true">
<a:columns> <a:columns>
<a:column name="times" prompt="期数"/> <a:column name="times" prompt="期数"/>
<a:column name="cf_type_dis" prompt="类型"/> <a:column name="cf_type_dis" prompt="类型"/>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
$Author: sf $Author: sf
$Date: 2019-09-06 上午11:10:33 $Date: 2019-09-06 上午11:10:33
$Revision: 1.0 $Revision: 1.0
$Purpose: design the function of written_off money $Purpose: design the function of written_off money
--> -->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" trace="true"> <a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" trace="true">
<a:init-procedure> <a:init-procedure>
<a:model-query defaultWhereClause="t1.enabled_flag=&apos;Y&apos;" fetchAll="true" model="basic.csh_payment_method_for_lov" rootPath="payment_method_path"/> <a:model-query defaultWhereClause="t1.enabled_flag=&apos;Y&apos;" fetchAll="true" model="basic.csh_payment_method_for_lov" rootPath="payment_method_path"/>
<a:model-query fetchAll="true" model="gld.gld_currency_vl" rootPath="currency"/> <a:model-query fetchAll="true" model="gld.gld_currency_vl" rootPath="currency"/>
<a:model-query defaultWhereClause="t.code = &apos;CSH511_TRANSACTION_TYPE&apos; and t.code_value in (&apos;RECEIPT&apos;,&apos;ADVANCE_RECEIPT&apos;)" fetchAll="true" model="sys.sys_code_values_v" rootPath="transaction_type"/> <a:model-query defaultWhereClause="t.code = &apos;CSH511_TRANSACTION_TYPE&apos; and t.code_value in (&apos;RECEIPT&apos;,&apos;ADVANCE_RECEIPT&apos;)" fetchAll="true" model="sys.sys_code_values_v" rootPath="transaction_type"/>
<a:model-query defaultWhereClause="t.code = &apos;CSH510_RETURN_SELECT&apos; and t.code_value not in (&apos;RETURN&apos;)" fetchAll="true" model="sys.sys_code_values_v" rootPath="returned_flag_rp"/> <a:model-query defaultWhereClause="t.code = &apos;CSH510_RETURN_SELECT&apos; and t.code_value not in (&apos;RETURN&apos;)" fetchAll="true" model="sys.sys_code_values_v" rootPath="returned_flag_rp"/>
<a:model-query defaultWhereClause="t.code = &apos;CSH510_REVERSE_SELECT&apos; and t.code_value not in (&apos;R&apos;)" fetchAll="true" model="sys.sys_code_values_v" rootPath="reversed_flag_rp"/> <a:model-query defaultWhereClause="t.code = &apos;CSH510_REVERSE_SELECT&apos; and t.code_value not in (&apos;R&apos;)" fetchAll="true" model="sys.sys_code_values_v" rootPath="reversed_flag_rp"/>
</a:init-procedure> </a:init-procedure>
<a:view> <a:view>
<a:link id="csh_transaction_receipt_link" url="${/request/@context_path}/modules/csh/CSH511/csh_transaction_receipt.lview"/> <a:link id="csh_transaction_receipt_link" url="${/request/@context_path}/modules/csh/CSH511/csh_transaction_receipt.lview"/>
<a:link id="sys_service_welcome_link" url="${/request/@context_path}/welcome.lview"/> <a:link id="sys_service_welcome_link" url="${/request/@context_path}/welcome.lview"/>
<a:link id="csh_transaction_receipt_update_link" url="${/request/@context_path}/modules/csh/CSH510/csh_transaction_receipt_update.lview"/> <a:link id="csh_transaction_receipt_update_link" url="${/request/@context_path}/modules/csh/CSH510/csh_transaction_receipt_update.lview"/>
<!-- <a:link id="csh_transaction_receipt_maintain_post_link" url="${/request/@context_path}/modules/csh/CSH510/csh_transaction_receipt_update.lview"/>--> <!-- <a:link id="csh_transaction_receipt_maintain_post_link" url="${/request/@context_path}/modules/csh/CSH510/csh_transaction_receipt_update.lview"/>-->
<a:link id="csh_transaction_receipt_maintain_link" url="${/request/@context_path}/modules/csh/CSH510/csh_transaction_hand_receipt_update.lview"/> <a:link id="csh_transaction_receipt_maintain_link" url="${/request/@context_path}/modules/csh/CSH510/csh_transaction_hand_receipt_update.lview"/>
<a:link id="csh_transaction_receipt_maintain_readonly_link" url="${/request/@context_path}/modules/csh/CSH510/csh_transaction_hand_receipt_update_readonly.lview"/> <a:link id="csh_transaction_receipt_maintain_readonly_link" url="${/request/@context_path}/modules/csh/CSH510/csh_transaction_hand_receipt_update_readonly.lview"/>
<a:link id="csh510_csh_transaction_batch_update" model="csh.CSH510.csh_transaction_delete" modelaction="batch_update"/> <a:link id="csh510_csh_transaction_batch_update" model="csh.CSH510.csh_transaction_delete" modelaction="batch_update"/>
<a:link id="csh511_csh_transaction_batch_post_link" model="csh.CSH511.csh_transaction_post" modelaction="batch_update"/> <a:link id="csh511_csh_transaction_batch_post_link" model="csh.CSH511.csh_transaction_post" modelaction="batch_update"/>
<!--更新收款单据的状态--> <!--更新收款单据的状态-->
<a:link id="csh509N_batch_update_confirmed_flag" model="csh.CSH509.query_roles_info" modelaction="batch_update"/> <a:link id="csh509N_batch_update_confirmed_flag" model="csh.CSH509.query_roles_info" modelaction="batch_update"/>
<a:link id="csh510N_csh_transaction_batch_update_confirmed_flag" model="csh.CSH510.csh_transaction_update" modelaction="batch_update"/> <a:link id="csh510N_csh_transaction_batch_update_confirmed_flag" model="csh.CSH510.csh_transaction_update" modelaction="batch_update"/>
<!-- <a:link id="csh510_csh_transaction_import_link" url="${/request/@context_path}/modules/csh/CSH510/csh_transaction_import.lview"/>--> <!-- <a:link id="csh510_csh_transaction_import_link" url="${/request/@context_path}/modules/csh/CSH510/csh_transaction_import.lview"/>-->
<a:link id="csh510_csh_transaction_import_link" url="${/request/@context_path}/modules/csh/CSH510N/csh_transaction_import.lview"/> <a:link id="csh510_csh_transaction_import_link" url="${/request/@context_path}/modules/csh/CSH510N/csh_transaction_import.lview"/>
<script type="text/javascript"><![CDATA[ <script type="text/javascript"><![CDATA[
Leaf.onReady(function(){ Leaf.onReady(function(){
//console.log($('csh_transaction_receipt_maintain_result_ds')); //console.log($('csh_transaction_receipt_maintain_result_ds'));
}) })
//新增单据的作废 //新增单据的作废
function csh510_csh_trx_bank_drop(){ function csh510_csh_trx_bank_drop(){
$('csh510_csh_trx_bank_drop').disable(); $('csh510_csh_trx_bank_drop').disable();
var datas = $('csh_transaction_receipt_maintain_result_ds').selected; var datas = $('csh_transaction_receipt_maintain_result_ds').selected;
if (datas.length == 0) { if (datas.length == 0) {
$L.showMessage("提示", '请选择要作废的单据'); $L.showMessage("提示", '请选择要作废的单据');
$('csh510_csh_trx_bank_drop').enable(); $('csh510_csh_trx_bank_drop').enable();
return; return;
} }
var post_data=[]; var post_data=[];
for(var i=0;i<datas.length;i=i+1) { for(var i=0;i<datas.length;i=i+1) {
var confirmed_flag= datas[i].get('confirmed_flag'); var confirmed_flag= datas[i].get('confirmed_flag');
//不是新增就报错 //不是新增就报错
if(confirmed_flag!='NEW'&&confirmed_flag!='CT_REJECTED'){ if(confirmed_flag!='NEW'&&confirmed_flag!='CT_REJECTED'){
$L.showInfoMessage("提示", '请选择单据为新建或收款退回的数据', null, null); $L.showInfoMessage("提示", '请选择单据为新建或收款退回的数据', null, null);
return; return;
} }
//将对象封装到json对象数组 //将对象封装到json对象数组
post_data.push({ post_data.push({
'transaction_id': datas[i].get('transaction_id'), 'transaction_id': datas[i].get('transaction_id'),
//提交想改变之后的状态 //提交想改变之后的状态
'wanted_confirmed_flag': 'CANCELLED', 'wanted_confirmed_flag': 'CANCELLED',
'_status': 'update' '_status': 'update'
}); });
}; };
//弹出确认修改的提示框 //弹出确认修改的提示框
$L.showConfirm("提示",'确认执行该操作?',function(){ $L.showConfirm("提示",'确认执行该操作?',function(){
//锁屏 //锁屏
lock_current_window(); lock_current_window();
//作废单据 //作废单据
Leaf.request({ Leaf.request({
url: $('csh509N_batch_update_confirmed_flag').getUrl(), url: $('csh509N_batch_update_confirmed_flag').getUrl(),
para: post_data, para: post_data,
success: function () { success: function () {
unlock_current_window(); unlock_current_window();
$('csh_transaction_receipt_maintain_result_ds').query(); $('csh_transaction_receipt_maintain_result_ds').query();
Leaf.showMessage('${l:PROMPT}', '该单据已作废!'); Leaf.showMessage('${l:PROMPT}', '该单据已作废!');
$('csh510_csh_trx_bank_drop').enable(); $('csh510_csh_trx_bank_drop').enable();
}, failure: function () { }, failure: function () {
unlock_current_window(); unlock_current_window();
$('csh510_csh_trx_bank_drop').enable(); $('csh510_csh_trx_bank_drop').enable();
}, },
error: function () { error: function () {
unlock_current_window(); unlock_current_window();
$('csh510_csh_trx_bank_drop').enable(); $('csh510_csh_trx_bank_drop').enable();
}, },
scope: this scope: this
}); });
}) })
} }
//新增申请按钮 //新增申请按钮
function csh510_csh_trx_bank_apply_new() { function csh510_csh_trx_bank_apply_new() {
$('csh510_csh_trx_bank_apply_new').disable(); $('csh510_csh_trx_bank_apply_new').disable();
var datas = $('csh_transaction_receipt_maintain_result_ds').selected; var datas = $('csh_transaction_receipt_maintain_result_ds').selected;
//获得所选择的的未提交的单据,如果有不是未提交的数据,提示重新进行选择 //获得所选择的的未提交的单据,如果有不是未提交的数据,提示重新进行选择
if (datas.length == 0) { if (datas.length == 0) {
$L.showMessage("提示", '请至少选择一条数据'); $L.showMessage("提示", '请至少选择一条数据');
$('csh510_csh_trx_bank_apply_new').enable(); $('csh510_csh_trx_bank_apply_new').enable();
return; return;
} }
var post_data=[]; var post_data=[];
for(var i=0;i<datas.length;i=i+1) { for(var i=0;i<datas.length;i=i+1) {
var confirmed_flag = datas[i].get('confirmed_flag'); var confirmed_flag = datas[i].get('confirmed_flag');
var bp_name=datas[i].get('bp_name'); var bp_name=datas[i].get('bp_name');
if(bp_name==''||bp_name==undefined){ if(bp_name==''||bp_name==undefined){
$L.showInfoMessage("提示", '商业伙伴为空,不能提交', null, null); $L.showInfoMessage("提示", '商业伙伴为空,不能提交', null, null);
$('csh510_csh_trx_bank_apply_new').enable(); $('csh510_csh_trx_bank_apply_new').enable();
return; return;
} }
//不是新增就报错 //不是新增就报错
if (confirmed_flag != 'NEW' && confirmed_flag != 'CT_REJECTED') { if (confirmed_flag != 'NEW' && confirmed_flag != 'CT_REJECTED') {
$L.showInfoMessage("提示", '请选择单据为新建或收款退回的数据', null, null); $L.showInfoMessage("提示", '请选择单据为新建或收款退回的数据', null, null);
$('csh510_csh_trx_bank_apply_new').enable(); $('csh510_csh_trx_bank_apply_new').enable();
return; return;
} }
//将对象封装到json对象数组 //将对象封装到json对象数组
post_data.push({ post_data.push({
'transaction_id': datas[i].get('transaction_id'), 'transaction_id': datas[i].get('transaction_id'),
'_status': 'update' '_status': 'update'
}); });
} }
//弹出确认修改的提示框 //弹出确认修改的提示框
$L.showConfirm("提示", '确认执行该操作?', function () { $L.showConfirm("提示", '确认执行该操作?', function () {
//锁屏 //锁屏
lock_current_window(); lock_current_window();
//改变未提交单据数据的状态 //改变未提交单据数据的状态
Leaf.request({ Leaf.request({
url: $('csh510N_csh_transaction_batch_update_confirmed_flag').getUrl(), url: $('csh510N_csh_transaction_batch_update_confirmed_flag').getUrl(),
para: post_data, para: post_data,
success: function () { success: function () {
unlock_current_window(); unlock_current_window();
$('csh_transaction_receipt_maintain_result_ds').query(); $('csh_transaction_receipt_maintain_result_ds').query();
Leaf.showMessage('${l:PROMPT}', '提交成功!'); Leaf.showMessage('${l:PROMPT}', '提交成功!');
//启用按钮 //启用按钮
$('csh510_csh_trx_bank_apply_new').enable(); $('csh510_csh_trx_bank_apply_new').enable();
}, failure: function () { }, failure: function () {
//启用按钮 //启用按钮
$('csh510_csh_trx_bank_apply_new').enable(); $('csh510_csh_trx_bank_apply_new').enable();
unlock_current_window(); unlock_current_window();
}, },
error: function () { error: function () {
//启用按钮 //启用按钮
$('csh510_csh_trx_bank_apply_new').enable(); $('csh510_csh_trx_bank_apply_new').enable();
unlock_current_window(); unlock_current_window();
}, },
scope: this scope: this
}); });
},function(){ },function(){
$('csh510_csh_trx_bank_apply_new').enable(); $('csh510_csh_trx_bank_apply_new').enable();
}); });
} }
//跳转到收款新增页面 //跳转到收款新增页面
function csh510_csh_trx_bank_hand_add(){ function csh510_csh_trx_bank_hand_add(){
//按钮失效 //按钮失效
$('csh510_csh_trx_bank_hand_add').disable(); $('csh510_csh_trx_bank_hand_add').disable();
var url = $('csh_transaction_receipt_link').getUrl(); var url = $('csh_transaction_receipt_link').getUrl();
var win = new Leaf.Window({ var win = new Leaf.Window({
title:'${l:CSH510.NEW_MANUAL_RECEIPT}', title:'${l:CSH510.NEW_MANUAL_RECEIPT}',
url: url, url: url,
id: 'csh_trx_receipt_id', id: 'csh_trx_receipt_id',
fullScreen: true, fullScreen: true,
draggable: true draggable: true
}).on('close', function() { }).on('close', function() {
//按钮启用 //按钮启用
$('csh510_csh_trx_bank_hand_add').enable(); $('csh510_csh_trx_bank_hand_add').enable();
$('csh_transaction_receipt_maintain_result_ds').query(); $('csh_transaction_receipt_maintain_result_ds').query();
}); });
} }
//锁表 //锁表
function lock_current_window() { function lock_current_window() {
Leaf.Masker.mask(Ext.getBody(), '${l:HLS.EXECUTING}'); Leaf.Masker.mask(Ext.getBody(), '${l:HLS.EXECUTING}');
} }
//解锁 //解锁
function unlock_current_window() { function unlock_current_window() {
Leaf.Masker.unmask(Ext.getBody()); Leaf.Masker.unmask(Ext.getBody());
} }
function dateValidator(record, name, value) { //日期校验方法 function dateValidator(record, name, value) { //日期校验方法
if (name == 'transaction_date_from' || name == 'transaction_date_to') { if (name == 'transaction_date_from' || name == 'transaction_date_to') {
var start_date = Leaf.formatDate(record.get('transaction_date_from')); var start_date = Leaf.formatDate(record.get('transaction_date_from'));
var end_date = Leaf.formatDate(record.get('transaction_date_to')); var end_date = Leaf.formatDate(record.get('transaction_date_to'));
if (!!end_date) { //由于结束日期非必填,只有在结束日期填了才进行比较 if (!!end_date) { //由于结束日期非必填,只有在结束日期填了才进行比较
if (!compareDate(start_date, end_date)) { if (!compareDate(start_date, end_date)) {
return '${l:CSH510.CSH_RECEIPT_DATE_CHECK}'; //校验不通过返回字符串 return '${l:CSH510.CSH_RECEIPT_DATE_CHECK}'; //校验不通过返回字符串
} }
} }
return true; //校验通过返回true return true; //校验通过返回true
} }
} }
function compareDate(start, end) { function compareDate(start, end) {
if (start > end) { if (start > end) {
return false; return false;
} }
return true; return true;
} }
function csh510_receipt_query() { function csh510_receipt_query() {
var record = $('csh_transaction_receipt_maintain_query_ds').getAt(0); var record = $('csh_transaction_receipt_maintain_query_ds').getAt(0);
var dirty_flag = 'N'; var dirty_flag = 'N';
for (var name in record.data) { for (var name in record.data) {
var value = record.get(name); var value = record.get(name);
if (value != 'undefined' && value != null && value != '') { if (value != 'undefined' && value != null && value != '') {
dirty_flag = 'Y'; dirty_flag = 'Y';
} }
} }
if (dirty_flag == 'N') { if (dirty_flag == 'N') {
Leaf.showConfirm('${l:PROMPT}', '${l:CSH510.CSH_RECEIPT_QUERY_INFORMATION}', function () { Leaf.showConfirm('${l:PROMPT}', '${l:CSH510.CSH_RECEIPT_QUERY_INFORMATION}', function () {
return; return;
}, function () { }, function () {
$('csh_transaction_receipt_maintain_result_ds').query(); $('csh_transaction_receipt_maintain_result_ds').query();
}, null, null); }, null, null);
} else { } else {
$('csh_transaction_receipt_maintain_result_ds').query(); $('csh_transaction_receipt_maintain_result_ds').query();
} }
} }
function csh510_receipt_reset() { function csh510_receipt_reset() {
$('csh_transaction_receipt_maintain_query_ds').reset(); $('csh_transaction_receipt_maintain_query_ds').reset();
} }
function csh510_receipt_back() { function csh510_receipt_back() {
history.go(-1); history.go(-1);
} }
function csh510_receipt_forward() { function csh510_receipt_forward() {
history.go(1); history.go(1);
} }
function csh510_receipt_quit() { function csh510_receipt_quit() {
location.href = $('sys_service_welcome_link').getUrl(); location.href = $('sys_service_welcome_link').getUrl();
parent.shMenu('show'); parent.shMenu('show');
} }
function seedetail_transaction_num(value, record, name) { function seedetail_transaction_num(value, record, name) {
/* console.log(record.get('receipt_type')); /* console.log(record.get('receipt_type'));
console.log( record.get('bp_name')); console.log( record.get('bp_name'));
console.log( record.get('confirmed_flag'));*/ console.log( record.get('confirmed_flag'));*/
if (record.get('transaction_id')) { if (record.get('transaction_id')) {
var url; var url;
/*if (record.get('posted_flag') == 'N') { /*if (record.get('posted_flag') == 'N') {
url = $('csh_transaction_receipt_maintain_post_link').getUrl() + '?transaction_id=' + record.get('transaction_id'); url = $('csh_transaction_receipt_maintain_post_link').getUrl() + '?transaction_id=' + record.get('transaction_id');
} /!*else*!/ else if (record.get('posted_flag') == 'Y') { } /!*else*!/ else if (record.get('posted_flag') == 'Y') {
url = $('csh_transaction_receipt_update_link').getUrl() + '?transaction_id=' + record.get('transaction_id'); url = $('csh_transaction_receipt_update_link').getUrl() + '?transaction_id=' + record.get('transaction_id');
} else { } else {
return value; return value;
}*/ }*/
if(record.get('confirmed_flag')=='NEW' || record.get('confirmed_flag') == 'CT_REJECTED'){ if(record.get('confirmed_flag')=='NEW' || record.get('confirmed_flag') == 'CT_REJECTED'){
url = $('csh_transaction_receipt_maintain_link').getUrl() + '?transaction_id=' + record.get('transaction_id')+'&update_flag=true'; url = $('csh_transaction_receipt_maintain_link').getUrl() + '?transaction_id=' + record.get('transaction_id')+'&update_flag=true';
}else{ }else{
url = $('csh_transaction_receipt_maintain_readonly_link').getUrl() + '?transaction_id=' + record.get('transaction_id')+'&update_flag=false'; url = $('csh_transaction_receipt_maintain_readonly_link').getUrl() + '?transaction_id=' + record.get('transaction_id')+'&update_flag=false';
} }
return '<a href="javascript:openWindow(\'' + url + '\');">' + value + '</a>'; return '<a href="javascript:openWindow(\'' + url + '\');">' + value + '</a>';
} }
} }
function openWindow(url) { function openWindow(url) {
var win = new Leaf.Window({ var win = new Leaf.Window({
id: 'csh_transaction_receipt_link_winid', id: 'csh_transaction_receipt_link_winid',
params: { params: {
winId: 'csh_transaction_receipt_link_winid' winId: 'csh_transaction_receipt_link_winid'
}, },
url: url, url: url,
title: '${l:CSH510.CSH_RECEIPT_UPDATE}', title: '${l:CSH510.CSH_RECEIPT_UPDATE}',
fullScreen: true fullScreen: true
}); });
win.on('close',function(){ win.on('close',function(){
$('csh_transaction_receipt_maintain_result_ds').query(); $('csh_transaction_receipt_maintain_result_ds').query();
}); });
} }
function construct_from_to() { function construct_from_to() {
var config = ['transaction_num', 'bank_slip_num', 'transaction_amount', 'currency_code', 'bank_account_code']; var config = ['transaction_num', 'bank_slip_num', 'transaction_amount', 'currency_code', 'bank_account_code'];
var pattern = ['_from', '_to']; var pattern = ['_from', '_to'];
var obj = {}; var obj = {};
for (var i = 0, for (var i = 0,
j = config.length; i < j; i++) { j = config.length; i < j; i++) {
for (var m = 0, for (var m = 0,
n = pattern.length; m < n; m++) { n = pattern.length; m < n; m++) {
obj[config[i] + pattern[m]] = config[i] + pattern[n - 1 - m]; obj[config[i] + pattern[m]] = config[i] + pattern[n - 1 - m];
} }
} }
return obj; return obj;
} }
function csh510_receipt_maintain_update(ds, record, name, value, oldvalue) { function csh510_receipt_maintain_update(ds, record, name, value, oldvalue) {
var from_to = construct_from_to(); var from_to = construct_from_to();
var opposite_name = from_to[name]; var opposite_name = from_to[name];
if (!Ext.isEmpty(opposite_name)) { if (!Ext.isEmpty(opposite_name)) {
var opposite_value = record.get(opposite_name); var opposite_value = record.get(opposite_name);
if (!Ext.isEmpty(value) && Ext.isEmpty(opposite_value)) { if (!Ext.isEmpty(value) && Ext.isEmpty(opposite_value)) {
record.set(opposite_name, value); record.set(opposite_name, value);
} }
} }
} }
function csh510_receipt_remove() { function csh510_receipt_remove() {
var records = $('csh_transaction_receipt_maintain_result_ds').getSelected(); var records = $('csh_transaction_receipt_maintain_result_ds').getSelected();
if (!records.length) { if (!records.length) {
Leaf.showMessage('${l:HLS.PROMPT}', '${l:HLS.SELECT_RECORD}'); Leaf.showMessage('${l:HLS.PROMPT}', '${l:HLS.SELECT_RECORD}');
return; return;
} }
var saveData = []; var saveData = [];
for (var i = 0; i < records.length; i++) { for (var i = 0; i < records.length; i++) {
if(records[i].get('confirmed_flag') != 'NEW' && records[i].get('confirmed_flag') != 'CT_REJECTED'){ if(records[i].get('confirmed_flag') != 'NEW' && records[i].get('confirmed_flag') != 'CT_REJECTED'){
Leaf.showInfoMessage("提示","请选择新建或者收款退回的单据进行收款取消操作!"); Leaf.showInfoMessage("提示","请选择新建或者收款退回的单据进行收款取消操作!");
return; return;
} }
records[i].set('_status', 'delete'); records[i].set('_status', 'delete');
saveData.push(records[i].data); saveData.push(records[i].data);
} }
Leaf.showConfirm('${l:PROMPT}', '${l:HLS.DELETE_CONFIRM}', function () { Leaf.showConfirm('${l:PROMPT}', '${l:HLS.DELETE_CONFIRM}', function () {
Leaf.Masker.mask(Ext.getBody(), '${l:HLS.DELETING}'); Leaf.Masker.mask(Ext.getBody(), '${l:HLS.DELETING}');
Leaf.request({ Leaf.request({
url: '${/request/@context_path}/autocrud/csh.CSH510.csh_transaction_delete/batch_update', url: '${/request/@context_path}/autocrud/csh.CSH510.csh_transaction_delete/batch_update',
para: saveData, para: saveData,
success: function () { success: function () {
Leaf.SideBar.show({ Leaf.SideBar.show({
msg: '${l:HLS.SUBMIT_SUCCESS}', msg: '${l:HLS.SUBMIT_SUCCESS}',
duration: 2000 duration: 2000
}); });
csh510_delete_remove(records); csh510_delete_remove(records);
Leaf.Masker.unmask(Ext.getBody()); Leaf.Masker.unmask(Ext.getBody());
}, },
failure: function () { failure: function () {
Leaf.Masker.unmask(Ext.getBody()); Leaf.Masker.unmask(Ext.getBody());
}, },
error: function () { error: function () {
Leaf.Masker.unmask(Ext.getBody()); Leaf.Masker.unmask(Ext.getBody());
}, },
scope: this scope: this
}); });
}, function () { }, function () {
return; return;
}, null, null); }, null, null);
} }
function csh510_delete_remove(records) { function csh510_delete_remove(records) {
while (records[0]) { while (records[0]) {
$('csh_transaction_receipt_maintain_result_ds').removeLocal(records[0]); $('csh_transaction_receipt_maintain_result_ds').removeLocal(records[0]);
} }
} }
function csh510_receipt() { function csh510_receipt() {
Leaf.showConfirm('${l:PROMPT}', '非财务人员请勿操作!', function () { Leaf.showConfirm('${l:PROMPT}', '非财务人员请勿操作!', function () {
var records = $('csh_transaction_receipt_maintain_result_ds').getSelected(); var records = $('csh_transaction_receipt_maintain_result_ds').getSelected();
if (records.length != 1) { if (records.length != 1) {
Leaf.showMessage('${l:PROMPT}', '请选择1条数据!'); Leaf.showMessage('${l:PROMPT}', '请选择1条数据!');
return; return;
} }
if (records[0].get('transaction_id')) { if (records[0].get('transaction_id')) {
var url; var url;
if (records[0].get('posted_flag') == 'N') { if (records[0].get('posted_flag') == 'N') {
url = $('csh_transaction_receipt_maintain_post_link').getUrl() + '?transaction_id=' + records[0].get('transaction_id') + '&claim=F'; url = $('csh_transaction_receipt_maintain_post_link').getUrl() + '?transaction_id=' + records[0].get('transaction_id') + '&claim=F';
} else { } else {
Leaf.showMessage('${l:PROMPT}', '该单据已经被认领,无需再次认领!'); Leaf.showMessage('${l:PROMPT}', '该单据已经被认领,无需再次认领!');
return; return;
} }
openWindow(url); openWindow(url);
} }
}); });
} }
function csh510_batch_update() { function csh510_batch_update() {
var ds_id = 'csh_transaction_receipt_maintain_result_ds'; var ds_id = 'csh_transaction_receipt_maintain_result_ds';
var ds = $(ds_id) var ds = $(ds_id)
var records = ds.getSelected(); var records = ds.getSelected();
if (records.length < 1) { if (records.length < 1) {
Leaf.showMessage('${l:PROMPT}', '请至少选择一条要处理的单据'); Leaf.showMessage('${l:PROMPT}', '请至少选择一条要处理的单据');
return; return;
} }
var auto_write_record = $('csh510_collection_classes_batch_update_ds').getAt(0); var auto_write_record = $('csh510_collection_classes_batch_update_ds').getAt(0);
var collection_classes = auto_write_record.get('collection_classes'); var collection_classes = auto_write_record.get('collection_classes');
if (collection_classes) { if (collection_classes) {
lock_current_window(); lock_current_window();
var post_data = []; var post_data = [];
for (var i = 0; i < records.length; i++) { for (var i = 0; i < records.length; i++) {
if (records[i].get('write_off_flag') == 'FULL') { if (records[i].get('write_off_flag') == 'FULL') {
Leaf.showMessage('${l:PROMPT}', '选择数据中包含已完全核销的数据'); Leaf.showMessage('${l:PROMPT}', '选择数据中包含已完全核销的数据');
return; return;
} }
post_data.push({ post_data.push({
'transaction_id': records[i].get('transaction_id'), 'transaction_id': records[i].get('transaction_id'),
'collection_classes': auto_write_record.get('collection_classes'), 'collection_classes': auto_write_record.get('collection_classes'),
'_status': 'update' '_status': 'update'
}); });
} }
Leaf.request({ Leaf.request({
url: $('csh510_csh_transaction_batch_update').getUrl(), url: $('csh510_csh_transaction_batch_update').getUrl(),
para: post_data, para: post_data,
success: function () { success: function () {
unlock_current_window(); unlock_current_window();
ds.query(ds.currentpage); ds.query(ds.currentpage);
Leaf.showMessage('${l:PROMPT}', '修改成功!'); Leaf.showMessage('${l:PROMPT}', '修改成功!');
}, failure: function () { }, failure: function () {
unlock_current_window(); unlock_current_window();
}, },
error: function () { error: function () {
unlock_current_window(); unlock_current_window();
}, },
scope: this scope: this
}); });
} }
} }
function csh510_csh_transaction_batch_update(){ function csh510_csh_transaction_batch_update(){
// //
var records = $('csh_transaction_receipt_maintain_result_ds').getSelected(); var records = $('csh_transaction_receipt_maintain_result_ds').getSelected();
if (records.length == 0) { if (records.length == 0) {
Leaf.showMessage('${l:PROMPT}', '请选择一条记录!'); Leaf.showMessage('${l:PROMPT}', '请选择一条记录!');
return; return;
} }
var post_data = []; var post_data = [];
for (var i = 0; i < records.length; i++) { for (var i = 0; i < records.length; i++) {
post_data.push({ post_data.push({
'transaction_id': records[i].get('transaction_id'), 'transaction_id': records[i].get('transaction_id'),
'_status': 'update' '_status': 'update'
}); });
} }
Leaf.Masker.mask(Ext.getBody(), '${l:HLS.EXECUTING}'); Leaf.Masker.mask(Ext.getBody(), '${l:HLS.EXECUTING}');
Leaf.request({ Leaf.request({
url: $('csh511_csh_transaction_batch_post_link').getUrl(), url: $('csh511_csh_transaction_batch_post_link').getUrl(),
para: post_data, para: post_data,
success: function (res) { success: function (res) {
Leaf.showMessage('${l:PROMPT}', '${l:HLS.SUBMIT_SUCCESS}'); Leaf.showMessage('${l:PROMPT}', '${l:HLS.SUBMIT_SUCCESS}');
csh510_receipt_query(); csh510_receipt_query();
Leaf.Masker.unmask(Ext.getBody()); Leaf.Masker.unmask(Ext.getBody());
}, },
failure: function() { failure: function() {
Leaf.Masker.unmask(Ext.getBody()); Leaf.Masker.unmask(Ext.getBody());
}, },
error: function() { error: function() {
Leaf.Masker.unmask(Ext.getBody()); Leaf.Masker.unmask(Ext.getBody());
}, },
scope: this scope: this
}); });
} }
function csh510_csh_trx_bank_import(){ function csh510_csh_trx_bank_import(){
//按钮失效 //按钮失效
$('csh510_csh_trx_bank_import').disable(); $('csh510_csh_trx_bank_import').disable();
//只有债权内勤才能 //只有债权内勤才能
var url_l = $('csh510_csh_transaction_import_link').getUrl(); var url_l = $('csh510_csh_transaction_import_link').getUrl();
var win = new Leaf.Window({ var win = new Leaf.Window({
id: 'csh510_csh_transaction_import_win', id: 'csh510_csh_transaction_import_win',
url: url_l, url: url_l,
params: { params: {
'winid': 'csh510_csh_transaction_import_win', 'winid': 'csh510_csh_transaction_import_win',
'session_id': '${/session/@session_id}', 'session_id': '${/session/@session_id}',
'parent_ds_id': 'csh_transaction_receipt_maintain_result_ds' 'parent_ds_id': 'csh_transaction_receipt_maintain_result_ds'
}, },
title: '信息导入', title: '信息导入',
width: 430, width: 430,
height: 390 height: 390
}); });
win.on('close', function () { win.on('close', function () {
$('csh_transaction_receipt_maintain_result_ds').query(); $('csh_transaction_receipt_maintain_result_ds').query();
//按钮启用 //按钮启用
$('csh510_csh_trx_bank_import').enable(); $('csh510_csh_trx_bank_import').enable();
}); });
} }
function csh510_export() { function csh510_export() {
$('csh_transaction_receipt_maintain_grid_ds')._export(null,'收款维护'); $('csh_transaction_receipt_maintain_grid_ds')._export(null,'收款维护');
} }
]]></script> ]]></script>
<a:dataSets> <a:dataSets>
<a:dataSet id="confirmed_flag_ds"> <a:dataSet id="confirmed_flag_ds">
<a:datas> <a:datas>
<a:record code_value="NEW" code_value_name="新建"/> <a:record code_value="NEW" code_value_name="新建"/>
<a:record code_value="ACCAUDITING" code_value_name="收款确认中"/> <a:record code_value="ACCAUDITING" code_value_name="收款确认中"/>
<a:record code_value="CT_REJECTED" code_value_name="收款退回"/> <a:record code_value="CT_REJECTED" code_value_name="收款退回"/>
<a:record code_value="ACCAUDITED" code_value_name="收款已确认"/> <a:record code_value="ACCAUDITED" code_value_name="收款已确认"/>
</a:datas> </a:datas>
</a:dataSet> </a:dataSet>
<a:dataSet id="bp_category_ds" lookupCode="BP_CATEGORY"> <a:dataSet id="bp_category_ds" lookupCode="BP_CATEGORY">
</a:dataSet> </a:dataSet>
<!-- <a:dataSet id="confirmed_flag_ds" lookupCode="CONFIRMED_FLAG">--> <!-- <a:dataSet id="confirmed_flag_ds" lookupCode="CONFIRMED_FLAG">-->
<!-- </a:dataSet>--> <!-- </a:dataSet>-->
<a:dataSet id="payment_method_ds"> <a:dataSet id="payment_method_ds">
<a:datas dataSource="/model/payment_method_path"/> <a:datas dataSource="/model/payment_method_path"/>
</a:dataSet> </a:dataSet>
<a:dataSet id="receipt_type_ds" lookupCode="RECEIPT_TYPE"/> <a:dataSet id="receipt_type_ds" lookupCode="RECEIPT_TYPE"/>
<a:dataSet id="currency_ds"> <a:dataSet id="currency_ds">
<a:datas dataSource="/model/currency"/> <a:datas dataSource="/model/currency"/>
</a:dataSet> </a:dataSet>
<a:dataSet id="transaction_type_ds"> <a:dataSet id="transaction_type_ds">
<a:datas dataSource="/model/transaction_type"/> <a:datas dataSource="/model/transaction_type"/>
</a:dataSet> </a:dataSet>
<!-- <a:dataSet id="transaction_type_ds" lookupCode="CSH511_TRANSACTION_TYPE"/> --> <!-- <a:dataSet id="transaction_type_ds" lookupCode="CSH511_TRANSACTION_TYPE"/> -->
<a:dataSet id="posted_flag_ds" lookupCode="CSH510_POST_SELECT"/> <a:dataSet id="posted_flag_ds" lookupCode="CSH510_POST_SELECT"/>
<!-- 去掉退款事务 --> <!-- 去掉退款事务 -->
<a:dataSet id="returned_flag_ds"> <a:dataSet id="returned_flag_ds">
<a:datas dataSource="/model/returned_flag_rp"/> <a:datas dataSource="/model/returned_flag_rp"/>
</a:dataSet> </a:dataSet>
<!-- 去掉反冲事务 --> <!-- 去掉反冲事务 -->
<a:dataSet id="reversed_flag_ds"> <a:dataSet id="reversed_flag_ds">
<a:datas dataSource="/model/reversed_flag_rp"/> <a:datas dataSource="/model/reversed_flag_rp"/>
</a:dataSet> </a:dataSet>
<a:dataSet id="ds_collection_classes_ds" lookupCode="DS_COLLECTION_CLASSES"/> <a:dataSet id="ds_collection_classes_ds" lookupCode="DS_COLLECTION_CLASSES"/>
<a:dataSet id="csh510_collection_classes_batch_update_ds"> <a:dataSet id="csh510_collection_classes_batch_update_ds">
<a:fields> <a:fields>
<a:field name="collection_classes_desc" options="ds_collection_classes_ds" displayField="code_value_name" returnField="collection_classes" valueField="code_value"/> <a:field name="collection_classes_desc" options="ds_collection_classes_ds" displayField="code_value_name" returnField="collection_classes" valueField="code_value"/>
</a:fields> </a:fields>
</a:dataSet> </a:dataSet>
<a:dataSet id="csh_transaction_receipt_maintain_query_ds" autoCreate="true"> <a:dataSet id="csh_transaction_receipt_maintain_query_ds" autoCreate="true">
<a:fields> <a:fields>
<a:field name="bank_account_name" autoComplete="true" lovGridHeight="350" lovHeight="550" lovLabelWidth="90" lovService="csh.CSH101.csh_bank_account_lov" lovWidth="850" title="CSH511.BANK_ACCOUNT_CODE"> <a:field name="bank_account_name" autoComplete="true" lovGridHeight="350" lovHeight="550" lovLabelWidth="90" lovService="csh.CSH101.csh_bank_account_lov" lovWidth="850" title="CSH511.BANK_ACCOUNT_CODE">
<a:mapping> <a:mapping>
<a:map from="precision" to="precision"/> <a:map from="precision" to="precision"/>
<a:map from="zero_amounts_allowed" to="zero_amounts_allowed"/> <a:map from="zero_amounts_allowed" to="zero_amounts_allowed"/>
<a:map from="bank_account_id" to="bank_account_id"/> <a:map from="bank_account_id" to="bank_account_id"/>
<a:map from="bank_account_num" to="bank_account_num"/> <a:map from="bank_account_num" to="bank_account_num"/>
<a:map from="bank_account_name" to="bank_account_name"/> <a:map from="bank_account_name" to="bank_account_name"/>
<a:map from="bank_account_code" to="bank_account_code"/> <a:map from="bank_account_code" to="bank_account_code"/>
<a:map from="currency_code" to="currency_code"/> <a:map from="currency_code" to="currency_code"/>
<a:map from="currency_name" to="currency_name"/> <a:map from="currency_name" to="currency_name"/>
<a:map from="bank_account_type" to="bank_account_type"/> <a:map from="bank_account_type" to="bank_account_type"/>
<a:map from="bank_account_type_name" to="bank_account_type_name"/> <a:map from="bank_account_type_name" to="bank_account_type_name"/>
<a:map from="bank_branch_name" to="bank_branch_name"/> <a:map from="bank_branch_name" to="bank_branch_name"/>
</a:mapping> </a:mapping>
</a:field> </a:field>
<a:field name="bank_branch_name" autoComplete="true" lovGridHeight="350" lovHeight="550" lovLabelWidth="90" lovService="csh.CSH101.csh_bank_account_lov" lovWidth="850" title="CSH511.BANK_ACCOUNT_CODE"> <a:field name="bank_branch_name" autoComplete="true" lovGridHeight="350" lovHeight="550" lovLabelWidth="90" lovService="csh.CSH101.csh_bank_account_lov" lovWidth="850" title="CSH511.BANK_ACCOUNT_CODE">
<a:mapping> <a:mapping>
<a:map from="precision" to="precision"/> <a:map from="precision" to="precision"/>
<a:map from="zero_amounts_allowed" to="zero_amounts_allowed"/> <a:map from="zero_amounts_allowed" to="zero_amounts_allowed"/>
<a:map from="bank_account_id" to="bank_account_id"/> <a:map from="bank_account_id" to="bank_account_id"/>
<a:map from="bank_account_num" to="bank_account_num"/> <a:map from="bank_account_num" to="bank_account_num"/>
<a:map from="bank_account_name" to="bank_account_name"/> <a:map from="bank_account_name" to="bank_account_name"/>
<a:map from="bank_account_code" to="bank_account_code"/> <a:map from="bank_account_code" to="bank_account_code"/>
<a:map from="currency_code" to="currency_code"/> <a:map from="currency_code" to="currency_code"/>
<a:map from="currency_name" to="currency_name"/> <a:map from="currency_name" to="currency_name"/>
<a:map from="bank_account_type" to="bank_account_type"/> <a:map from="bank_account_type" to="bank_account_type"/>
<a:map from="bank_account_type_name" to="bank_account_type_name"/> <a:map from="bank_account_type_name" to="bank_account_type_name"/>
<a:map from="bank_branch_name" to="bank_branch_name"/> <a:map from="bank_branch_name" to="bank_branch_name"/>
</a:mapping> </a:mapping>
</a:field> </a:field>
<a:field name="bank_account_num" autoComplete="true" lovGridHeight="350" lovHeight="550" lovLabelWidth="90" lovService="csh.CSH101.csh_bank_account_lov" lovWidth="850" title="CSH511.BANK_ACCOUNT_CODE"> <a:field name="bank_account_num" autoComplete="true" lovGridHeight="350" lovHeight="550" lovLabelWidth="90" lovService="csh.CSH101.csh_bank_account_lov" lovWidth="850" title="CSH511.BANK_ACCOUNT_CODE">
<a:mapping> <a:mapping>
<a:map from="precision" to="precision"/> <a:map from="precision" to="precision"/>
<a:map from="zero_amounts_allowed" to="zero_amounts_allowed"/> <a:map from="zero_amounts_allowed" to="zero_amounts_allowed"/>
<a:map from="bank_account_id" to="bank_account_id"/> <a:map from="bank_account_id" to="bank_account_id"/>
<a:map from="bank_account_num" to="bank_account_num"/> <a:map from="bank_account_num" to="bank_account_num"/>
<a:map from="bank_account_name" to="bank_account_name"/> <a:map from="bank_account_name" to="bank_account_name"/>
<a:map from="bank_account_code" to="bank_account_code"/> <a:map from="bank_account_code" to="bank_account_code"/>
<a:map from="currency_code" to="currency_code"/> <a:map from="currency_code" to="currency_code"/>
<a:map from="currency_name" to="currency_name"/> <a:map from="currency_name" to="currency_name"/>
<a:map from="bank_account_type" to="bank_account_type"/> <a:map from="bank_account_type" to="bank_account_type"/>
<a:map from="bank_account_type_name" to="bank_account_type_name"/> <a:map from="bank_account_type_name" to="bank_account_type_name"/>
<a:map from="bank_branch_name" to="bank_branch_name"/> <a:map from="bank_branch_name" to="bank_branch_name"/>
</a:mapping> </a:mapping>
</a:field> </a:field>
<a:field name="confirmed_flag_desc" options="confirmed_flag_ds" valueField="code_value" displayField="code_value_name" returnField="confirmed_flag"/> <a:field name="confirmed_flag_desc" options="confirmed_flag_ds" valueField="code_value" displayField="code_value_name" returnField="confirmed_flag"/>
<a:field name="payment_method_display" displayField="description" options="payment_method_ds" returnField="payment_method_id" valueField="payment_method_id"/> <a:field name="payment_method_display" displayField="description" options="payment_method_ds" returnField="payment_method_id" valueField="payment_method_id"/>
<a:field name="bp_name_from" lovGridHeight="350" lovHeight="500" lovService="basic.hls_bp_master_v_for_lov" lovWidth="500" title="HLS.BP_TITLE"> <a:field name="bp_name_from" lovGridHeight="350" lovHeight="500" lovService="basic.hls_bp_master_v_for_lov" lovWidth="500" title="HLS.BP_TITLE">
<a:mapping> <a:mapping>
<a:map from="bp_id" to="bp_id_from"/> <a:map from="bp_id" to="bp_id_from"/>
<a:map from="bp_name" to="bp_name_from"/> <a:map from="bp_name" to="bp_name_from"/>
</a:mapping> </a:mapping>
</a:field> </a:field>
<a:field name="bp_id_from"/> <a:field name="bp_id_from"/>
<a:field name="bp_name_to" lovGridHeight="350" lovHeight="500" lovService="basic.hls_bp_master_v_for_lov" lovWidth="500" title="HLS.BP_TITLE"> <a:field name="bp_name_to" lovGridHeight="350" lovHeight="500" lovService="basic.hls_bp_master_v_for_lov" lovWidth="500" title="HLS.BP_TITLE">
<a:mapping> <a:mapping>
<a:map from="bp_id" to="bp_id_to"/> <a:map from="bp_id" to="bp_id_to"/>
<a:map from="bp_name" to="bp_name_to"/> <a:map from="bp_name" to="bp_name_to"/>
</a:mapping> </a:mapping>
</a:field> </a:field>
<a:field name="bp_id_to"/> <a:field name="bp_id_to"/>
<a:field name="transaction_num_from"/> <a:field name="transaction_num_from"/>
<a:field name="transaction_num_to"/> <a:field name="transaction_num_to"/>
<a:field name="bank_slip_num_from"/> <a:field name="transaction_num"/>
<a:field name="bank_slip_num_to"/> <a:field name="bank_slip_num_from"/>
<a:field name="transaction_date_from" validator="dateValidator"/> <a:field name="bank_slip_num_to"/>
<a:field name="transaction_date_to" validator="dateValidator"/> <a:field name="transaction_date_from" validator="dateValidator"/>
<a:field name="bank_account_code" autoCompleteField="bank_account_num" lovGridHeight="350" lovHeight="550" lovLabelWidth="90" lovService="csh.CSH101.csh_bank_account_lov" lovWidth="580" title="CSH511.BANK_ACCOUNT_CODE"> <a:field name="transaction_date_to" validator="dateValidator"/>
<a:mapping> <a:field name="bank_account_code" autoCompleteField="bank_account_num" lovGridHeight="350" lovHeight="550" lovLabelWidth="90" lovService="csh.CSH101.csh_bank_account_lov" lovWidth="580" title="CSH511.BANK_ACCOUNT_CODE">
<a:map from="bank_account_code" to="bank_account_code"/> <a:mapping>
</a:mapping> <a:map from="bank_account_code" to="bank_account_code"/>
</a:field> </a:mapping>
<a:field name="bank_account_code_from" autoCompleteField="bank_account_num" lovGridHeight="350" lovHeight="550" lovLabelWidth="90" lovService="csh.CSH101.csh_bank_account_lov" lovWidth="580" title="CSH511.BANK_ACCOUNT_CODE"> </a:field>
<a:mapping> <a:field name="bank_account_code_from" autoCompleteField="bank_account_num" lovGridHeight="350" lovHeight="550" lovLabelWidth="90" lovService="csh.CSH101.csh_bank_account_lov" lovWidth="580" title="CSH511.BANK_ACCOUNT_CODE">
<a:map from="bank_account_code" to="bank_account_code_from"/> <a:mapping>
</a:mapping> <a:map from="bank_account_code" to="bank_account_code_from"/>
</a:field> </a:mapping>
<a:field name="bank_account_from_id"/> </a:field>
<a:field name="bank_account_code_to" autoComplete="true" autoCompleteField="bank_account_num" lovGridHeight="350" lovHeight="550" lovLabelWidth="90" lovService="csh.CSH101.csh_bank_account_lov" lovWidth="580" title="CSH511.BANK_ACCOUNT_CODE"> <a:field name="bank_account_from_id"/>
<a:mapping> <a:field name="bank_account_code_to" autoComplete="true" autoCompleteField="bank_account_num" lovGridHeight="350" lovHeight="550" lovLabelWidth="90" lovService="csh.CSH101.csh_bank_account_lov" lovWidth="580" title="CSH511.BANK_ACCOUNT_CODE">
<a:map from="bank_account_code" to="bank_account_code_to"/> <a:mapping>
</a:mapping> <a:map from="bank_account_code" to="bank_account_code_to"/>
</a:field> </a:mapping>
<a:field name="transaction_amount_from"/> </a:field>
<a:field name="transaction_amount_to"/> <a:field name="transaction_amount_from"/>
<a:field name="posted_flag_display" displayField="code_value_name" options="posted_flag_ds" returnField="posted_flag" valueField="code_value"/> <a:field name="transaction_amount_to"/>
<!-- <a:field name="posted_flag" defaultValue="N"/>--> <a:field name="posted_flag_display" displayField="code_value_name" options="posted_flag_ds" returnField="posted_flag" valueField="code_value"/>
<a:field name="returned_flag_display" displayField="code_value_name" options="returned_flag_ds" returnField="returned_flag" valueField="code_value"/> <!-- <a:field name="posted_flag" defaultValue="N"/>-->
<a:field name="reversed_flag_display" displayField="code_value_name" options="reversed_flag_ds" returnField="reversed_flag" valueField="code_value"/> <a:field name="returned_flag_display" displayField="code_value_name" options="returned_flag_ds" returnField="returned_flag" valueField="code_value"/>
<a:field name="period_name" lovGridHeight="300" lovHeight="500" lovService="gld.gld_period_lov" lovWidth="500" title="GLD_PERIODS.PERIOD_NAME"> <a:field name="reversed_flag_display" displayField="code_value_name" options="reversed_flag_ds" returnField="reversed_flag" valueField="code_value"/>
<a:mapping> <a:field name="period_name" lovGridHeight="300" lovHeight="500" lovService="gld.gld_period_lov" lovWidth="500" title="GLD_PERIODS.PERIOD_NAME">
<a:map from="period_name" to="period_name"/> <a:mapping>
</a:mapping> <a:map from="period_name" to="period_name"/>
</a:field> </a:mapping>
<a:field name="user_desc" autoComplete="true" lovGridHeight="300" lovHeight="450" lovService="basic.sys_user_for_lov" lovWidth="500" prompt="AUT_TRX_USER_AUTHORIZE.USER_ID" title="员工选择"> </a:field>
<a:mapping> <a:field name="user_desc" autoComplete="true" lovGridHeight="300" lovHeight="450" lovService="basic.sys_user_for_lov" lovWidth="500" prompt="AUT_TRX_USER_AUTHORIZE.USER_ID" title="员工选择">
<a:map from="description" to="user_desc"/> <a:mapping>
<a:map from="user_id" to="user_id"/> <a:map from="description" to="user_desc"/>
</a:mapping> <a:map from="user_id" to="user_id"/>
</a:field> </a:mapping>
<a:field name="transaction_type_display" displayField="code_value_name" options="transaction_type_ds" returnField="transaction_type" valueField="code_value"/> </a:field>
<a:field name="currency_name_from_display" displayField="currency_name" options="currency_ds" returnField="currency_code_from" valueField="currency_code"/> <a:field name="transaction_type_display" displayField="code_value_name" options="transaction_type_ds" returnField="transaction_type" valueField="code_value"/>
<a:field name="currency_code_from"/> <a:field name="currency_name_from_display" displayField="currency_name" options="currency_ds" returnField="currency_code_from" valueField="currency_code"/>
<a:field name="currency_name_to_display" displayField="currency_name" options="currency_ds" returnField="currency_code_to" valueField="currency_code"/> <a:field name="currency_code_from"/>
<a:field name="currency_code_to"/> <a:field name="currency_name_to_display" displayField="currency_name" options="currency_ds" returnField="currency_code_to" valueField="currency_code"/>
<a:field name="confirmed" defaultValue="N"/> <a:field name="currency_code_to"/>
<!-- <a:field name="transaction_type" defaultValue="RECEIPT"/>--> <a:field name="confirmed" defaultValue="N"/>
<a:field name="transaction_category" defaultValue="BUSINESS"/> <!-- <a:field name="transaction_type" defaultValue="RECEIPT"/>-->
<!-- <a:field name="write_off_flag_desc" displayField="code_value_name" options="write_off_flag_ds" returnField="write_off_flag" valueField="code_value"/>--> <a:field name="transaction_category" defaultValue="BUSINESS"/>
<a:field name="not_reversed_flag_r" defaultValue="NOT"/> <!-- <a:field name="write_off_flag_desc" displayField="code_value_name" options="write_off_flag_ds" returnField="write_off_flag" valueField="code_value"/>-->
<a:field name="receipt_type"/> <a:field name="not_reversed_flag_r" defaultValue="NOT"/>
<a:field name="receipt_type_des" displayField="code_value_name" options="receipt_type_ds" returnField="receipt_type" valueField="code_value"/> <a:field name="receipt_type"/>
<a:field name="description"/> <a:field name="receipt_type_des" displayField="code_value_name" options="receipt_type_ds" returnField="receipt_type" valueField="code_value"/>
<a:field name="bp_name" lovGridHeight="350" lovHeight="500" lovService="basic.hls_bp_master_v_for_lov" lovWidth="500" title="HLS.BP_TITLE"> <a:field name="description"/>
<a:mapping> <a:field name="bp_name" lovGridHeight="350" lovHeight="500" lovService="basic.hls_bp_master_v_for_lov" lovWidth="500" title="HLS.BP_TITLE">
<a:map from="bp_id" to="bp_id"/> <a:mapping>
<a:map from="bp_name" to="bp_name"/> <a:map from="bp_id" to="bp_id"/>
</a:mapping> <a:map from="bp_name" to="bp_name"/>
</a:field> </a:mapping>
</a:field>
<a:field name="collection_classes_n" options="ds_collection_classes_ds" displayField="code_value_name" returnField="collection_classes" valueField="code_value"/>
<!--对方账户的--> <a:field name="collection_classes_n" options="ds_collection_classes_ds" displayField="code_value_name" returnField="collection_classes" valueField="code_value"/>
<a:field name="bp_bank_account_name" lovGridHeight="350" lovHeight="550" lovService="csh.CSH510.csh_transaction_for_lov" lovLabelWidth="90" lovWidth="580" title="对方账户信息"> <!--对方账户的-->
<a:mapping> <a:field name="bp_bank_account_name" lovGridHeight="350" lovHeight="550" lovService="csh.CSH510.csh_transaction_for_lov" lovLabelWidth="90" lovWidth="580" title="对方账户信息">
<a:map from="bp_bank_account_name" to="bp_bank_account_name"/> <a:mapping>
<a:map from="opposite_band_na" to="opposite_band_na"/> <a:map from="bp_bank_account_name" to="bp_bank_account_name"/>
<a:map from="bp_bank_account_num" to="bp_bank_account_num"/> <a:map from="opposite_band_na" to="opposite_band_na"/>
</a:mapping> <a:map from="bp_bank_account_num" to="bp_bank_account_num"/>
</a:field> </a:mapping>
<a:field name="opposite_band_na" lovGridHeight="350" lovHeight="550" lovService="csh.CSH510.csh_transaction_for_lov" lovLabelWidth="90" lovWidth="580" title="对方账户信息"> </a:field>
<a:mapping> <a:field name="opposite_band_na" lovGridHeight="350" lovHeight="550" lovService="csh.CSH510.csh_transaction_for_lov" lovLabelWidth="90" lovWidth="580" title="对方账户信息">
<a:map from="bp_bank_account_name" to="bp_bank_account_name"/> <a:mapping>
<a:map from="opposite_band_na" to="opposite_band_na"/> <a:map from="bp_bank_account_name" to="bp_bank_account_name"/>
<a:map from="bp_bank_account_num" to="bp_bank_account_num"/> <a:map from="opposite_band_na" to="opposite_band_na"/>
</a:mapping> <a:map from="bp_bank_account_num" to="bp_bank_account_num"/>
</a:field> </a:mapping>
<a:field name="bp_bank_account_num" lovGridHeight="350" lovHeight="550" lovService="csh.CSH510.csh_transaction_for_lov" lovLabelWidth="90" lovWidth="580" title="对方账户信息"> </a:field>
<a:mapping> <a:field name="bp_bank_account_num" lovGridHeight="350" lovHeight="550" lovService="csh.CSH510.csh_transaction_for_lov" lovLabelWidth="90" lovWidth="580" title="对方账户信息">
<a:map from="bp_bank_account_name" to="bp_bank_account_name"/> <a:mapping>
<a:map from="opposite_band_na" to="opposite_band_na"/> <a:map from="bp_bank_account_name" to="bp_bank_account_name"/>
<a:map from="bp_bank_account_num" to="bp_bank_account_num"/> <a:map from="opposite_band_na" to="opposite_band_na"/>
</a:mapping> <a:map from="bp_bank_account_num" to="bp_bank_account_num"/>
</a:field> </a:mapping>
</a:field>
</a:fields>
<a:events> </a:fields>
<a:event name="update" handler="csh510_receipt_maintain_update"/> <a:events>
</a:events> <a:event name="update" handler="csh510_receipt_maintain_update"/>
</a:dataSet> </a:events>
<a:dataSet id="csh_transaction_receipt_maintain_result_ds" autoPageSize="true" autoQuery="true" model="csh.CSH510.csh_transaction_miantain_query" queryDataSet="csh_transaction_receipt_maintain_query_ds" selectable="true"> </a:dataSet>
<a:dataSet id="csh_transaction_receipt_maintain_result_ds" autoPageSize="true" autoQuery="true" model="csh.CSH510.csh_transaction_miantain_query" queryDataSet="csh_transaction_receipt_maintain_query_ds" selectable="true">
</a:dataSet>
</a:dataSets> </a:dataSet>
<a:screenBody> </a:dataSets>
<a:screenTopToolbar> <a:screenBody>
<a:screenTitle/> <a:screenTopToolbar>
<!-- <a:gridButton click="csh510_receipt_back" text="HLS.BACK"/> <a:screenTitle/>
<a:gridButton click="csh510_receipt_forward" text="HLS.FORWARD"/> --> <!-- <a:gridButton click="csh510_receipt_back" text="HLS.BACK"/>
<!-- <a:gridButton click="csh510_receipt_quit" text="HLS.EXIT"/> --> <a:gridButton click="csh510_receipt_forward" text="HLS.FORWARD"/> -->
<a:gridButton click="csh510_receipt_query" text="HLS.QUERY" id="csh510_receipt_query"/> <!-- <a:gridButton click="csh510_receipt_quit" text="HLS.EXIT"/> -->
<a:gridButton click="csh510_csh_trx_bank_import" text="CSH510.CSH_TRANSACTION.RECEIVE_MONEY_IMPORT_BTN" id="csh510_csh_trx_bank_import"/> <a:gridButton click="csh510_receipt_query" text="HLS.QUERY" id="csh510_receipt_query"/>
<a:gridButton click="csh510_csh_trx_bank_hand_add" text="CSH510.CSH_TRANSACTION.MONEY_HAND_ADD_BTN" id="csh510_csh_trx_bank_hand_add"/> <a:gridButton click="csh510_csh_trx_bank_import" text="CSH510.CSH_TRANSACTION.RECEIVE_MONEY_IMPORT_BTN" id="csh510_csh_trx_bank_import"/>
<a:gridButton click="csh510_receipt_remove" text="收款取消"/> <a:gridButton click="csh510_csh_trx_bank_hand_add" text="CSH510.CSH_TRANSACTION.MONEY_HAND_ADD_BTN" id="csh510_csh_trx_bank_hand_add"/>
<a:gridButton click="csh510_csh_trx_bank_apply_new" text="提交复核" id="csh510_csh_trx_bank_apply_new"/> <a:gridButton click="csh510_receipt_remove" text="收款取消"/>
<!-- <a:gridButton click="csh510_csh_trx_bank_drop" text="CSH510.CSH_TRANSACTION.DROP_BTN" id="csh510_csh_trx_bank_drop"/>--> <a:gridButton click="csh510_csh_trx_bank_apply_new" text="提交复核" id="csh510_csh_trx_bank_apply_new"/>
<a:gridButton click="csh510_receipt_reset" text="HLS.RESET"/> <!-- <a:gridButton click="csh510_csh_trx_bank_drop" text="CSH510.CSH_TRANSACTION.DROP_BTN" id="csh510_csh_trx_bank_drop"/>-->
<!-- <a:gridButton click="csh510_csh_transaction_batch_update" text="批量过账"/>--> <a:gridButton click="csh510_receipt_reset" text="HLS.RESET"/>
<!-- <a:gridButton click="csh510_receipt" text="财务认领"/> --> <!-- <a:gridButton click="csh510_csh_transaction_batch_update" text="批量过账"/>-->
</a:screenTopToolbar> <!-- <a:gridButton click="csh510_receipt" text="财务认领"/> -->
<a:form bindTarget="csh_transaction_receipt_write_off_query_ds" labelWidth="120" marginWidth="80" </a:screenTopToolbar>
title="收款核销" style="margin-left:20px"> <a:form bindTarget="csh_transaction_receipt_write_off_query_ds" labelWidth="120" marginWidth="80"
<a:hBox> title="收款核销" style="margin-left:20px">
<a:fieldSet column="4" labelWidth="150" title="HLS.QUERY_TITLE"> <a:hBox>
<a:datePicker name="transaction_date_from" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.TRANSACTION_DATE_FROM"/> <a:fieldSet column="4" labelWidth="150" title="HLS.QUERY_TITLE">
<a:datePicker name="transaction_date_to" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.TRANSACTION_DATE_TO"/> <a:datePicker name="transaction_date_from" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.TRANSACTION_DATE_FROM"/>
<a:numberField name="transaction_amount_from" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.TRANSACTION_AMOUNT_FROM" align="right"/> <a:datePicker name="transaction_date_to" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.TRANSACTION_DATE_TO"/>
<a:numberField name="transaction_amount_to" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.TRANSACTION_AMOUNT_TO" align="right"/> <a:numberField name="transaction_amount_from" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.TRANSACTION_AMOUNT_FROM" align="right"/>
<!--我方账户户名--> <a:numberField name="transaction_amount_to" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.TRANSACTION_AMOUNT_TO" align="right"/>
<a:lov name="bank_account_name" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.MY_ACCOUNT_NAME"/> <!--我方账户户名-->
<a:lov name="bank_branch_name" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.MY_BANK_NAME"/> <a:lov name="bank_account_name" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.MY_ACCOUNT_NAME"/>
<a:lov name="bank_account_num" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.MY_ACCOUNT_USERNAME"/> <a:lov name="bank_branch_name" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.MY_BANK_NAME"/>
<!--银行流水号--> <a:lov name="bank_account_num" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.MY_ACCOUNT_USERNAME"/>
<a:textField name="bank_slip_num" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.BANK_CASH_CODE"/> <!--银行流水号-->
<!--对方账户户名--> <a:textField name="bank_slip_num" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.BANK_CASH_CODE"/>
<a:textField name="bp_bank_account_name" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.YOUR_ACCOUNT_NAME"/> <!--对方账户户名-->
<!--对方银行名称--> <a:textField name="bp_bank_account_name" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.YOUR_ACCOUNT_NAME"/>
<a:textField name="opposite_band_na" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.YOUR_BANK_NAME"/> <!--对方银行名称-->
<!--对方账户账号--> <a:textField name="opposite_band_na" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.YOUR_BANK_NAME"/>
<a:textField name="bp_bank_account_num" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.YOUR_ACCOUNT_USERNAME"/> <!--对方账户账号-->
<a:textField style="display:none"/> <a:textField name="bp_bank_account_num" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.YOUR_ACCOUNT_USERNAME"/>
<a:lov name="bp_name" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.BUSINESS_PARTNER"/> <a:textField name="transaction_num" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="现金事务编号"/>
<a:comboBox name="confirmed_flag_desc" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="单据审批状态"/> <!-- <a:textField style="display:none"/>-->
<!-- <a:comboBox name="write_off_flag_desc" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.WRITTEN_OFF_STATUS"/>--> <a:lov name="bp_name" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.BUSINESS_PARTNER"/>
<a:comboBox name="collection_classes_n" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.PURPOSE_OF_FUNDS"/> <a:comboBox name="confirmed_flag_desc" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="单据审批状态"/>
</a:fieldSet> <!-- <a:comboBox name="write_off_flag_desc" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.WRITTEN_OFF_STATUS"/>-->
<a:comboBox name="collection_classes_n" bindTarget="csh_transaction_receipt_maintain_query_ds" prompt="CSH510.CSH_TRANSACTION.PURPOSE_OF_FUNDS"/>
</a:fieldSet>
</a:hBox>
</a:form>
<a:fieldSet labelWidth="150" title="收款单" style="margin-left:20px"> </a:hBox>
<a:grid id="csh_transaction_receipt_maintain_grid_ds" bindTarget="csh_transaction_receipt_maintain_result_ds" marginHeight="300" marginWidth="80" navBar="true" > </a:form>
<!--<a:toolBar> <a:fieldSet labelWidth="150" title="收款单" style="margin-left:20px">
<a:button click="csh510_export" text="导出"/> <a:grid id="csh_transaction_receipt_maintain_grid_ds" bindTarget="csh_transaction_receipt_maintain_result_ds" marginHeight="300" marginWidth="80" navBar="true" >
</a:toolBar>--> <!--<a:toolBar>
<a:button click="csh510_export" text="导出"/>
<a:columns> </a:toolBar>-->
<a:column name="transaction_num" prompt="CSH510.CSH_TRANSACTION.CSH_TRANSACTION_NUM" renderer="seedetail_transaction_num" width="110" align="center"/>
<!-- <a:column name="receipt_type_n" align="center" prompt="CSH510.CSH_TRANSACTION.RECEIPT_TYPE" width="100"/>--> <a:columns>
<a:column name="transaction_type_desc" align="center" prompt="现金事务类型" width="100"/> <a:column name="transaction_num" prompt="CSH510.CSH_TRANSACTION.CSH_TRANSACTION_NUM" renderer="seedetail_transaction_num" width="110" align="center"/>
<a:column name="transaction_amount" align="right" prompt="CSH510.CSH_TRANSACTION.RECEIPT_AMOUNT" width="100" renderer="Leaf.formatMoney"/> <!-- <a:column name="receipt_type_n" align="center" prompt="CSH510.CSH_TRANSACTION.RECEIPT_TYPE" width="100"/>-->
<a:column name="transaction_date" renderer="Leaf.formatDate" align="center"/> <a:column name="transaction_type_desc" align="center" prompt="现金事务类型" width="100"/>
<a:column name="returned_amount" prompt="CSH510.CSH_TRANSACTION.RETURN_AMOUNT" align="right" renderer="Leaf.formatMoney"/> <a:column name="transaction_amount" align="right" prompt="CSH510.CSH_TRANSACTION.RECEIPT_AMOUNT" width="100" renderer="Leaf.formatMoney"/>
<a:column name="use_money_amount" prompt="CSH510.CSH_TRANSACTION.USEFUL_AMOUNT" align="right" renderer="Leaf.formatMoney"/> <a:column name="transaction_date" renderer="Leaf.formatDate" align="center"/>
<a:column name="collection_classes_desc" prompt="CSH510.CSH_TRANSACTION.PURPOSE_OF_FUNDS" align="center"/> <a:column name="returned_amount" prompt="CSH510.CSH_TRANSACTION.RETURN_AMOUNT" align="right" renderer="Leaf.formatMoney"/>
<a:column name="bp_name" prompt="CSH510.CSH_TRANSACTION.BUSINESS_PARTNER" align="center"/> <a:column name="use_money_amount" prompt="CSH510.CSH_TRANSACTION.USEFUL_AMOUNT" align="right" renderer="Leaf.formatMoney"/>
<a:column name="bank_slip_num" prompt="CSH510.CSH_TRANSACTION.BANK_CASH_CODE" align="center"/> <a:column name="collection_classes_desc" prompt="CSH510.CSH_TRANSACTION.PURPOSE_OF_FUNDS" align="center"/>
<a:column name="description" prompt="CSH510.CSH_TRANSACTION.DESCRIPTION" align="center"/> <a:column name="bp_name" prompt="CSH510.CSH_TRANSACTION.BUSINESS_PARTNER" align="center"/>
<a:column name="confirmed_flag_desc" prompt="单据审批状态" align="center"/> <a:column name="bank_slip_num" prompt="CSH510.CSH_TRANSACTION.BANK_CASH_CODE" align="center"/>
<!-- <a:column name="written_off_flag_desc" prompt="CSH510.CSH_TRANSACTION.WRITTEN_OFF_STATUS" align="center"/>--> <a:column name="description" prompt="CSH510.CSH_TRANSACTION.DESCRIPTION" align="center"/>
<a:column prompt="CSH510.CSH_TRANSACTION.MY_ACCOUNT"> <a:column name="confirmed_flag_desc" prompt="单据审批状态" align="center"/>
<a:column prompt="CSH510.CSH_TRANSACTION.ACCOUNT_NAME" name="bank_account_name" align="center"/> <!-- <a:column name="written_off_flag_desc" prompt="CSH510.CSH_TRANSACTION.WRITTEN_OFF_STATUS" align="center"/>-->
<a:column prompt="CSH510.CSH_TRANSACTION.ACCOUNT_BANK" name="bank_branch_name" align="center"/> <a:column prompt="CSH510.CSH_TRANSACTION.MY_ACCOUNT">
<a:column prompt="CSH510.CSH_TRANSACTION.ACCOUNT_NUM" name="bank_account_num" align="center"/> <a:column prompt="CSH510.CSH_TRANSACTION.ACCOUNT_NAME" name="bank_account_name" align="center"/>
</a:column> <a:column prompt="CSH510.CSH_TRANSACTION.ACCOUNT_BANK" name="bank_branch_name" align="center"/>
<a:column prompt="CSH510.CSH_TRANSACTION.YOUR_ACCOUNT"> <a:column prompt="CSH510.CSH_TRANSACTION.ACCOUNT_NUM" name="bank_account_num" align="center"/>
<a:column prompt="CSH510.CSH_TRANSACTION.ACCOUNT_NAME" name="bp_bank_account_name" align="center"/> </a:column>
<a:column prompt="CSH510.CSH_TRANSACTION.ACCOUNT_BANK" name="opposite_band_na" align="center"/> <a:column prompt="CSH510.CSH_TRANSACTION.YOUR_ACCOUNT">
<a:column prompt="CSH510.CSH_TRANSACTION.ACCOUNT_NUM" name="bp_bank_account_num" align="center"/> <a:column prompt="CSH510.CSH_TRANSACTION.ACCOUNT_NAME" name="bp_bank_account_name" align="center"/>
</a:column> <a:column prompt="CSH510.CSH_TRANSACTION.ACCOUNT_BANK" name="opposite_band_na" align="center"/>
<a:column name="user_desc" prompt="HLS.DOCUMENT_CREATED_BY" align="center"/> <a:column prompt="CSH510.CSH_TRANSACTION.ACCOUNT_NUM" name="bp_bank_account_num" align="center"/>
<!-- <a:column name="debt_confirmed_by_desc" prompt="CSH510.CSH_TRANSACTION.DEPT_CONFIRMER" align="center"/>--> </a:column>
<a:column name="acc_confirmed_by_desc" prompt="确认人" align="center"/> <a:column name="user_desc" prompt="HLS.DOCUMENT_CREATED_BY" align="center"/>
</a:columns> <!-- <a:column name="debt_confirmed_by_desc" prompt="CSH510.CSH_TRANSACTION.DEPT_CONFIRMER" align="center"/>-->
<a:editors> <a:column name="acc_confirmed_by_desc" prompt="确认人" align="center"/>
<a:numberField id="number_editor" allowDecimals="true" decimalPrecision="2" editable="false"/> </a:columns>
</a:editors> <a:editors>
</a:grid> <a:numberField id="number_editor" allowDecimals="true" decimalPrecision="2" editable="false"/>
</a:fieldSet> </a:editors>
</a:screenBody> </a:grid>
</a:view> </a:fieldSet>
</a:screen> </a:screenBody>
</a:view>
</a:screen>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
url="${/request/@context_path}/modules/hls/HLS236/hls_bp_master_query_ccx_report.lview"/> url="${/request/@context_path}/modules/hls/HLS236/hls_bp_master_query_ccx_report.lview"/>
<a:link id="hls_bp_ccx_icinfo_link" <a:link id="hls_bp_ccx_icinfo_link"
url="${/request/@context_path}/modules/hls/HLS236/hls_bp_master_query_ccx_icinfo.lview"/> url="${/request/@context_path}/modules/hls/HLS236/hls_bp_master_query_ccx_icinfo.lview"/>
<script src="${/request/@context_path}/javascripts/hap/dynamicStopAutoQuery.js" type="text/javascript"/> <!-- <script src="${/request/@context_path}/javascripts/hap/dynamicStopAutoQuery.js" type="text/javascript"/>-->
<script type="text/javascript"><![CDATA[ <script type="text/javascript"><![CDATA[
// stopDymanicAutoQuery('${/parameter/@layout_code}', 'G_BP_RESULT', 'hls_bp_master'); // stopDymanicAutoQuery('${/parameter/@layout_code}', 'G_BP_RESULT', 'hls_bp_master');
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
} }
//异步打印 //异步打印
ds.setQueryParameter('__async__', 'Y'); // ds.setQueryParameter('__async__', 'Y');
}; };
]]></script> ]]></script>
<a:screen-include <a:screen-include
......
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