Commit 1cd07847 authored by xy's avatar xy

[建机]虚拟代理店-新增参数虚拟店

parent 864a54d9
......@@ -149,7 +149,8 @@
id_num: 0,
calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR',
recreate_L_formula: calc_recreate_L_formula,
division:'${/parameter/@division}'
division:'${/parameter/@division}',
is_constru_unit: 'Y'
},
url: url,
fullScreen: true,
......@@ -205,7 +206,8 @@
id_num: 0,
calc_type: '${/parameter/@calc_type}',
recreate_L_formula: 'N',
division:'${/parameter/@division}'
division:'${/parameter/@division}',
is_constru_unit: 'Y'
},
url: url,
fullScreen: true,
......@@ -253,7 +255,8 @@
id_num: 0,
calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR',
recreate_L_formula: calc_recreate_L_formula,
division:'${/parameter/@division}'
division:'${/parameter/@division}',
is_constru_unit: 'Y'
},
url: url,
fullScreen: true,
......
......@@ -215,7 +215,8 @@
id_num: 1,
calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR',
recreate_L_formula: calc_recreate_L_formula,
division:'${/parameter/@division}'
division:'${/parameter/@division}',
is_constru_unit: 'Y'
},
url: url,
fullScreen: true,
......@@ -274,7 +275,8 @@
id_num: 1,
calc_type: '${/parameter/@calc_type}',
recreate_L_formula: 'N',
division:'${/parameter/@division}'
division:'${/parameter/@division}',
is_constru_unit: 'Y'
},
url: url,
fullScreen: true,
......@@ -327,7 +329,8 @@
id_num: 1,
calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR',
recreate_L_formula: calc_recreate_L_formula,
division:'${/parameter/@division}'
division:'${/parameter/@division}',
is_constru_unit: 'Y'
},
url: url,
fullScreen: true,
......@@ -928,7 +931,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!=''){
......@@ -1124,6 +1127,7 @@
record.getField('branch_code_n').setRequired(false);
}
//获取员工类型
/**
var description = '${/model/description/record/@employee_type_code}';
var bp_code='${/model/user_agent_description/record/@bp_code}';
var credit_record = $(ds_id).getCurrentRecord();
......@@ -1141,6 +1145,7 @@
}
}
}
**/
}
//只读页面隐藏保存按钮
if('${/parameter/@function_usage}' == 'QUERY'){
......
......@@ -187,7 +187,8 @@
id_num: 1,
calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR',
recreate_L_formula: calc_recreate_L_formula,
division:division
division:division,
is_constru_unit: 'Y'
},
url: url,
fullScreen: true,
......@@ -230,7 +231,8 @@
id_num: 1,
calc_type: '${/parameter/@calc_type}',
recreate_L_formula: 'N',
division:division
division:division,
is_constru_unit: 'Y'
},
url: url,
fullScreen: true,
......@@ -279,7 +281,8 @@
id_num: 1,
calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR',
recreate_L_formula: calc_recreate_L_formula,
division:division
division:division,
is_constru_unit: 'Y'
},
url: url,
fullScreen: true,
......@@ -591,7 +594,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!=''){
......@@ -1115,6 +1118,9 @@
if(document.getElementById('${/parameter/@layout_code}_save')){
document.getElementById('${/parameter/@layout_code}_save').style.display = "none";
}
if(document.getElementById('${/parameter/@layout_code}_quote')){
document.getElementById('${/parameter/@layout_code}_quote').style.display = "none";
}
}
};
if('${/parameter/@editable_flag}' == 'Y' || '${/parameter/@editable_flag}' == 'YE'){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment