Commit 03162d19 authored by xy's avatar xy

工程机械代码覆盖后重新提交

parent 10adfc6a
...@@ -594,7 +594,7 @@ ...@@ -594,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!=''){
...@@ -1184,7 +1184,7 @@ ...@@ -1184,7 +1184,7 @@
record.getField('modelcd').setReadOnly(true); 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); record.getField('set_number').setRequired(true);
}else{ }else{
record.getField('set_number').setReadOnly(true); record.getField('set_number').setReadOnly(true);
......
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