From 7e1e673037e78785dbb1b301f2ef6f44e88b0acb Mon Sep 17 00:00:00 2001
From: sjz <1240968267@qq.com>
Date: 星期六, 10 五月 2025 16:37:14 +0800
Subject: [PATCH] 最新

---
 StandardInterface/MESApplication/Controllers/SRM/MesDeliveryNoteBarcodeController.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/StandardInterface/MESApplication/Controllers/SRM/MesDeliveryNoteBarcodeController.cs b/StandardInterface/MESApplication/Controllers/SRM/MesDeliveryNoteBarcodeController.cs
index 271308f..0510f0f 100644
--- a/StandardInterface/MESApplication/Controllers/SRM/MesDeliveryNoteBarcodeController.cs
+++ b/StandardInterface/MESApplication/Controllers/SRM/MesDeliveryNoteBarcodeController.cs
@@ -34,11 +34,15 @@
         try
         {
             dynamic resultInfos = new ExpandoObject();
-            PrintBarcode save = m.Save(barcode);
+            var save = m.Save(barcode);
             resultInfos = save;
 
-            entity.Result = 1;
+            entity.Result = 0;
 
+            if (save) 
+            {
+                entity.Result = 1;
+            }
             entity.DealWith = 1;
             _manager.save(entity);
 

--
Gitblit v1.9.3