1、优化功能刀具拆解单拆解原因为更换其他刀具时的扫码录入刀具物料货位信息功能;2、优化功能刀具拆解单确认拆解后的刀具物料拆解流程,及其刀具物料功能刀具的数量统计等;3、功能刀具拆解、功能刀具模块添加动作过滤已拆解状态的记录,并添加筛选方法;4、功能刀具组装流程添加刀具物料货位数量校验;
This commit is contained in:
@@ -39,9 +39,7 @@ class ToolMaterial(models.Model):
|
||||
usable_num += quant.quantity
|
||||
elif location == '刀具组装位置':
|
||||
have_been_used_num += quant.quantity
|
||||
elif location == '进货':
|
||||
pass
|
||||
elif location != 'Vendors':
|
||||
elif location == 'Scrap':
|
||||
scrap_num += quant.quantity
|
||||
record.usable_num = usable_num
|
||||
record.have_been_used_num = have_been_used_num
|
||||
|
||||
Reference in New Issue
Block a user