Accept Merge Request #931: (feature/刀具物料采购生成序列号优化 -> develop)

Merge Request: 当产品的刀具物料不是刀柄时,隐藏对应序列号模型的Rfid字段

Created By: @禹翔辉
Reviewed By: @马广威
Approved By: @马广威 
Accepted By: @禹翔辉
URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/931
This commit is contained in:
禹翔辉
2024-04-02 16:43:21 +08:00
committed by Coding

View File

@@ -14,7 +14,8 @@
</header>
</xpath>
<xpath expr="//field[@name='product_id']" position="before">
<field name="rfid"/>
<field name="rfid" attrs="{'invisible': [('product_material_name', 'not in', '刀柄')]}"/>
<field name="product_material_name" invisible="1"/>
</xpath>
<xpath expr="//field[@name='product_id']" position="after">
<field name="product_specification"/>