Commit 1cd07847 authored by xy's avatar xy

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

parent 864a54d9
...@@ -149,7 +149,8 @@ ...@@ -149,7 +149,8 @@
id_num: 0, id_num: 0,
calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR', calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR',
recreate_L_formula: calc_recreate_L_formula, recreate_L_formula: calc_recreate_L_formula,
division:'${/parameter/@division}' division:'${/parameter/@division}',
is_constru_unit: 'Y'
}, },
url: url, url: url,
fullScreen: true, fullScreen: true,
...@@ -205,7 +206,8 @@ ...@@ -205,7 +206,8 @@
id_num: 0, id_num: 0,
calc_type: '${/parameter/@calc_type}', calc_type: '${/parameter/@calc_type}',
recreate_L_formula: 'N', recreate_L_formula: 'N',
division:'${/parameter/@division}' division:'${/parameter/@division}',
is_constru_unit: 'Y'
}, },
url: url, url: url,
fullScreen: true, fullScreen: true,
...@@ -253,7 +255,8 @@ ...@@ -253,7 +255,8 @@
id_num: 0, id_num: 0,
calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR', calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR',
recreate_L_formula: calc_recreate_L_formula, recreate_L_formula: calc_recreate_L_formula,
division:'${/parameter/@division}' division:'${/parameter/@division}',
is_constru_unit: 'Y'
}, },
url: url, url: url,
fullScreen: true, fullScreen: true,
......
...@@ -215,7 +215,8 @@ ...@@ -215,7 +215,8 @@
id_num: 1, id_num: 1,
calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR', calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR',
recreate_L_formula: calc_recreate_L_formula, recreate_L_formula: calc_recreate_L_formula,
division:'${/parameter/@division}' division:'${/parameter/@division}',
is_constru_unit: 'Y'
}, },
url: url, url: url,
fullScreen: true, fullScreen: true,
...@@ -274,7 +275,8 @@ ...@@ -274,7 +275,8 @@
id_num: 1, id_num: 1,
calc_type: '${/parameter/@calc_type}', calc_type: '${/parameter/@calc_type}',
recreate_L_formula: 'N', recreate_L_formula: 'N',
division:'${/parameter/@division}' division:'${/parameter/@division}',
is_constru_unit: 'Y'
}, },
url: url, url: url,
fullScreen: true, fullScreen: true,
...@@ -327,7 +329,8 @@ ...@@ -327,7 +329,8 @@
id_num: 1, id_num: 1,
calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR', calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR',
recreate_L_formula: calc_recreate_L_formula, recreate_L_formula: calc_recreate_L_formula,
division:'${/parameter/@division}' division:'${/parameter/@division}',
is_constru_unit: 'Y'
}, },
url: url, url: url,
fullScreen: true, fullScreen: true,
...@@ -928,7 +931,7 @@ ...@@ -928,7 +931,7 @@
if(lease_item_ds_id == ds.id &&lease_item_ds_id){ if(lease_item_ds_id == ds.id &&lease_item_ds_id){
var gridId= ds.bindname+'_layout_grid_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'); $(gridId).hideColumn('machine_number_n');
} }
if((division=='70'||division=='92')&&division!=''){ if((division=='70'||division=='92')&&division!=''){
...@@ -1124,6 +1127,7 @@ ...@@ -1124,6 +1127,7 @@
record.getField('branch_code_n').setRequired(false); record.getField('branch_code_n').setRequired(false);
} }
//获取员工类型 //获取员工类型
/**
var description = '${/model/description/record/@employee_type_code}'; var description = '${/model/description/record/@employee_type_code}';
var bp_code='${/model/user_agent_description/record/@bp_code}'; var bp_code='${/model/user_agent_description/record/@bp_code}';
var credit_record = $(ds_id).getCurrentRecord(); var credit_record = $(ds_id).getCurrentRecord();
...@@ -1141,6 +1145,7 @@ ...@@ -1141,6 +1145,7 @@
} }
} }
} }
**/
} }
//只读页面隐藏保存按钮 //只读页面隐藏保存按钮
if('${/parameter/@function_usage}' == 'QUERY'){ if('${/parameter/@function_usage}' == 'QUERY'){
......
...@@ -187,7 +187,8 @@ ...@@ -187,7 +187,8 @@
id_num: 1, id_num: 1,
calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR', calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR',
recreate_L_formula: calc_recreate_L_formula, recreate_L_formula: calc_recreate_L_formula,
division:division division:division,
is_constru_unit: 'Y'
}, },
url: url, url: url,
fullScreen: true, fullScreen: true,
...@@ -230,7 +231,8 @@ ...@@ -230,7 +231,8 @@
id_num: 1, id_num: 1,
calc_type: '${/parameter/@calc_type}', calc_type: '${/parameter/@calc_type}',
recreate_L_formula: 'N', recreate_L_formula: 'N',
division:division division:division,
is_constru_unit: 'Y'
}, },
url: url, url: url,
fullScreen: true, fullScreen: true,
...@@ -279,7 +281,8 @@ ...@@ -279,7 +281,8 @@
id_num: 1, id_num: 1,
calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR', calc_type: '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR',
recreate_L_formula: calc_recreate_L_formula, recreate_L_formula: calc_recreate_L_formula,
division:division division:division,
is_constru_unit: 'Y'
}, },
url: url, url: url,
fullScreen: true, fullScreen: true,
...@@ -591,7 +594,7 @@ ...@@ -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'); 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(lease_item_ds_id == ds.id &&lease_item_ds_id){
var gridId= ds.bindname+'_layout_grid_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'); $(gridId).hideColumn('machine_number_n');
} }
if((division=='70'||division=='92')&&division!=''){ if((division=='70'||division=='92')&&division!=''){
...@@ -1115,6 +1118,9 @@ ...@@ -1115,6 +1118,9 @@
if(document.getElementById('${/parameter/@layout_code}_save')){ if(document.getElementById('${/parameter/@layout_code}_save')){
document.getElementById('${/parameter/@layout_code}_save').style.display = "none"; 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'){ 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