过滤错误

This commit is contained in:
liaodanlong
2025-03-24 14:26:53 +08:00
parent d014ba980b
commit a0606842e5

View File

@@ -786,6 +786,7 @@ class ReStockMove(models.Model):
if not production_id:
continue
product_name = ''
logging.info('制造订单的产品',production_id.product_id.name)
match = re.search(r'(S\d{5}-\d)', production_id.product_id.name)
# 如果匹配成功,提取结果
if match: