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
d7e9dbab
Commit
d7e9dbab
authored
Dec 13, 2022
by
21471731
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
租赁物导入调整12
parent
59d2359c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
prj_project_lease_import_details.lview
...odules/prj/PRJ501N/prj_project_lease_import_details.lview
+9
-9
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+1
-0
No files found.
src/main/webapp/modules/prj/PRJ501N/prj_project_lease_import_details.lview
View file @
d7e9dbab
...
...
@@ -15,7 +15,7 @@
<script>
<![CDATA[
Leaf.onReady(function() {
if ('${/parameter/@hide_flag}' == 'Y') {
if ('${/parameter/@hide_flag}' == 'Y'
|| '${/parameter/@project_status}'!='NEW'
) {
$('PROJECT_LEASE_IMPORT_user_button1').hide();
$('PROJECT_LEASE_IMPORT_user_button2').hide();
$('PROJECT_LEASE_IMPORT_user_button4').hide();
...
...
@@ -44,15 +44,15 @@
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_load'] = function (ds, record, config_records, bp_seq) {
if('${/parameter/@
hide_flag}' != 'Y
' && record!=''){
if('${/parameter/@
project_status}'!='NEW
' && record!=''){
record.getField('seq').setReadOnly(true);
record.getField('asset_num').setReadOnly(
fals
e);
record.getField('asset_type').setReadOnly(
fals
e);
record.getField('asset_name
').setReadOnly(fals
e);
record.getField('specification').setReadOnly(
fals
e);
record.getField('posted_date').setReadOnly(
fals
e);
record.getField('price').setReadOnly(
fals
e);
record.getField('manufacturer').setReadOnly(
fals
e);
record.getField('asset_num').setReadOnly(
tru
e);
record.getField('asset_type').setReadOnly(
tru
e);
record.getField('asset_name
_n').setReadOnly(tru
e);
record.getField('specification').setReadOnly(
tru
e);
record.getField('posted_date').setReadOnly(
tru
e);
record.getField('price').setReadOnly(
tru
e);
record.getField('manufacturer').setReadOnly(
tru
e);
}
}
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
d7e9dbab
...
...
@@ -447,6 +447,7 @@
var prj_quotation_ds = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_quotation');
var record = $(ds_id).findById(record_id);
var param = {};
param['project_status'] = '${/parameter/@project_status}';
param['project_lease_item_id'] = record.get('project_lease_item_id');
param['lease_item_id'] = record.get('lease_item_id');
param['set_number'] = record.get('set_number');
...
...
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