diff --git a/sf_dlm_management/views/product_template_management_view.xml b/sf_dlm_management/views/product_template_management_view.xml index 737d56db..231ae96f 100644 --- a/sf_dlm_management/views/product_template_management_view.xml +++ b/sf_dlm_management/views/product_template_management_view.xml @@ -7,7 +7,7 @@ - + + attrs="{'invisible': ['|',('categ_type', '!=', '坯料'),('categ_type', '=', False)]}"/> + attrs="{'invisible': [('categ_type', 'not in', ['成品','坯料', '原材料'])]}"/> + attrs="{'invisible': [('categ_type', 'not in', ['成品','坯料', '原材料'])]}"/> - - - - {'readonly': [('categ_id', '!=', False)]} - @@ -102,44 +98,41 @@ - + - + placeholder="请选择"/> + - + attrs="{'invisible': [('cutting_tool_type', 'not in', ('整体式刀具','刀杆','刀盘','夹头','刀柄'))]}"/> + - + - + string="材质"/> + + attrs="{'invisible': [('cutting_tool_type', '!=', '整体式刀具')]}"/> + attrs="{'required': [('cutting_tool_type','=','整体式刀具')],'invisible': [('cutting_tool_type', 'not in', ('整体式刀具','刀片'))]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '整体式刀具')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '整体式刀具')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '整体式刀具')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '整体式刀具')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '整体式刀具')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '整体式刀具')]}"/> + attrs='{"invisible": [("cutting_tool_type","not in",("夹头","刀柄"))]}'/> + attrs="{'invisible': [('cutting_tool_type', 'not in', ('夹头','刀柄'))]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀柄')]}"/> + attrs="{'invisible': [('cutting_tool_type', 'not in', ('刀片'))]}"/> + attrs="{'invisible': [('cutting_tool_type', 'not in', ('刀片','刀杆'))]}"/> + attrs="{'invisible': [('cutting_tool_type', 'not in', ('刀片'))]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀片')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀片')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀片')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀片')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀片')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀片')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀片')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀片')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀片')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀柄')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀柄')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀柄')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀柄')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀柄')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '夹头')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '夹头')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '夹头')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '夹头')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '夹头')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀杆')]}"/> + attrs="{'invisible': [('cutting_tool_type', 'not in', ('刀杆','刀盘'))]}"/> + attrs="{'invisible': [('cutting_tool_type', 'not in', ('刀杆','刀盘'))]}"/> + attrs="{'invisible': [('cutting_tool_type', 'not in', ('刀杆','刀盘'))]}"/> + attrs="{'invisible': [('cutting_tool_type', 'not in', ('刀杆','刀盘'))]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀杆')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀杆')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀杆')]}"/> + attrs="{'invisible': [('cutting_tool_type', 'not in', ('刀杆','刀柄'))]}"/> + attrs="{'invisible': [('cutting_tool_type', 'not in', ('刀杆','刀柄'))]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀盘')]}"/> + attrs="{'invisible': [('cutting_tool_type', '!=', '刀盘')]}"/> - + - + - + - + - + - + @@ -465,9 +444,8 @@ - + attrs="{'invisible': [('cutting_tool_type', 'not in', ('整体式刀具','刀片'))]}"> +