功能刀具组装优化需求

This commit is contained in:
hyyy
2025-04-09 13:57:48 +08:00
parent ec379a7541
commit 2bae98950e
4 changed files with 41 additions and 16 deletions

View File

@@ -38,6 +38,7 @@
'web.assets_qweb': [
],
'web.assets_backend': [
'sf_tool_management/static/src/change.scss'
]
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 B

View File

@@ -1,17 +1,41 @@
.modal-content .o_cp_buttons {
display:none
// .modal-content .o_cp_buttons {
// display:none
// }
// .modal-content .o_control_panel {
// display:none
// }
// .modal-content .o_list_button {
// }
// .o_form_view .o_field_widget .o_list_renderer {
// width: 100%!important;
// margin:0 auto;
// overflow: auto;
// }
.o_field_widget.o_readonly_modifier.o_field_char.text-success[name=handle_freight_rfid],
.o_field_widget.o_readonly_modifier.o_field_many2one.text-success[name=integral_freight_barcode_id] {
a.text-success{
span {
color: #999;
}
}
&::after{
content: '';
display: block;
width: 18px;
height: 18px;
background: url('/sf_tool_management/static/images/replaceIcon.png') no-repeat center center;
background-size: 100%;
}
.modal-content .o_control_panel {
display:none
}
.modal-content .o_list_button {
.o_field_widget.o_readonly_modifier.o_field_char.text-success[name=handle_freight_rfid] {
display: flex;
align-items: center;
> span {
color: #999;
}
.o_form_view .o_field_widget .o_list_renderer {
width: 100%!important;
margin:0 auto;
overflow: auto;
}

View File

@@ -534,7 +534,7 @@
<group>
<field name="handle_code_id" string="序列号" placeholder="请选择"
options="{'no_create': True, 'no_quick_create': True}"/>
<field name="handle_freight_rfid" string="Rfid"/>
<field name="handle_freight_rfid" string="Rfid" decoration-success="handle_freight_rfid"/>
<field name="handle_product_id" string="名称"/>
<field name="cutting_tool_cutterhandle_model_id" string="型号"/>
<field name="handle_specification_id" string="规格"/>
@@ -555,14 +555,14 @@
</div>
<group>
<group>
<field name="integral_freight_barcode_id" string="货位"/>
<field name="integral_freight_barcode_id" string="货位" decoration-success="integral_verify == True"/>
<field name="integral_lot_id" string="批次"/>
<field name="integral_product_id" string="名称"/>
<field name="cutting_tool_integral_model_id" string="型号"/>
<field name="integral_specification_id" string="规格"/>
<field name="sf_tool_brand_id_1" string="品牌"/>
</group>
<group>
<group invisible="1">
<field name="integral_verify" string="" readonly="1"/>
</group>
</group>