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
9a0cacd5
Commit
9a0cacd5
authored
Aug 30, 2023
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保证金划转取消未入账合同只读默认系统当前日期设置
parent
feff59ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
csh_transaction_deposit_transfer_detail.lview
..._DEPOSIT102/csh_transaction_deposit_transfer_detail.lview
+17
-17
No files found.
src/main/webapp/modules/cus_deposit/CUS_DEPOSIT102/csh_transaction_deposit_transfer_detail.lview
View file @
9a0cacd5
...
...
@@ -7,7 +7,7 @@
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
trace=
"true"
>
<a:init-procedure>
<
a:model-query
model=
"basic.hls_sys_time_default_value"
rootPath=
"sys_time_default_value_path"
/
>
<
!--<a:model-query model="basic.hls_sys_time_default_value" rootPath="sys_time_default_value_path"/>--
>
</a:init-procedure>
<a:view>
<a:link
id=
"csh_review_transfer_link_id"
...
...
@@ -223,14 +223,14 @@
}
}
//已入账的合同保证金需要划转回未入账的保证金申请时,经济业务发生日为操作当天,不可修改
if(!Ext.isEmpty(head_record.get('contract_number'))){
if(name=='ref_contract_id'){
if(Ext.isEmpty(record.get('ref_contract_id'))){
record.set('je_date', '${/model/sys_time_default_value_path/record/@now_time}');
record.getField('je_date').setReadOnly(true);
}
}
}
//
if(!Ext.isEmpty(head_record.get('contract_number'))){
//
if(name=='ref_contract_id'){
//
if(Ext.isEmpty(record.get('ref_contract_id'))){
//
record.set('je_date', '${/model/sys_time_default_value_path/record/@now_time}');
//
record.getField('je_date').setReadOnly(true);
//
}
//
}
//
}
}
...
...
@@ -264,14 +264,14 @@
//
head_record.set('current_apply_amount',
total_deposit_amount);
//
}
function
on_csh_trx_deposit_write_off_add(ds,
record,
index)
{
//
function
on_csh_trx_deposit_write_off_add(ds,
record,
index)
{
//未入账合同进行划转时,经济业务发生日为操作当天,不可修改
var
head_record =
$('deposit_transfer_maintain_result_ds').getSelected()[0];
if(Ext.isEmpty(head_record.get('contract_number'))){
record.set('je_date',
'${/model/sys_time_default_value_path/record/@now_time}');
record.getField('je_date').setReadOnly(true);
}
}
//
var
head_record =
$('deposit_transfer_maintain_result_ds').getSelected()[0];
//
if(Ext.isEmpty(head_record.get('contract_number'))){
//
record.set('je_date',
'${/model/sys_time_default_value_path/record/@now_time}');
//
record.getField('je_date').setReadOnly(true);
//
}
//
}
function
attach_win(contemp_id){
var
url =
$('contemp_upload_link').getUrl();
var
win =
new
Leaf.Window({
...
...
@@ -396,7 +396,7 @@
<a:event
name=
"remove"
handler=
"on_csh_trx_deposit_write_off_remove"
/>
<a:event
name=
"load"
handler=
"on_csh_trx_deposit_write_off_load"
/>
<a:event
name=
"submitsuccess"
handler=
"on_csh_trx_deposit_write_off_remove_success"
/>
<
a:event
name=
"add"
handler=
"on_csh_trx_deposit_write_off_add"
/
>
<
!--<a:event name="add" handler="on_csh_trx_deposit_write_off_add"/>--
>
<!-- <a:event name="afterremove" handler="csh_trx_deposit_write_off_afterremove"/>-->
</a:events>
</a:dataSet>
...
...
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