1、优化扫码的托盘已绑定工单的提示信息;2、优化采购订单未审核时,金额数据不能改变的bug;3、功能刀具拆解单新增根据不同情况扫库位码录入五种物料的目的库位的信息;4、功能刀具拆解单新增拆解后的Rfid字段,新增拆解单状态字段,新增刀具物料库位信息搜索过滤;5、功能刀具拆解单新增确认拆解按钮,完成点击确认拆解后的刀具物料是否报废、磨削或者更换的不同条件进行拆解后物料的不同去向的功能及生成移动历史,解除功能刀具Rfid的绑定并更改状态等。6、优化功能刀具管理下的菜单目录布局;7、
This commit is contained in:
@@ -792,11 +792,16 @@
|
||||
<field name="model">sf.functional.tool.dismantle</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<header>
|
||||
<button string="确认拆解" name="confirmation_disassembly" type="object" class="btn-primary"
|
||||
confirm="是否确认拆解" attrs="{‘invisible': [('state', '=', '已拆解')]}"/>
|
||||
<field name="state" widget="statusbar" statusbar_visible="待拆解,已拆解"/>
|
||||
</header>
|
||||
<sheet>
|
||||
<div class="oe_title">
|
||||
<h1>
|
||||
<field name="functional_tool_id" placeholder="请选择将要拆解的功能刀具"
|
||||
options="{'no_create': True}"/>
|
||||
options="{'no_create': True}" attrs="{‘readonly': [('state', '=', '已拆解')]}"/>
|
||||
</h1>
|
||||
</div>
|
||||
<field name="_barcode_scanned" widget="barcode_handler"/>
|
||||
@@ -807,76 +812,103 @@
|
||||
<field name="tool_groups_id"/>
|
||||
<field name="diameter"/>
|
||||
<field name="knife_tip_r_angle"/>
|
||||
<field name="dismantle_cause" placeholder="请选择拆解原因"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="image"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<group>
|
||||
<group>
|
||||
<field name="dismantle_cause" placeholder="请选择拆解原因"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="scrap_id"
|
||||
attrs="{'invisible': [('dismantle_cause', 'not in', ['寿命到期报废','崩刀报废'])]}"/>
|
||||
<field name="grinding_id"
|
||||
attrs="{'invisible': [('dismantle_cause', 'not in', ['刀具需磨削'])]}"/>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
<notebook>
|
||||
<page string="物料组装信息">
|
||||
<group string="刀柄">
|
||||
<group>
|
||||
<field name="handle_product_id" string="名称"/>
|
||||
<field name="handle_type_id" string="型号"/>
|
||||
<field name="handle_brand_id" string="品牌"/>
|
||||
<group>
|
||||
<group string="刀柄" attrs="{'invisible': [('handle_product_id', '=', False)]}">
|
||||
<group>
|
||||
<field name="handle_product_id" string="名称"/>
|
||||
<field name="handle_type_id" string="型号"/>
|
||||
<field name="handle_brand_id" string="品牌"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="handle_rfid" string="Rfid"/>
|
||||
<field name="scrap_boolean" string="是否报废"
|
||||
attrs="{'invisible': [('dismantle_cause', 'not in', ['寿命到期报废','崩刀报废'])]}"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<field name="handle_rfid" string="Rfid"/>
|
||||
</group>
|
||||
</group>
|
||||
<group string="整体式刀具">
|
||||
<group>
|
||||
<field name="integral_product_id" string="名称"/>
|
||||
<field name="integral_type_id" string="型号"/>
|
||||
<field name="integral_brand_id" string="品牌"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="integral_freight_barcode" string="目标货位"/>
|
||||
<group string="夹头" attrs="{'invisible': [('chuck_product_id', '=', False)]}">
|
||||
<group>
|
||||
<field name="chuck_product_id" string="名称"/>
|
||||
<field name="chuck_type_id" string="型号"/>
|
||||
<field name="chuck_brand_id" string="品牌"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="chuck_freight_id" string="目标货位"
|
||||
options="{'no_create': True,'no_create_edit':True}"
|
||||
attrs="{'invisible': [('dismantle_cause', 'not in', ['更换为其他刀具'])]}"/>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
<group attrs="{'invisible': [('integral_product_id', '=', False)]}">
|
||||
<group string="整体式刀具">
|
||||
<group>
|
||||
<field name="integral_product_id" string="名称"/>
|
||||
<field name="integral_type_id" string="型号"/>
|
||||
<field name="integral_brand_id" string="品牌"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="integral_freight_id" string="目标货位"
|
||||
options="{'no_create': True,'no_create_edit':True}"
|
||||
attrs="{'invisible': [('dismantle_cause', 'not in', ['更换为其他刀具'])]}"/>
|
||||
|
||||
<group string="刀片">
|
||||
<group>
|
||||
<field name="blade_product_id" string="名称"/>
|
||||
<field name="blade_type_id" string="型号"/>
|
||||
<field name="blade_brand_id" string="品牌"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="blade_freight_barcode" string="目标货位"/>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<group string="刀杆">
|
||||
<group>
|
||||
<field name="bar_product_id" string="名称"/>
|
||||
<field name="bar_type_id" string="型号"/>
|
||||
<field name="bar_brand_id" string="品牌"/>
|
||||
<group>
|
||||
<group string="刀片" attrs="{'invisible': [('blade_product_id', '=', False)]}">
|
||||
<group>
|
||||
<field name="blade_product_id" string="名称"/>
|
||||
<field name="blade_type_id" string="型号"/>
|
||||
<field name="blade_brand_id" string="品牌"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="blade_freight_id" string="目标货位"
|
||||
options="{'no_create': True,'no_create_edit':True}"
|
||||
attrs="{'invisible': [('dismantle_cause', 'not in', ['更换为其他刀具'])]}"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<field name="bar_freight_barcode" string="目标货位"/>
|
||||
<group string="刀杆" attrs="{'invisible': [('bar_product_id', '=', False)]}">
|
||||
<group>
|
||||
<field name="bar_product_id" string="名称"/>
|
||||
<field name="bar_type_id" string="型号"/>
|
||||
<field name="bar_brand_id" string="品牌"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="bar_freight_id" string="目标货位"
|
||||
options="{'no_create': True,'no_create_edit':True}"
|
||||
attrs="{'invisible': [('dismantle_cause', 'not in', ['更换为其他刀具'])]}"/>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<group string="刀盘">
|
||||
<group>
|
||||
<field name="pad_product_id" string="名称"/>
|
||||
<field name="pad_type_id" string="型号"/>
|
||||
<field name="pad_brand_id" string="品牌"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="pad_freight_barcode" string="目标货位"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<group string="夹头">
|
||||
<group>
|
||||
<field name="chuck_product_id" string="名称"/>
|
||||
<field name="chuck_type_id" string="型号"/>
|
||||
<field name="chuck_brand_id" string="品牌"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="chuck_freight_barcode" string="目标货位"/>
|
||||
<group string="刀盘" attrs="{'invisible': [('pad_product_id', '=', False)]}">
|
||||
<group>
|
||||
<field name="pad_product_id" string="名称"/>
|
||||
<field name="pad_type_id" string="型号"/>
|
||||
<field name="pad_brand_id" string="品牌"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="pad_freight_id" string="目标货位"
|
||||
options="{'no_create': True,'no_create_edit':True}"
|
||||
attrs="{'invisible': [('dismantle_cause', 'not in', ['更换为其他刀具'])]}"/>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
|
||||
Reference in New Issue
Block a user