Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
9fbc9711
Commit
9fbc9711
authored
Aug 27, 2023
by
陆正友
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
农行回单修改
parent
c7f970c2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
36 deletions
+49
-36
csh_import_abc_bank.lwm
...ebapp/WEB-INF/classes/csh/CSH1400/csh_import_abc_bank.lwm
+1
-1
csh_ocr_abc_bank.lwm
...n/webapp/WEB-INF/classes/csh/CSH1400/csh_ocr_abc_bank.lwm
+4
-4
csh_agricultural_bank_check.lview
...app/modules/csh/CSH1400/csh_agricultural_bank_check.lview
+44
-31
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH1400/csh_import_abc_bank.lwm
View file @
9fbc9711
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
to_char(a.bank_receipt_date, 'yyyy-MM-dd') bank_receipt_date_r,
to_char(a.bank_receipt_date, 'yyyy-MM-dd') bank_receipt_date_r,
a.payer_number payer_number_r,
a.payer_number payer_number_r,
a.payer_name payer_name_r,
a.payer_name payer_name_r,
a.
bank_name
bank_name_r,
a.
payer_bank
bank_name_r,
a.total_amount total_amount_r
a.total_amount total_amount_r
FROM hlcm_ele_trx_import_itfc hc, hlcm_ele_abc_bank_slip_trx a
FROM hlcm_ele_trx_import_itfc hc, hlcm_ele_abc_bank_slip_trx a
where hc.create_trx_flag = 'Y'
where hc.create_trx_flag = 'Y'
...
...
src/main/webapp/WEB-INF/classes/csh/CSH1400/csh_ocr_abc_bank.lwm
View file @
9fbc9711
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
hx.receipt_no,
hx.receipt_no,
hx.payer_name,
hx.payer_name,
hx.payer_number,
hx.payer_number,
hx.
bank_name
,
hx.
payer_bank
,
(case
(case
when (select count(bp_name)
when (select count(bp_name)
from hls_bp_master
from hls_bp_master
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
NULL AS bank_receipt_date_r,
NULL AS bank_receipt_date_r,
NULL AS payer_number_r,
NULL AS payer_number_r,
NULL AS payer_name_r,
NULL AS payer_name_r,
NULL AS
bank_name
_r,
NULL AS
payer_bank
_r,
NULL AS total_amount_r,
NULL AS total_amount_r,
COALESCE((SELECT v.code_value_name
COALESCE((SELECT v.code_value_name
FROM sys_code_values_v v,
FROM sys_code_values_v v,
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
hx.receipt_no,
hx.receipt_no,
hx.payer_name,
hx.payer_name,
hx.payer_number,
hx.payer_number,
hx.
bank_name
,
hx.
payer_bank
,
(case
(case
when (select count(bp_name)
when (select count(bp_name)
from hls_bp_master
from hls_bp_master
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
to_char(a.bank_receipt_date, 'yyyy-MM-dd') bank_receipt_date_r,
to_char(a.bank_receipt_date, 'yyyy-MM-dd') bank_receipt_date_r,
a.payer_number payer_number_r,
a.payer_number payer_number_r,
a.payer_name payer_name_r,
a.payer_name payer_name_r,
a.bank_name
bank_name
_r,
a.bank_name
payer_bank
_r,
a.total_amount total_amount_r,
a.total_amount total_amount_r,
COALESCE((SELECT v.code_value_name
COALESCE((SELECT v.code_value_name
FROM sys_code_values_v v,
FROM sys_code_values_v v,
...
...
src/main/webapp/modules/csh/CSH1400/csh_agricultural_bank_check.lview
View file @
9fbc9711
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
});
});
function returnAbc() {
function returnAbc() {
// 刷新页面
// 刷新页面
$("OcrQueryDs").query();
$("OcrQueryDs").query();
...
@@ -48,15 +47,17 @@
...
@@ -48,15 +47,17 @@
$("OcrQueryDs").query();
$("OcrQueryDs").query();
$("AbcBankDs").query();
$("AbcBankDs").query();
}
}
// 背景渲染农行回单
// 背景渲染农行回单
function change_background_color(record) {
function change_background_color(record) {
if (record.get('re_flag') == 'Y') {
if (record.get('re_flag') == 'Y') {
return 'background-color:#DC143C;'
return 'background-color:#DC143C;'
}
}
}
}
// 字段渲染农行回单
// 字段渲染农行回单
function checkOcrRender(value, record, name) {
function checkOcrRender(value, record, name) {
if (record.get('re_flag') == 'Y') {
if (record.get('re_flag') == 'Y'
&& !Ext.isEmpty(value)
) {
var name_r = name + '_r';
var name_r = name + '_r';
var value_r = record.get(name_r);//OCR数据
var value_r = record.get(name_r);//OCR数据
if (value != value_r) {
if (value != value_r) {
...
@@ -77,6 +78,7 @@
...
@@ -77,6 +78,7 @@
}
}
}
}
} else {
} else {
if (!Ext.isEmpty(value)) {
if (name == 'total_amount') {
if (name == 'total_amount') {
return '
<font
color=
"black"
>
' + Leaf.formatMoney(value) + '
</font>
'
return '
<font
color=
"black"
>
' + Leaf.formatMoney(value) + '
</font>
'
} else if (name == 'bank_receipt_date') {
} else if (name == 'bank_receipt_date') {
...
@@ -85,6 +87,8 @@
...
@@ -85,6 +87,8 @@
return '
<font
color=
"black"
>
' + value + '
</font>
'
return '
<font
color=
"black"
>
' + value + '
</font>
'
}
}
}
}
}
}
}
// 保存按钮
// 保存按钮
...
@@ -128,6 +132,7 @@
...
@@ -128,6 +132,7 @@
});
});
}
}
}
}
//
function
btn001_renderer_button_authority_detail(value,
record,
name)
{
//
function
btn001_renderer_button_authority_detail(value,
record,
name)
{
//
if
(
record.isNew=
=true){
//
if
(
record.isNew=
=true){
//
return
Leaf.showMessage('提示',
'请至少选择一条数据!');
//
return
Leaf.showMessage('提示',
'请至少选择一条数据!');
...
@@ -135,7 +140,7 @@
...
@@ -135,7 +140,7 @@
//
}
//
}
//
提交按钮
//
提交按钮
function
agricultural_bank_submit(
ro)
{
function
agricultural_bank_submit(ro)
{
var
orc_save =
$('AbcBankDs').getSelected();
var
orc_save =
$('AbcBankDs').getSelected();
var
abc_save =
$('OcrQueryDs').getSelected();
var
abc_save =
$('OcrQueryDs').getSelected();
var
param =
{};
var
param =
{};
...
@@ -171,8 +176,8 @@
...
@@ -171,8 +176,8 @@
recode =
orc_save[i];
recode =
orc_save[i];
}
}
param['AbcOrc']
=
saveOrc;
param['AbcOrc']
=
saveOrc;
if
(recode.get('re_flag')=='N')
{
if
(recode.get('re_flag')
==
'N')
{
Leaf.showConfirm('特别注意',
'日志号,
<font
color=
"red"
>
'+recode.get('receipt_no')+'
</font>
,的单据未匹配到对应回单数据,是否确认提交?',function ()
{
Leaf.showConfirm('特别注意',
'日志号,
<font
color=
"red"
>
' + recode.get('receipt_no') + '
</font>
,的单据未匹配到对应回单数据,是否确认提交?', function ()
{
Leaf.request({
Leaf.request({
url: $('csh_abc_import_transaction_link').getUrl(),
url: $('csh_abc_import_transaction_link').getUrl(),
para: {
para: {
...
@@ -185,12 +190,12 @@
...
@@ -185,12 +190,12 @@
});
});
$('AbcBankDs').query();
$('AbcBankDs').query();
$("OcrQueryDs").query();
$("OcrQueryDs").query();
returnBack();
//
returnBack();
},
},
scope: this
scope: this
});
});
});
});
}else {
}
else {
Leaf.request({
Leaf.request({
url: $('csh_abc_import_transaction_link').getUrl(),
url: $('csh_abc_import_transaction_link').getUrl(),
para: {
para: {
...
@@ -203,7 +208,7 @@
...
@@ -203,7 +208,7 @@
});
});
$('AbcBankDs').query();
$('AbcBankDs').query();
$("OcrQueryDs").query();
$("OcrQueryDs").query();
returnBack();
//
returnBack();
},
},
scope: this
scope: this
});
});
...
@@ -302,18 +307,24 @@
...
@@ -302,18 +307,24 @@
<a:tabs>
<a:tabs>
<a:tab
prompt=
"OCR数据"
width=
"110"
>
<a:tab
prompt=
"OCR数据"
width=
"110"
>
<a:grid
id=
"ocr"
bindTarget=
"OcrQueryDs"
marginHeight=
"200"
marginWidth=
"80"
navBar=
"true"
rowRenderer=
"change_background_color"
>
<a:grid
id=
"ocr"
bindTarget=
"OcrQueryDs"
marginHeight=
"200"
marginWidth=
"80"
navBar=
"true"
rowRenderer=
"change_background_color"
>
<a:columns>
<a:columns>
<a:column
name=
"bank_num"
prompt=
"收款账号"
width=
"150"
align=
"center"
renderer=
"checkOcrRender"
/>
<a:column
name=
"bank_num"
prompt=
"收款账号"
width=
"150"
align=
"center"
renderer=
"checkOcrRender"
/>
<a:column
name=
"bank_receipt_date"
prompt=
"交易时间"
width=
"100"
align=
"center"
<a:column
name=
"bank_receipt_date"
prompt=
"交易时间"
width=
"100"
align=
"center"
renderer=
"checkOcrRender"
/>
renderer=
"checkOcrRender"
/>
<a:column
name=
"receipt_no"
prompt=
"回单编号"
width=
"80"
align=
"left"
/>
<a:column
name=
"receipt_no"
prompt=
"回单编号"
width=
"80"
align=
"left"
/>
<a:column
name=
"payer_number"
prompt=
"付款方账号"
width=
"100"
align=
"center"
renderer=
"checkOcrRender"
/>
<a:column
name=
"payer_number"
prompt=
"付款方账号"
width=
"100"
align=
"center"
<a:column
name=
"payer_name"
prompt=
"付款方户名"
width=
"100"
align=
"left"
renderer=
"checkOcrRender"
/>
renderer=
"checkOcrRender"
/>
<a:column
name=
"bank_name"
prompt=
"付款方开户行"
width=
"100"
align=
"left"
renderer=
"checkOcrRender"
/>
<a:column
name=
"payer_name"
prompt=
"付款方户名"
width=
"100"
align=
"left"
renderer=
"checkOcrRender"
/>
<a:column
name=
"payer_bank"
prompt=
"付款方开户行"
width=
"100"
align=
"left"
renderer=
"checkOcrRender"
/>
<a:column
name=
"bp_name"
prompt=
"收款对象"
width=
"100"
align=
"left"
/>
<a:column
name=
"bp_name"
prompt=
"收款对象"
width=
"100"
align=
"left"
/>
<a:column
name=
"paid_byother_flag_desc"
prompt=
"是否代付"
width=
"70"
align=
"center"
/>
<a:column
name=
"paid_byother_flag_desc"
prompt=
"是否代付"
width=
"70"
align=
"center"
/>
<a:column
name=
"total_amount"
prompt=
"金额"
width=
"100"
align=
"right"
renderer=
"checkOcrRender"
/>
<a:column
name=
"total_amount"
prompt=
"金额"
width=
"100"
align=
"right"
renderer=
"checkOcrRender"
/>
<a:column
name=
"zy"
prompt=
"摘要"
width=
"80"
align=
"center"
/>
<a:column
name=
"zy"
prompt=
"摘要"
width=
"80"
align=
"center"
/>
<a:column
name=
"collection_classes_desc"
prompt=
"款项分类"
width=
"90"
align=
"center"
/>
<a:column
name=
"collection_classes_desc"
prompt=
"款项分类"
width=
"90"
align=
"center"
/>
<a:column
name=
"remark"
prompt=
"附言"
width=
"80"
align=
"center"
/>
<a:column
name=
"remark"
prompt=
"附言"
width=
"80"
align=
"center"
/>
...
@@ -332,13 +343,15 @@
...
@@ -332,13 +343,15 @@
<a:column
name=
"bank_receipt_date"
prompt=
"交易时间"
width=
"100"
<a:column
name=
"bank_receipt_date"
prompt=
"交易时间"
width=
"100"
renderer=
"checkOcrRender"
align=
"center"
/>
renderer=
"checkOcrRender"
align=
"center"
/>
<a:column
name=
"receipt_no"
prompt=
"日志号"
width=
"80"
align=
"left"
/>
<a:column
name=
"receipt_no"
prompt=
"日志号"
width=
"80"
align=
"left"
/>
<a:column
name=
"payer_number"
prompt=
"对方账号"
width=
"100"
align=
"center"
renderer=
"checkOcrRender"
/>
<a:column
name=
"payer_number"
prompt=
"对方账号"
width=
"100"
align=
"center"
renderer=
"checkOcrRender"
/>
<a:column
name=
"payer_name"
prompt=
"对方账号户名"
width=
"100"
align=
"left"
<a:column
name=
"payer_name"
prompt=
"对方账号户名"
width=
"100"
align=
"left"
renderer=
"checkOcrRender"
renderer=
"checkOcrRender"
required=
"true"
/>
required=
"true"
/>
<a:column
name=
"bank_name"
prompt=
"对方银行名称"
width=
"100"
align=
"left"
<a:column
name=
"bank_name"
prompt=
"对方银行名称"
width=
"100"
align=
"left"
renderer=
"checkOcrRender"
/>
renderer=
"checkOcrRender"
/>
<a:column
name=
"beneficiary_name"
prompt=
"收款对象"
width=
"100"
editor=
"grid_lov"
align=
"left"
/>
<a:column
name=
"beneficiary_name"
prompt=
"收款对象"
width=
"100"
editor=
"grid_lov"
align=
"left"
/>
<a:column
name=
"paid_byother_flag_desc"
prompt=
"是否代付"
width=
"70"
editor=
"grid_cb"
<a:column
name=
"paid_byother_flag_desc"
prompt=
"是否代付"
width=
"70"
editor=
"grid_cb"
required=
"true"
required=
"true"
align=
"center"
/>
align=
"center"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment