From f3ec784383273fcfa50272b7eb441a989c069e5f Mon Sep 17 00:00:00 2001 From: "jinling.yang" Date: Thu, 28 Dec 2023 16:38:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=98=E5=8E=9F=E4=BA=A7=E5=93=81=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../product_template_management_view.xml | 270 ++++++++---------- 1 file changed, 124 insertions(+), 146 deletions(-) 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', ('整体式刀具','刀片'))]}"> +