夹具型号相关数据表的优化

This commit is contained in:
陈赓
2025-07-18 16:54:01 +08:00
parent e0c1e27344
commit 14f1e4f04a
6 changed files with 173 additions and 2 deletions

View File

@@ -374,6 +374,34 @@
<field name="active" invisible="1"/>
</tree>
</field>
<field name="positioning_partition_ids"
attrs="{'invisible': [('fixture_material_type', '!=', '定位隔板')]}">
<tree editable="bottom" class="center" delete="0">
<field name="code" invisible="1"/>
<field name="name"/>
<field name="partition_length_outer"/>
<field name="partition_width_outer"/>
<field name="partition_length_inner"/>
<field name="partition_width_inner"/>
<field name="partition_left_margin"/>
<field name="partition_bottom_margin"/>
<field name="partition_unit_length"/>
<field name="partition_unit_width"/>
<field name="partition_unit_row_spacing"/>
<field name="partition_unit_col_spacing"/>
<field name="partition_unit_rows"/>
<field name="partition_unit_cols"/>
<field name="station_count" readonly="1"/>
<field name="partition_base_unit_row_spacing"/>
<field name="partition_base_unit_col_spacing"/>
<field name="partition_offset_x"/>
<field name="partition_offset_y"/>
<field name="partition_joint_type"/>
<field name="partition_partner_id" options="{'no_create': True}" placeholder="请选择"/>
<field name="partition_materials_model_id" options="{'no_create': True}" placeholder="请选择"/>
<field name="active" invisible="1"/>
</tree>
</field>
<field name="scroll_chuck_ids"
attrs="{'invisible': [('fixture_material_type', '!=', '三爪卡盘')]}">
<tree editable="bottom" class="center" delete="0">