From 28137093fdd7ab9ddd4edfe1774a6f7024166730 Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期二, 03 十二月 2024 21:27:57 +0800
Subject: [PATCH] Merge branch 'master' of http://47.115.28.255:8110/r/TigerClouds-Tech/Server/TigerApi6_2024

---
 Tiger.Business.MES/BIZ/BizPrintInstoreDoc.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/Tiger.Business.MES/BIZ/BizPrintInstoreDoc.cs b/Tiger.Business.MES/BIZ/BizPrintInstoreDoc.cs
index 3089f56..c9eedba 100644
--- a/Tiger.Business.MES/BIZ/BizPrintInstoreDoc.cs
+++ b/Tiger.Business.MES/BIZ/BizPrintInstoreDoc.cs
@@ -32,7 +32,7 @@
             var result = new ApiAction<List<BAS_LABEL_TEMP>>();
             try
             {
-
+                List<BAS_LABEL_TEMP> labels = new List<BAS_LABEL_TEMP>();
                 int i = 1;
                 int j = 1;
                 foreach (var p in input.printJsons)
@@ -75,7 +75,7 @@
                             }
                             if (item.VAR_NAME.StartsWith("SapCode"))
                             {
-                                item.Value = v.ITEM_CODE;
+                                item.Value = v.SapCode;
                             }
                             if (item.VAR_NAME.StartsWith("Seq"))
                             {
@@ -96,8 +96,10 @@
                             item.Value = DateTime.Now.ToString("yyyyy.MM.dd");
                         }
                     }
+                    labels.Add(label);
                     j++;
-                } 
+                }
+                result.Data = labels;
             }
             catch (Exception ex)
             {

--
Gitblit v1.9.3