1、组装单新增五种物料的【更多】按钮,点击按钮跳转至新的弹窗界面,根据功能刀具清单BOM的配置,搜索出全部满足条件的刀柄产品或者其他刀具物料对应的批次、货位,使用tree视图提供选择。2、新增产品tree、search视图
This commit is contained in:
@@ -524,6 +524,7 @@
|
||||
<div>
|
||||
<separator string="刀柄:" style="font-size: 13px;"/>
|
||||
</div>
|
||||
|
||||
<group>
|
||||
<field name="handle_code_id" string="序列号" placeholder="请选择"
|
||||
options="{'no_create': True, 'no_quick_create': True}"
|
||||
@@ -534,6 +535,10 @@
|
||||
<field name="handle_specification_id" string="规格"/>
|
||||
<field name="sf_tool_brand_id_5" string="品牌"/>
|
||||
</group>
|
||||
<div>
|
||||
<button string="更多" name="set_tool_lot" type="object"
|
||||
class="btn-primary" context="{'tool_type': '刀柄'}"/>
|
||||
</div>
|
||||
</group>
|
||||
<group col="1"
|
||||
attrs="{'invisible': [('bar_lot_id', '=', False),'|','|',('integral_lot_id', '!=', False),('pad_lot_id', '!=', False),('assemble_status', 'not in', ['0','01'])]}">
|
||||
@@ -552,6 +557,10 @@
|
||||
<field name="bar_specification_id" string="规格"/>
|
||||
<field name="sf_tool_brand_id_3" string="品牌"/>
|
||||
</group>
|
||||
<div>
|
||||
<button string="更多" name="set_tool_lot" type="object"
|
||||
class="btn-primary" context="{'tool_type': '刀杆'}"/>
|
||||
</div>
|
||||
</group>
|
||||
<group col="1"
|
||||
attrs="{'invisible': [('pad_lot_id', '=', False),'|','|',('integral_lot_id', '!=', False),('bar_lot_id', '!=', False),('assemble_status', 'not in', ['0','01'])]}">
|
||||
@@ -572,6 +581,10 @@
|
||||
<field name="sf_tool_brand_id_4" string="品牌"/>
|
||||
</group>
|
||||
</group>
|
||||
<div>
|
||||
<button string="更多" name="set_tool_lot" type="object"
|
||||
class="btn-primary" context="{'tool_type': '刀盘'}"/>
|
||||
</div>
|
||||
</group>
|
||||
</group>
|
||||
<group col="1">
|
||||
@@ -592,6 +605,10 @@
|
||||
<field name="integral_specification_id" string="规格"/>
|
||||
<field name="sf_tool_brand_id_1" string="品牌"/>
|
||||
</group>
|
||||
<div>
|
||||
<button string="更多" name="set_tool_lot" type="object"
|
||||
class="btn-primary" context="{'tool_type': '整体式刀具'}"/>
|
||||
</div>
|
||||
</group>
|
||||
<group col="1"
|
||||
attrs="{'invisible': [('blade_lot_id', '=', False),'|', ('integral_lot_id', '!=', False),('assemble_status', 'not in', ['0','01'])]}">
|
||||
@@ -610,6 +627,10 @@
|
||||
<field name="blade_specification_id" string="规格"/>
|
||||
<field name="sf_tool_brand_id_2" string="品牌"/>
|
||||
</group>
|
||||
<div>
|
||||
<button string="更多" name="set_tool_lot" type="object"
|
||||
class="btn-primary" context="{'tool_type': '刀片'}"/>
|
||||
</div>
|
||||
</group>
|
||||
</group>
|
||||
<!-- <group col="1"-->
|
||||
|
||||
Reference in New Issue
Block a user