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
baa1c4ca
Commit
baa1c4ca
authored
Jan 29, 2021
by
xiaochao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【收款维护限制验证调整】
parent
168e4f68
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
140 additions
and
63 deletions
+140
-63
acr_invoice_apply_detail.lview
.../webapp/modules/acr/ACR610/acr_invoice_apply_detail.lview
+1
-1
acr_invoice_apply_detail_wfl.lview
...app/modules/acr/ACR610/acr_invoice_apply_detail_wfl.lview
+1
-1
csh_transaction_hand_receipt_update.lview
...ules/csh/CSH510/csh_transaction_hand_receipt_update.lview
+37
-8
csh_transaction_excel_import.lview
...pp/modules/csh/CSH510N/csh_transaction_excel_import.lview
+64
-45
csh_transaction_receipt.lview
...n/webapp/modules/csh/CSH511/csh_transaction_receipt.lview
+37
-8
No files found.
src/main/webapp/modules/acr/ACR610/acr_invoice_apply_detail.lview
View file @
baa1c4ca
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
}
}
if (name == 'attachment') {
if (name == 'attachment') {
if (record.get('paid_byother_flag') == 'T') {
if (record.get('paid_byother_flag') == 'T') {
if (record.get('guarantor_name_duty') != 'Y'){
if (record.get('guarantor_name_duty') != 'Y'
|| record.get('guarantor_name_duty') != 'NULL'
){
return '
<a
href=
"javascript:acr610_detail_upload_window(' + record.get('file_id') + ')"
>
附件
</a>
';
return '
<a
href=
"javascript:acr610_detail_upload_window(' + record.get('file_id') + ')"
>
附件
</a>
';
}
}
}
}
...
...
src/main/webapp/modules/acr/ACR610/acr_invoice_apply_detail_wfl.lview
View file @
baa1c4ca
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
}
}
if (name == 'attachment') {
if (name == 'attachment') {
if (record.get('paid_byother_flag') == 'T') {
if (record.get('paid_byother_flag') == 'T') {
if (record.get('guarantor_name_duty') != 'Y'){
if (record.get('guarantor_name_duty') != 'Y'
|| record.get('guarantor_name_duty') != 'NULL'
){
return '
<a
href=
"javascript:acr610_detail_upload_window(' + record.get('file_id') + ')"
>
附件
</a>
';
return '
<a
href=
"javascript:acr610_detail_upload_window(' + record.get('file_id') + ')"
>
附件
</a>
';
}
}
}
}
...
...
src/main/webapp/modules/csh/CSH510/csh_transaction_hand_receipt_update.lview
View file @
baa1c4ca
...
@@ -274,8 +274,8 @@
...
@@ -274,8 +274,8 @@
}
}
}else if(unit_code != 241 || unit_code != 610){
}else if(unit_code != 241 || unit_code != 610){
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.set('guarantor_name_duty_desc','
否
');
record.set('guarantor_name_duty_desc','
');
record.set('guarantor_name_duty','N');
record.set('guarantor_name_duty','N
ULL
');
record.getField('guarantor_name_duty_desc').setRequired(false);
record.getField('guarantor_name_duty_desc').setRequired(false);
}
}
},
},
...
@@ -320,8 +320,8 @@
...
@@ -320,8 +320,8 @@
record.getField('guarantor_name_duty_desc').setRequired(true);
record.getField('guarantor_name_duty_desc').setRequired(true);
} else if (unit_code != 241 || unit_code != 610) {
} else if (unit_code != 241 || unit_code != 610) {
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.set('guarantor_name_duty_desc', '
否
');
record.set('guarantor_name_duty_desc', '
');
record.set('guarantor_name_duty', 'N');
record.set('guarantor_name_duty', 'N
ULL
');
record.getField('guarantor_name_duty_desc').setRequired(false);
record.getField('guarantor_name_duty_desc').setRequired(false);
}
}
},
},
...
@@ -340,10 +340,39 @@
...
@@ -340,10 +340,39 @@
}
}
}else if(record.get('paid_byother_flag') =='F'){
}else if(record.get('paid_byother_flag') =='F'){
var extra_id = record.get('bp_id');
if (extra_id != null){
Leaf.request({
url: $('get_extra_code_csh_transaction_receipt_data_link_id').getUrl(),
para: {bp_id: extra_id},
scope: this,
success: function (res) {
var unit_code = res.result.unit_code;
if (unit_code == 241 || unit_code == 610) {
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.set('guarantor_name_duty_desc', '否');
record.set('guarantor_name_duty_desc', '否');
record.set('guarantor_name_duty', 'N');
record.set('guarantor_name_duty', 'N');
record.getField('guarantor_name_duty_desc').setRequired(false);
record.getField('guarantor_name_duty_desc').setRequired(false);
} else if (unit_code != 241 || unit_code != 610) {
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.set('guarantor_name_duty_desc', ' ');
record.set('guarantor_name_duty', 'NULL');
record.getField('guarantor_name_duty_desc').setRequired(false);
}
},
failure: function () {
Leaf.Masker.unmask(Ext.getBody());
},
error: function () {
Leaf.Masker.unmask(Ext.getBody());
}
});
}else {
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.set('guarantor_name_duty_desc', '否');
record.set('guarantor_name_duty', 'N');
record.getField('guarantor_name_duty_desc').setRequired(false);
}
}
}
}
}
}
}
...
...
src/main/webapp/modules/csh/CSH510N/csh_transaction_excel_import.lview
View file @
baa1c4ca
This diff is collapsed.
Click to expand it.
src/main/webapp/modules/csh/CSH511/csh_transaction_receipt.lview
View file @
baa1c4ca
...
@@ -304,8 +304,8 @@
...
@@ -304,8 +304,8 @@
}
}
} else if (unit_code != 241 || unit_code != 610) {
} else if (unit_code != 241 || unit_code != 610) {
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.set('guarantor_name_duty_desc', '
否
');
record.set('guarantor_name_duty_desc', '
');
record.set('guarantor_name_duty', 'N');
record.set('guarantor_name_duty', 'N
ULL
');
record.getField('guarantor_name_duty_desc').setRequired(false);
record.getField('guarantor_name_duty_desc').setRequired(false);
}
}
},
},
...
@@ -350,8 +350,8 @@
...
@@ -350,8 +350,8 @@
record.getField('guarantor_name_duty_desc').setRequired(true);
record.getField('guarantor_name_duty_desc').setRequired(true);
} else if (unit_code != 241 || unit_code != 610) {
} else if (unit_code != 241 || unit_code != 610) {
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.set('guarantor_name_duty_desc', '
否
');
record.set('guarantor_name_duty_desc', '');
record.set('guarantor_name_duty', 'N');
record.set('guarantor_name_duty', 'N
ULL
');
record.getField('guarantor_name_duty_desc').setRequired(false);
record.getField('guarantor_name_duty_desc').setRequired(false);
}
}
},
},
...
@@ -369,6 +369,34 @@
...
@@ -369,6 +369,34 @@
record.getField('guarantor_name_duty_desc').setRequired(true);
record.getField('guarantor_name_duty_desc').setRequired(true);
}
}
}else if(record.get('paid_byother_flag') =='F'){
}else if(record.get('paid_byother_flag') =='F'){
var extra_id = record.get('bp_id');
if (extra_id != undefined){
Leaf.request({
url: $('get_extra_code_csh_transaction_receipt_data_link_id').getUrl(),
para: {bp_id: extra_id},
scope: this,
success: function (res) {
var unit_code = res.result.unit_code;
if (unit_code == 241 || unit_code == 610) {
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.set('guarantor_name_duty_desc', '否');
record.set('guarantor_name_duty', 'N');
record.getField('guarantor_name_duty_desc').setRequired(false);
} else if (unit_code != 241 || unit_code != 610) {
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.set('guarantor_name_duty_desc', '');
record.set('guarantor_name_duty', 'NULL');
record.getField('guarantor_name_duty_desc').setRequired(false);
}
},
failure: function () {
Leaf.Masker.unmask(Ext.getBody());
},
error: function () {
Leaf.Masker.unmask(Ext.getBody());
}
});
}else {
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.getField('guarantor_name_duty_desc').setReadOnly(true);
record.set('guarantor_name_duty_desc', '否');
record.set('guarantor_name_duty_desc', '否');
record.set('guarantor_name_duty', 'N');
record.set('guarantor_name_duty', 'N');
...
@@ -376,6 +404,7 @@
...
@@ -376,6 +404,7 @@
}
}
}
}
}
}
}
// function onAdd_csh511_receipt(ds, record) {
// function onAdd_csh511_receipt(ds, record) {
// record.set('precision',2);
// record.set('precision',2);
// record.set('zero_amounts_allowed','N');
// record.set('zero_amounts_allowed','N');
...
...
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