增加传输文件列表返回

This commit is contained in:
胡尧
2025-04-25 14:04:48 +08:00
parent b7128ba81a
commit df53989f22
4 changed files with 11 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ class MaintenancePrinting(models.Model):
# 切换成A4打印机
try:
self.env['jikimo.printing'].print_qr_code(self.id)
self.env['jikimo.printing'].print_qr_code(self.MTcode)
except Exception as e:
raise UserError(f"打印失败: {str(e)}")