Commit 88c67ef1 authored by 18083's avatar 18083

I-19567 【建机】混合类款项校验注释

parent 433cec83
...@@ -59,12 +59,12 @@ ...@@ -59,12 +59,12 @@
//不将这条数据传递到数组中 //不将这条数据传递到数组中
continue; continue;
} }
if (record.get('collection_classes') == 'COMBINED') { /*if (record.get('collection_classes') == 'COMBINED') {
if (record.get('paid_byother_flag') != 'T'||record.get('bp_category')!='AGENT') { if (record.get('paid_byother_flag') != 'T'||record.get('bp_category')!='AGENT') {
Leaf.showMessage('${l:PROMPT}', '混合类款项为代理店代付,请检查代付标志和所选商业伙伴!'); Leaf.showMessage('${l:PROMPT}', '混合类款项为代理店代付,请检查代付标志和所选商业伙伴!');
return; return;
} }
} }*/
//否则的话添加必要的字段 //否则的话添加必要的字段
record.set('receipt_type', 'IMPORT'); record.set('receipt_type', 'IMPORT');
record.set('bank_account_num', record.get('bank_num')); record.set('bank_account_num', record.get('bank_num'));
......
...@@ -80,12 +80,12 @@ ...@@ -80,12 +80,12 @@
function csh511_receipt_save() { function csh511_receipt_save() {
var record=$('csh_transaction_receipt_head_ds').getAt(0); var record=$('csh_transaction_receipt_head_ds').getAt(0);
if (record.get('collection_classes') == 'COMBINED') { /*if (record.get('collection_classes') == 'COMBINED') {
if (record.get('paid_byother_flag') != 'T'||record.get('bp_category')!='AGENT') { if (record.get('paid_byother_flag') != 'T'||record.get('bp_category')!='AGENT') {
Leaf.showMessage('${l:PROMPT}', '混合类款项为代理店代付,请检查代付标志和所选商业伙伴!'); Leaf.showMessage('${l:PROMPT}', '混合类款项为代理店代付,请检查代付标志和所选商业伙伴!');
return; return;
} }
} } */
// Leaf.Masker.mask(Ext.getBody()); // Leaf.Masker.mask(Ext.getBody());
// Leaf.request({ // Leaf.request({
// url: $('csh510_update_bp_info_link').getUrl(), // url: $('csh510_update_bp_info_link').getUrl(),
......
...@@ -55,12 +55,12 @@ ...@@ -55,12 +55,12 @@
//不将这条数据传递到数组中 //不将这条数据传递到数组中
continue; continue;
} }
if (record.get('collection_classes') == 'COMBINED') { /*if (record.get('collection_classes') == 'COMBINED') {
if (record.get('paid_byother_flag') != 'T'||record.get('bp_category')!='AGENT') { if (record.get('paid_byother_flag') != 'T'||record.get('bp_category')!='AGENT') {
Leaf.showMessage('${l:PROMPT}', '混合类款项为代理店代付,请检查代付标志和所选商业伙伴!'); Leaf.showMessage('${l:PROMPT}', '混合类款项为代理店代付,请检查代付标志和所选商业伙伴!');
return; return;
} }
} }*/
//否则的话添加必要的字段 //否则的话添加必要的字段
record.set('receipt_type', 'IMPORT'); record.set('receipt_type', 'IMPORT');
record.set('bank_account_num', record.get('bank_num')); record.set('bank_account_num', record.get('bank_num'));
......
...@@ -95,13 +95,13 @@ ...@@ -95,13 +95,13 @@
$('csh511_receipt_save').disable(); $('csh511_receipt_save').disable();
if ($('csh_transaction_receipt_head_ds').validate()) { if ($('csh_transaction_receipt_head_ds').validate()) {
var record = $('csh_transaction_receipt_head_ds').getAt(0); var record = $('csh_transaction_receipt_head_ds').getAt(0);
if (record.get('collection_classes') == 'COMBINED') { /*if (record.get('collection_classes') == 'COMBINED') {
if (record.get('paid_byother_flag') != 'T'||record.get('bp_category')!='AGENT') { if (record.get('paid_byother_flag') != 'T'||record.get('bp_category')!='AGENT') {
Leaf.showMessage('${l:PROMPT}', '混合类款项为代理店代付,请检查代付标志和所选商业伙伴!'); Leaf.showMessage('${l:PROMPT}', '混合类款项为代理店代付,请检查代付标志和所选商业伙伴!');
$('csh511_receipt_save').enable(); $('csh511_receipt_save').enable();
return; return;
} }
} }*/
if (flag != 'Y') { if (flag != 'Y') {
Leaf.Masker.mask(Ext.getBody(), '${l:HLS.SAVING}'); Leaf.Masker.mask(Ext.getBody(), '${l:HLS.SAVING}');
} }
......
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