1、 完成 功能刀具组装和拆解页面扫描操作优化需求
This commit is contained in:
@@ -704,10 +704,10 @@
|
|||||||
<field name="model">sf.functional.tool.assembly</field>
|
<field name="model">sf.functional.tool.assembly</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<search>
|
<search>
|
||||||
|
<field name="functional_tool_name"/>
|
||||||
<field name="assembly_order_code"/>
|
<field name="assembly_order_code"/>
|
||||||
<field name="code" string="功能刀具编码"/>
|
<field name="code" string="功能刀具编码"/>
|
||||||
<field name="barcode_id"/>
|
<field name="barcode_id"/>
|
||||||
<field name="functional_tool_name"/>
|
|
||||||
<field name="functional_tool_type_id"/>
|
<field name="functional_tool_type_id"/>
|
||||||
<field name="tool_groups_id"/>
|
<field name="tool_groups_id"/>
|
||||||
<field name="loading_task_source" string="任务来源"/>
|
<field name="loading_task_source" string="任务来源"/>
|
||||||
@@ -800,6 +800,11 @@
|
|||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
<field name="_barcode_scanned" widget="barcode_handler"/>
|
<field name="_barcode_scanned" widget="barcode_handler"/>
|
||||||
|
<script>
|
||||||
|
setTimeout(function(){
|
||||||
|
$('#functional_tool_id').blur()
|
||||||
|
}, 100)
|
||||||
|
</script>
|
||||||
<group>
|
<group>
|
||||||
<group>
|
<group>
|
||||||
<field name="functional_tool_id" placeholder="请选择将要拆解的功能刀具"
|
<field name="functional_tool_id" placeholder="请选择将要拆解的功能刀具"
|
||||||
@@ -841,7 +846,7 @@
|
|||||||
<group>
|
<group>
|
||||||
<field name="scrap_boolean" string="是否报废"/>
|
<field name="scrap_boolean" string="是否报废"/>
|
||||||
</group>
|
</group>
|
||||||
<group> </group>
|
<group></group>
|
||||||
<group>
|
<group>
|
||||||
<button string="报废" name="tool_scrap" type="object"
|
<button string="报废" name="tool_scrap" type="object"
|
||||||
class="btn-primary" confirm="是否确认报废刀柄"
|
class="btn-primary" confirm="是否确认报废刀柄"
|
||||||
@@ -849,7 +854,7 @@
|
|||||||
<button string="取消" name="tool_no_scrap" type="object"
|
<button string="取消" name="tool_no_scrap" type="object"
|
||||||
class="btn-primary" confirm="是否取消报废刀柄"
|
class="btn-primary" confirm="是否取消报废刀柄"
|
||||||
attrs="{'invisible': [('scrap_boolean', '=', False)]}"/>
|
attrs="{'invisible': [('scrap_boolean', '=', False)]}"/>
|
||||||
<group> </group>
|
<group></group>
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
|
|||||||
@@ -201,6 +201,11 @@
|
|||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
|
<script>
|
||||||
|
setTimeout(function(){
|
||||||
|
$('#handle_code_id').blur()
|
||||||
|
}, 100)
|
||||||
|
</script>
|
||||||
<group string="组装物料信息" col="1">
|
<group string="组装物料信息" col="1">
|
||||||
<field name="_barcode_scanned" widget="barcode_handler"/>
|
<field name="_barcode_scanned" widget="barcode_handler"/>
|
||||||
<group col="1">
|
<group col="1">
|
||||||
|
|||||||
Reference in New Issue
Block a user