From 24897f07f87fc0c587529371d5e5185f5fda1631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E5=B0=A7?= Date: Thu, 13 Mar 2025 13:58:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E7=BC=96=E7=A8=8B=E5=8D=95?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E4=BC=A0=E9=80=92=E6=A8=A1=E5=9E=8B=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_manufacturing/models/mrp_production.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sf_manufacturing/models/mrp_production.py b/sf_manufacturing/models/mrp_production.py index 348aac03..15715be4 100644 --- a/sf_manufacturing/models/mrp_production.py +++ b/sf_manufacturing/models/mrp_production.py @@ -723,14 +723,14 @@ class MrpProduction(models.Model): 'programme_way': programme_way, # 'model_file': '' if not cnc.product_id.model_file else base64.b64encode( # cnc.product_id.model_file).decode('utf-8'), - 'glb_url': cnc.product_id.glb_url, + # 'glb_url': cnc.product_id.glb_url, 'part_name': cnc.product_id.part_name, 'part_number': cnc.product_id.part_number, 'machining_drawings': base64.b64encode(cnc.product_id.machining_drawings).decode( 'utf-8') if cnc.product_id.machining_drawings else '', 'machining_drawings_name': cnc.product_id.machining_drawings_name, 'machining_drawings_mimetype': cnc.product_id.machining_drawings_mimetype, - 'model_id': cnc.product_id.model_id, + # 'model_id': cnc.product_id.model_id, } # 打印出除了 model_file 之外的所有键值对 for key, value in res.items():