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
690a2c1d
Commit
690a2c1d
authored
Dec 22, 2022
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手工凭证导入-凭证明细页面调整
parent
3165dfee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
hls_journal_import_create.lview
...webapp/modules/hls/HLS536/hls_journal_import_create.lview
+9
-9
No files found.
src/main/webapp/modules/hls/HLS536/hls_journal_import_create.lview
View file @
690a2c1d
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
});
});
window['${/parameter/@layout_code}_on_layout_dynamic_before_submit'] = function(ds, record) {
window['${/parameter/@layout_code}_on_layout_dynamic_before_submit'] = function(ds, record) {
var journal_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_journal_header');
var journal_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_journal_header
_imp
');
var detail_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'JE_LN', 'hls_journal_detail');
var detail_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'JE_LN', 'hls_journal_detail
_imp
');
var journal_record = $(journal_ds_id).getAt(0);
var journal_record = $(journal_ds_id).getAt(0);
var je_records = $(detail_ds_id).getAll();
var je_records = $(detail_ds_id).getAll();
var sum_dr = 0;
var sum_dr = 0;
...
@@ -78,8 +78,8 @@
...
@@ -78,8 +78,8 @@
window['${/parameter/@layout_code}_on_layout_dynamic_submitsuccess'] = function(ds, record, res, bp_seq) {
window['${/parameter/@layout_code}_on_layout_dynamic_submitsuccess'] = function(ds, record, res, bp_seq) {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
var detail1_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'JE_LN_REF1', 'hls_journal_detail');
var detail1_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'JE_LN_REF1', 'hls_journal_detail
_imp
');
var header_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'JE_HD', 'hls_journal_header');
var header_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'JE_HD', 'hls_journal_header
_imp
');
$(detail1_ds_id).query();
$(detail1_ds_id).query();
var header_ds_record = $(header_ds_id).getAt(0);
var header_ds_record = $(header_ds_id).getAt(0);
var document_type = header_ds_record.get('document_type');
var document_type = header_ds_record.get('document_type');
...
@@ -122,7 +122,7 @@
...
@@ -122,7 +122,7 @@
};
};
function periodname(res) {
function periodname(res) {
var journal_ds_id1 = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_journal_header');
var journal_ds_id1 = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_journal_header
_imp
');
var journal_record1 = $(journal_ds_id1).getAt(0);
var journal_record1 = $(journal_ds_id1).getAt(0);
if (res) {
if (res) {
var period_name = res.result.record.period_name;
var period_name = res.result.record.period_name;
...
@@ -139,14 +139,14 @@
...
@@ -139,14 +139,14 @@
}
}
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function(ds, record, config_records, bp_seq) {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function(ds, record, config_records, bp_seq) {
var bp_info_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_journal_header');
var bp_info_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_journal_header
_imp
');
if( Ext.isEmpty(record.get('journal_header_id'))){
if( Ext.isEmpty(record.get('journal_header_id'))){
record.set('je_company_id', 1);
record.set('je_company_id', 1);
record.set('je_company_id_n', '宏菱租赁');
record.set('je_company_id_n', '宏菱租赁');
record.set('currency_code', 'CNY');
record.set('currency_code', 'CNY');
record.set('currency_code_n', '人民币');
record.set('currency_code_n', '人民币');
//
record.set('je_transaction_code', 'MANUAL');
//record.set('je_transaction_code', 'MANUAL');
//
record.set('je_transaction_code_n', '手工生成');
//record.set('je_transaction_code_n', '手工生成');
//record.set('post_gl_status', 'N');
//record.set('post_gl_status', 'N');
if(!record.get('post_gl_status')){
if(!record.get('post_gl_status')){
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
}
}
record.set('exchange_rate', 1);
record.set('exchange_rate', 1);
record.set('reversed_flag', 'N');
record.set('reversed_flag', 'N');
record.set('source_table', 'hls_journal_header');
record.set('source_table', 'hls_journal_header
_imp
');
record.set('company_id', 1);
record.set('company_id', 1);
}
}
};
};
...
...
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