设备新增图文展示table

This commit is contained in:
qihao.gong@jikimo.com
2023-09-01 16:57:04 +08:00
parent 27571942c9
commit 32b773c486
4 changed files with 74 additions and 42 deletions

View File

@@ -172,6 +172,14 @@
</page>
<page string="图文展示">
<field name='image_id' widget="one2many">
<tree editable="bottom">
<field name="image" widget="image"
options="{'size': [100, 100], 'click enlarge': True}"/>
</tree>
</field>
</page>
</xpath>
@@ -210,7 +218,7 @@
</xpath>
<xpath expr="//page[@name='maintenance']" position="after">
<page string="其他" attrs="{'invisible': [('type_id', '=', False)]}">
<page string="其他" attrs="{'invisible': [('type_id', '=', False)]}">
<group string="其他">
<field name="remark"/>
</group>