功能刀具组装优化需求
This commit is contained in:
@@ -38,6 +38,7 @@
|
|||||||
'web.assets_qweb': [
|
'web.assets_qweb': [
|
||||||
],
|
],
|
||||||
'web.assets_backend': [
|
'web.assets_backend': [
|
||||||
|
'sf_tool_management/static/src/change.scss'
|
||||||
]
|
]
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
BIN
sf_tool_management/static/images/replaceIcon.png
Normal file
BIN
sf_tool_management/static/images/replaceIcon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 785 B |
@@ -1,17 +1,41 @@
|
|||||||
.modal-content .o_cp_buttons {
|
// .modal-content .o_cp_buttons {
|
||||||
display:none
|
// display:none
|
||||||
}
|
// }
|
||||||
|
|
||||||
.modal-content .o_control_panel {
|
// .modal-content .o_control_panel {
|
||||||
display:none
|
// display:none
|
||||||
}
|
// }
|
||||||
|
|
||||||
.modal-content .o_list_button {
|
// .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%;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
.o_field_widget.o_readonly_modifier.o_field_char.text-success[name=handle_freight_rfid] {
|
||||||
.o_form_view .o_field_widget .o_list_renderer {
|
display: flex;
|
||||||
width: 100%!important;
|
align-items: center;
|
||||||
margin:0 auto;
|
> span {
|
||||||
overflow: auto;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
@@ -534,7 +534,7 @@
|
|||||||
<group>
|
<group>
|
||||||
<field name="handle_code_id" string="序列号" placeholder="请选择"
|
<field name="handle_code_id" string="序列号" placeholder="请选择"
|
||||||
options="{'no_create': True, 'no_quick_create': True}"/>
|
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="handle_product_id" string="名称"/>
|
||||||
<field name="cutting_tool_cutterhandle_model_id" string="型号"/>
|
<field name="cutting_tool_cutterhandle_model_id" string="型号"/>
|
||||||
<field name="handle_specification_id" string="规格"/>
|
<field name="handle_specification_id" string="规格"/>
|
||||||
@@ -555,14 +555,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<group>
|
<group>
|
||||||
<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_lot_id" string="批次"/>
|
||||||
<field name="integral_product_id" string="名称"/>
|
<field name="integral_product_id" string="名称"/>
|
||||||
<field name="cutting_tool_integral_model_id" string="型号"/>
|
<field name="cutting_tool_integral_model_id" string="型号"/>
|
||||||
<field name="integral_specification_id" string="规格"/>
|
<field name="integral_specification_id" string="规格"/>
|
||||||
<field name="sf_tool_brand_id_1" string="品牌"/>
|
<field name="sf_tool_brand_id_1" string="品牌"/>
|
||||||
</group>
|
</group>
|
||||||
<group>
|
<group invisible="1">
|
||||||
<field name="integral_verify" string="" readonly="1"/>
|
<field name="integral_verify" string="" readonly="1"/>
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
|
|||||||
Reference in New Issue
Block a user