修复快递订单模型路径字段问题

This commit is contained in:
jinling.yang
2024-04-22 15:46:43 +08:00
parent c0db402f5e
commit 690a66b6a1

View File

@@ -292,7 +292,7 @@ class QuickEasyOrder(models.Model):
'model_width': order.model_width,
'model_height': order.model_height,
'model_volume': order.model_volume,
'color_model_path': '/tmp/' + str(model_code) + ".step",
'model_color_path': '/tmp/' + str(model_code) + ".step",
'model_order_no': '%s-%s' % (order.name, 1),
'remark': '订单号:%s 客户:%s' % (order.name, order.customer_id.name)
}