1、功能刀具拆解单拆解流程优化;2、优化货位看板显示;

This commit is contained in:
yuxianghui
2024-06-04 11:26:00 +08:00
parent 67c4f64d08
commit 3882d3a3cb
4 changed files with 57 additions and 57 deletions

View File

@@ -847,8 +847,8 @@
<field name="handle_brand_id" string="品牌"/>
</group>
<group>
<field name="handle_lot_id" string="序列号"/>
<field name="handle_rfid" string="Rfid"/>
<field name="handle_lot_id" string="序列号"/>
<field name="scrap_boolean" string="是否报废"
attrs="{'invisible': [('dismantle_cause', 'not in', ['寿命到期报废','崩刀报废'])], 'readonly': [('state', '=', '已拆解')]}"/>
</group>
@@ -861,11 +861,12 @@
<field name="chuck_brand_id" string="品牌"/>
</group>
<group>
<field name="chuck_lot_id" string="批次"/>
<field name="chuck_freight_id" string="目标货位"
<field name="chuck_freight_id" string="目标货位" placeholder="请选择"
options="{'no_create': True,'no_create_edit':True}"
attrs="{'invisible': [('dismantle_cause', 'not in', ['更换为其他刀具', '刀具需磨削'])], 'readonly': [('state', '=', '已拆解')],
'required': [('chuck_lot_id', '!=', False),('dismantle_cause', 'in', ['更换为其他刀具', '刀具需磨削'])]}"/>
<field name="chuck_lot_id" string="批次"
attrs="{'required': [('chuck_product_id', '!=', False)]}"/>
</group>
</group>
</group>
@@ -877,11 +878,12 @@
<field name="integral_brand_id" string="品牌"/>
</group>
<group>
<field name="integral_lot_id" string="批次"/>
<field name="integral_freight_id" string="目标货位"
<field name="integral_freight_id" string="目标货位" placeholder="请选择"
options="{'no_create': True,'no_create_edit':True}"
attrs="{'invisible': [('dismantle_cause', 'not in', ['更换为其他刀具', '刀具需磨削'])], 'readonly': [('state', '=', '已拆解')],
'required': [('integral_lot_id', '!=', False),('dismantle_cause', 'in', ['更换为其他刀具', '刀具需磨削'])]}"/>
<field name="integral_lot_id" string="批次"
attrs="{'required': [('integral_product_id', '!=', False)]}"/>
</group>
</group>
</group>
@@ -893,11 +895,12 @@
<field name="blade_brand_id" string="品牌"/>
</group>
<group>
<field name="blade_lot_id" string="批次"/>
<field name="blade_freight_id" string="目标货位"
<field name="blade_freight_id" string="目标货位" placeholder="请选择"
options="{'no_create': True,'no_create_edit':True}"
attrs="{'invisible': [('dismantle_cause', 'not in', ['更换为其他刀具', '刀具需磨削'])], 'readonly': [('state', '=', '已拆解')],
'required': [('blade_lot_id', '!=', False),('dismantle_cause', 'in', ['更换为其他刀具', '刀具需磨削'])]}"/>
<field name="blade_lot_id" string="批次"
attrs="{'required': [('blade_product_id', '!=', False)]}"/>
</group>
</group>
<group string="刀杆" attrs="{'invisible': [('bar_product_id', '=', False)]}">
@@ -907,11 +910,12 @@
<field name="bar_brand_id" string="品牌"/>
</group>
<group>
<field name="bar_lot_id" string="批次"/>
<field name="bar_freight_id" string="目标货位"
<field name="bar_freight_id" string="目标货位" placeholder="请选择"
options="{'no_create': True,'no_create_edit':True}"
attrs="{'invisible': [('dismantle_cause', 'not in', ['更换为其他刀具', '刀具需磨削'])], 'readonly': [('state', '=', '已拆解')],
'required': [('bar_lot_id', '!=', False),('dismantle_cause', 'in', ['更换为其他刀具', '刀具需磨削'])]}"/>
<field name="bar_lot_id" string="批次"
attrs="{'required': [('bar_product_id', '!=', False)]}"/>
</group>
</group>
<group string="刀盘" attrs="{'invisible': [('pad_product_id', '=', False)]}">
@@ -921,11 +925,12 @@
<field name="pad_brand_id" string="品牌"/>
</group>
<group>
<field name="pad_lot_id" string="批次"/>
<field name="pad_freight_id" string="目标货位"
<field name="pad_freight_id" string="目标货位" placeholder="请选择"
options="{'no_create': True,'no_create_edit':True}"
attrs="{'invisible': [('dismantle_cause', 'not in', ['更换为其他刀具', '刀具需磨削'])], 'readonly': [('state', '=', '已拆解')],
'required': [('pad_lot_id', '!=', False), ('dismantle_cause', 'in', ['更换为其他刀具', '刀具需磨削'])]}"/>
<field name="pad_lot_id" string="批次"
attrs="{'required': [('pad_product_id', '!=', False)]}"/>
</group>
</group>
</group>