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
828bae68
Commit
828bae68
authored
Nov 13, 2019
by
Darming
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/before_incept_bugs' into develop
parents
a36a47a3
43923303
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
33 deletions
+8
-33
csh_transaction_excel_import.lview
...pp/modules/csh/CSH510N/csh_transaction_excel_import.lview
+8
-33
No files found.
src/main/webapp/modules/csh/CSH510N/csh_transaction_excel_import.lview
View file @
828bae68
...
...
@@ -57,23 +57,13 @@
record.set('write_off_flag', 'DISABLED');
var paid_byother_flag = record.get('paid_byother_flag');
if (paid_byother_flag == 'T') {
//代付非保证金类 -->
直接从银行过账到预收科目
if (record.get('collection_classes') == 'DEPOSIT') {
record.set('transaction_type', 'DEPOSIT');
} else {
record.set('transaction_type', 'ADVANCE_RECEIPT');
}
} else if (paid_byother_flag == 'F') {
if (record.get('collection_classes') == 'DEPOSIT') {
record.set('transaction_type', 'DEPOSIT');
} else {
record.set('transaction_type', 'RECEIPT');
}
if (record.get('collection_classes') == 'DEPOSIT') {
record.set('transaction_type', 'DEPOSIT');
} else {
record.set('transaction_type', 'RECEIPT');
}
if
(!record.get('transaction_type'))
{
if
(!record.get('transaction_type'))
{
continue;
}
...
...
@@ -100,10 +90,10 @@
//关闭该导入的界面
backBtn();
},
failure:
function()
{
failure:
function ()
{
Leaf.Masker.unmask(Ext.getBody());
},
error:
function()
{
error:
function ()
{
Leaf.Masker.unmask(Ext.getBody());
}
});
...
...
@@ -115,22 +105,7 @@
}
function update_import_data(ds, record, name, value, oldvalue) {
if (name == 'paid_byother_flag') {
if (value == 'T') {
//代付非保证金类 --> 直接从银行过账到预收科目
if (record.get('collection_classes') == 'DEPOSIT') {
record.set('transaction_type', 'DEPOSIT');
} else {
record.set('transaction_type', 'ADVANCE_RECEIPT');
}
} else if (value == 'F') {
if (record.get('collection_classes') == 'DEPOSIT') {
record.set('transaction_type', 'DEPOSIT');
} else {
record.set('transaction_type', 'RECEIPT');
}
}
}
}
...
...
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