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
5e78fe20
Commit
5e78fe20
authored
Jun 19, 2023
by
陆正友
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工程机械产品线
parent
ffa05d0f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
31 deletions
+31
-31
prj_project_create.lview
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
+8
-8
prj_project_create_constru.lview
...bapp/modules/prj/PRJ500N/prj_project_create_constru.lview
+7
-7
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+7
-7
prj_project_maintain_constru.lview
...pp/modules/prj/PRJ501N/prj_project_maintain_constru.lview
+7
-7
prj_project_maintain_constru_wfl.lview
...odules/prj/PRJ501N/prj_project_maintain_constru_wfl.lview
+2
-2
No files found.
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
View file @
5e78fe20
...
...
@@ -66,7 +66,7 @@
// alert('${/parameter/@division}')
//add by zhuxianfei
Leaf.onReady(function() {
if(division!='30' && division!='50'){
if(division!='30' && division!='50'
&& division!='99'
){
var gridId= 'PROJECT_CREATE_NP_G_LEASE_HEAD_CAR_prj_project_lease_item_layout_grid_id';
$(gridId).hideColumn('machine_number_n');
}
...
...
@@ -112,7 +112,7 @@
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_LEASE_HEAD_CAR', 'prj_project_lease_item');
var current_red= $(ds_id).getCurrentRecord();
if(division=='30' || division=='50'){
if(division=='30' || division=='50'
|| division=='99'
){
var set_number=current_red.get('set_number');
var total_number=current_red.get('total_number');
if(total_number!=0 && set_number!=total_number){
...
...
@@ -185,7 +185,7 @@
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_LEASE_HEAD_CAR', 'prj_project_lease_item');
var current_red= $(ds_id).getCurrentRecord();
if(division=='30' || division=='50'){
if(division=='30' || division=='50'
|| division=='99'
){
var set_number=current_red.get('set_number');
var total_number=current_red.get('total_number');
if(total_number!=0 && set_number!=total_number){
...
...
@@ -903,7 +903,7 @@
var
bp_code=
'${/model/user_agent_description/record/@bp_code}'
;
var
invoice_agent_id=
record.get('invoice_agent_id');
if((
division=
='80'||division=='30'||division=='50')
&&
invoice_agent_id
!==
"25321"){
if((
division=
='80'||division=='30'||division=='50'
||
division=
='99'
)
&&
invoice_agent_id
!==
"25321"){
record.set('credit_line','TENANT');
record.set('credit_line_n','承租人');
}
...
...
@@ -975,7 +975,7 @@
var
lease_item_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_LEASE_HEAD_CAR',
'prj_project_lease_item');
if
(
lease_item_ds_id =
=
ds.id
&&
lease_item_ds_id)
{
if(
division=
='30'||division=='50'||division=='80'){
if(
division=
='30'||division=='50'||division=='80'
||
division=
='99'
){
record.getField('set_number').setRequired(true);
}else{
record.getField('set_number').setReadOnly(true);
...
...
@@ -1282,7 +1282,7 @@
var lease_item_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_LEASE_HEAD_CAR', 'prj_project_lease_item');
if(lease_item_ds_id == ds.id
&&
lease_item_ds_id){
var gridId= ds.bindname+'_layout_grid_id';
if(division!='30'
&&
division!='50'){
if(division!='30'
&&
division!='50'
&&
division!='99'
){
$(gridId).hideColumn('machine_number_n');
}
if(division=='70'|| division=='92'){
...
...
@@ -1489,7 +1489,7 @@
var
lease_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_QUOTATION_N',
'prj_quotation');
var
ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_LEASE_HEAD_CAR',
'prj_project_lease_item');
if(
division=
='30'||division=='50'){
if(
division=
='30'||division=='50'
||
division=
='99'
){
var
record=
$(lease_ds_id).getCurrentRecord();
var
records=
$(ds_id).getCurrentRecord();
var
set_number=
records.get('set_number');
...
...
@@ -1548,7 +1548,7 @@
Leaf.showConfirm('${HLS.PROMPT}',
'确认要提交工作流吗?',
function
()
{
var
lease_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_QUOTATION_N',
'prj_quotation');
var
ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_LEASE_HEAD_CAR',
'prj_project_lease_item');
if(
division=
='30'||division=='50'){
if(
division=
='30'||division=='50'
||
division=
='99'
){
var
record=
$(lease_ds_id).getCurrentRecord();
var
records=
$(ds_id).getCurrentRecord();
var
set_number=
records.get('set_number');
...
...
src/main/webapp/modules/prj/PRJ500N/prj_project_create_constru.lview
View file @
5e78fe20
...
...
@@ -62,7 +62,7 @@
<script
type=
"text/javascript"
>
<![CDATA[
//add by zhuxianfei
Leaf.onReady(function() {
if(division!='30' && division!='50'){
if(division!='30' && division!='50'
&& division!='99'
){
var gridId= 'PROJECT_CONSTRU_CREATE_NP_G_LEASE_HEAD_CAR_prj_project_lease_item_layout_grid_id';
$(gridId).hideColumn('machine_number_n');
}
...
...
@@ -101,7 +101,7 @@
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_LEASE_HEAD_CAR', 'prj_project_lease_item');
var current_red= $(ds_id).getCurrentRecord();
if(division=='30' || division=='50'){
if(division=='30' || division=='50'
||division=='99'
){
var set_number=current_red.get('set_number');
var total_number=current_red.get('total_number');
if(total_number!=0 && set_number!=total_number){
...
...
@@ -174,7 +174,7 @@
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_LEASE_HEAD_CAR', 'prj_project_lease_item');
var current_red= $(ds_id).getCurrentRecord();
if(division=='30' || division=='50'){
if(division=='30' || division=='50'
||division=='99'
){
var set_number=current_red.get('set_number');
var total_number=current_red.get('total_number');
if(total_number!=0 && set_number!=total_number){
...
...
@@ -909,7 +909,7 @@
var
lease_item_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_LEASE_HEAD_CAR',
'prj_project_lease_item');
if
(
lease_item_ds_id =
=
ds.id
&&
lease_item_ds_id)
{
if(
division=
='30'||division=='50'||division=='80'){
if(
division=
='30'||division=='50'||division=='80'
||division=='99'
){
record.getField('set_number').setRequired(true);
}else{
record.getField('set_number').setReadOnly(true);
...
...
@@ -1167,7 +1167,7 @@
var lease_item_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_LEASE_HEAD_CAR', 'prj_project_lease_item');
if(lease_item_ds_id == ds.id
&&
lease_item_ds_id){
var gridId= ds.bindname+'_layout_grid_id';
if(division!='30'
&&
division!='50'){
if(division!='30'
&&
division!='50'
&&
division!='99'
){
$(gridId).hideColumn('machine_number_n');
}
if(division=='70'|| division=='92'){
...
...
@@ -1375,7 +1375,7 @@
var
lease_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_QUOTATION_N',
'prj_quotation');
var
ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_LEASE_HEAD_CAR',
'prj_project_lease_item');
if(
division=
='30'||division=='50'){
if(
division=
='30'||division=='50'
||division=='99'
){
var
record=
$(lease_ds_id).getCurrentRecord();
var
records=
$(ds_id).getCurrentRecord();
var
set_number=
records.get('set_number');
...
...
@@ -1434,7 +1434,7 @@
Leaf.showConfirm('${HLS.PROMPT}',
'确认要提交工作流吗?',
function
()
{
var
lease_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_QUOTATION_N',
'prj_quotation');
var
ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_LEASE_HEAD_CAR',
'prj_project_lease_item');
if(
division=
='30'||division=='50'){
if(
division=
='30'||division=='50'
||division=='99'
){
var
record=
$(lease_ds_id).getCurrentRecord();
var
records=
$(ds_id).getCurrentRecord();
var
set_number=
records.get('set_number');
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
5e78fe20
...
...
@@ -172,7 +172,7 @@
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_LEASE_HEAD_CAR', 'prj_project_lease_item');
var current_red= $(ds_id).getCurrentRecord();
if(division=='30' || division=='50'){
if(division=='30' || division=='50'
|| division=='99'
){
var set_number=current_red.get('set_number');
var total_number=current_red.get('total_number');
if(total_number!=0 && set_number!=total_number){
...
...
@@ -248,7 +248,7 @@
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_LEASE_HEAD_CAR', 'prj_project_lease_item');
var current_red= $(ds_id).getCurrentRecord();
if(division=='30' || division=='50'){
if(division=='30' || division=='50'
|| division=='99'
){
var set_number=current_red.get('set_number');
var total_number=current_red.get('total_number');
if(total_number!=0 && set_number!=total_number){
...
...
@@ -1023,7 +1023,7 @@
$(bp_ds_ids).query();*/
if(lease_item_ds_id == ds.id
&&
lease_item_ds_id){
var gridId= ds.bindname+'_layout_grid_id';
if(division!='30'
&&
division!='50'){
if(division!='30'
&&
division!='50'
&&
division!='99'
){
$(gridId).hideColumn('machine_number_n');
}
if((division=='70'||division=='92')
&&
division!=''){
...
...
@@ -1063,7 +1063,7 @@
$(gridId).hideColumn('created_by_n');
}
if (lease_item_ds_id == ds.id
&&
lease_item_ds_id) {
if(division=='30'||division=='50'||division=='80'){
if(division=='30'||division=='50'||division=='80'
||division=='99'
){
record.getField('set_number').setRequired(true);
}else{
record.getField('set_number').setReadOnly(true);
...
...
@@ -1257,7 +1257,7 @@
var
credit_record =
$(ds_id).getCurrentRecord();
var
invoice_agent_id=
record.get('invoice_agent_id');
if((
division=
='80'||division=='30'||division=='50')
&&
invoice_agent_id
!==
25321){
if((
division=
='80'||division=='30'||division=='50'
||division=='99'
)
&&
invoice_agent_id
!==
25321){
credit_record.set('credit_line','TENANT');
credit_record.set('credit_line_n','承租人');
}
...
...
@@ -1725,7 +1725,7 @@
Leaf.showConfirm('${HLS.PROMPT}',
'确认要提交工作流吗?',
function
()
{
var
lease_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_QUOTATION_N',
'prj_quotation');
var
ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_LEASE_HEAD_CAR',
'prj_project_lease_item');
if(
division=
='30'||division=='50'){
if(
division=
='30'||division=='50'
||
division=
='99'
){
var
record=
$(lease_ds_id).getCurrentRecord();
var
records=
$(ds_id).getCurrentRecord();
var
set_number=
records.get('set_number');
...
...
@@ -1785,7 +1785,7 @@
var
lease_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_QUOTATION_N',
'prj_quotation');
var
ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_LEASE_HEAD_CAR',
'prj_project_lease_item');
if(
division=
='30'||division=='50'){
if(
division=
='30'||division=='50'
||
division=
='99'
){
var
record=
$(lease_ds_id).getCurrentRecord();
var
records=
$(ds_id).getCurrentRecord();
var
set_number=
records.get('set_number');
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain_constru.lview
View file @
5e78fe20
...
...
@@ -164,7 +164,7 @@
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_LEASE_HEAD_CAR', 'prj_project_lease_item');
var current_red= $(ds_id).getCurrentRecord();
if(division=='30' || division=='50'){
if(division=='30' || division=='50'
||division=='99'
){
var set_number=current_red.get('set_number');
var total_number=current_red.get('total_number');
if(total_number!=0 && set_number!=total_number){
...
...
@@ -240,7 +240,7 @@
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_LEASE_HEAD_CAR', 'prj_project_lease_item');
var current_red= $(ds_id).getCurrentRecord();
if(division=='30' || division=='50'){
if(division=='30' || division=='50'
||division=='99'
){
var set_number=current_red.get('set_number');
var total_number=current_red.get('total_number');
if(total_number!=0 && set_number!=total_number){
...
...
@@ -928,7 +928,7 @@
if(lease_item_ds_id == ds.id
&&
lease_item_ds_id){
var gridId= ds.bindname+'_layout_grid_id';
if(division!='30'
&&
division!='50'){
if(division!='30'
&&
division!='50'
&&
division!='99'
){
$(gridId).hideColumn('machine_number_n');
}
if((division=='70'||division=='92')
&&
division!=''){
...
...
@@ -967,7 +967,7 @@
$(gridId).hideColumn('created_by_n');
}
if (lease_item_ds_id == ds.id
&&
lease_item_ds_id) {
if(division=='30'||division=='50'||division=='80'){
if(division=='30'||division=='50'||division=='80'
||division=='99'
){
record.getField('set_number').setRequired(true);
}else{
record.getField('set_number').setReadOnly(true);
...
...
@@ -1127,7 +1127,7 @@
var
description =
'${/model/description/record/@employee_type_code}'
;
var
bp_code=
'${/model/user_agent_description/record/@bp_code}'
;
var
credit_record =
$(ds_id).getCurrentRecord();
if(
division=
='80'||division=='30'||division=='50'){
if(
division=
='80'||division=='30'||division=='50'
||division=='99'
){
credit_record.set('credit_line','TENANT');
credit_record.set('credit_line_n','承租人');
}else
if(!Ext.isEmpty(description)
&&
description =
=
'AGENT'){
...
...
@@ -1578,7 +1578,7 @@
Leaf.showConfirm('${HLS.PROMPT}',
'确认要提交工作流吗?',
function
()
{
var
lease_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_QUOTATION_N',
'prj_quotation');
var
ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_LEASE_HEAD_CAR',
'prj_project_lease_item');
if(
division=
='30'||division=='50'){
if(
division=
='30'||division=='50'
||division=='99'
){
var
record=
$(lease_ds_id).getCurrentRecord();
var
records=
$(ds_id).getCurrentRecord();
var
set_number=
records.get('set_number');
...
...
@@ -1638,7 +1638,7 @@
var
lease_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_QUOTATION_N',
'prj_quotation');
var
ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_LEASE_HEAD_CAR',
'prj_project_lease_item');
if(
division=
='30'||division=='50'){
if(
division=
='30'||division=='50'
||division=='99'
){
var
record=
$(lease_ds_id).getCurrentRecord();
var
records=
$(ds_id).getCurrentRecord();
var
set_number=
records.get('set_number');
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain_constru_wfl.lview
View file @
5e78fe20
...
...
@@ -591,7 +591,7 @@
var lease_item_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_LEASE_HEAD_CAR', 'prj_project_lease_item');
if(lease_item_ds_id == ds.id
&&
lease_item_ds_id){
var gridId= ds.bindname+'_layout_grid_id';
if(division!='30'
&&
division!='50'){
if(division!='30'
&&
division!='50'
&&
division!='99'
){
$(gridId).hideColumn('machine_number_n');
}
if((division=='70'||division=='92')
&&
division!=''){
...
...
@@ -1181,7 +1181,7 @@
record.getField('modelcd').setReadOnly(true);
}
if(
division=
='30'||division=='50'||division=='80'){
if(
division=
='30'||division=='50'||division=='80'
||division=='99'
){
record.getField('set_number').setRequired(true);
}else{
record.getField('set_number').setReadOnly(true);
...
...
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