From 3f8fd6da627b127b725a79ae440dffb5399c3af0 Mon Sep 17 00:00:00 2001 From: yuxianghui <3437689193@qq.com> Date: Thu, 12 Jun 2025 09:40:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=88=80=E5=85=B7=E6=8B=86?= =?UTF-8?q?=E8=A7=A3=E5=8D=95=E5=88=A4=E6=96=AD=E6=9D=A1=E4=BB=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_warehouse/models/sync_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sf_warehouse/models/sync_common.py b/sf_warehouse/models/sync_common.py index 491495ec..8ac061c5 100644 --- a/sf_warehouse/models/sync_common.py +++ b/sf_warehouse/models/sync_common.py @@ -131,7 +131,7 @@ class MrsShelfLocationDataSync(models.Model): tool.sudo().tool_in_out_stock_location(location_id) if tool: location_id.product_sn_id = tool.barcode_id.id - if item.get('State') == '预警' and tool.functional_tool_status != '预警': + if item.get('State') == '报警' and tool.functional_tool_status != '报警': # 创建报警刀具拆解单和刀具报警记录 tool.create_tool_dismantle() # 修改功能刀具标准状态值和已使用寿命值、功能刀具状态