From a8fcfbb5e5ed9a07b1a30ef2d7ef9d407e9b04dd Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期三, 02 四月 2025 21:44:54 +0800
Subject: [PATCH] 更新ASN实体

---
 Tiger.Business.WMS/Transaction/ReprintLabel.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Tiger.Business.WMS/Transaction/ReprintLabel.cs b/Tiger.Business.WMS/Transaction/ReprintLabel.cs
index 45eb8c4..143253e 100644
--- a/Tiger.Business.WMS/Transaction/ReprintLabel.cs
+++ b/Tiger.Business.WMS/Transaction/ReprintLabel.cs
@@ -199,7 +199,7 @@
                                 ITEM_CODE = inv.Barcode.ItemCode,
                                 AUTH_ORG = input.AuthOption.CurOrg,
                                 STATUS = WMS_ITEM.STATUSs.WaitIn.GetValue(),
-                                QTY = inv.Barcode.Qty.ToDecimal(),
+                                QTY = inv.Barcode.Qty.ToDouble(),
                                 PROD_DATE = inv.Barcode.DateCode.ToDateTime(),
                                 ERP_WH = CurScanShelf.WarehouseCode,
                                 UNIT = inv.Barcode.Unit,
@@ -212,7 +212,7 @@
                                 SN = inv.Barcode.SN,
                                 AUTH_ORG = input.AuthOption.CurOrg,
                                 ITEM_CODE = inv.Barcode.ItemCode,
-                                QTY = inv.Barcode.Qty.ToDecimal(),
+                                QTY = inv.Barcode.Qty.ToDouble(),
                                 ERP_WH = CurScanShelf.WarehouseCode,
                                 UNIT = inv.Barcode.Unit,
                             };
@@ -235,11 +235,11 @@
                         }
                         else if (inv.Items.Count == 1)
                         {
-                            inv.Items.First().QTY = inv.Barcode.Qty.ToDecimal();
+                            inv.Items.First().QTY = inv.Barcode.Qty.ToDouble();
                             inv.Items.First().ERP_WH = CurScanShelf.WarehouseCode;
                             inv.Items.First().AUTH_ORG = input.AuthOption.CurOrg;
 
-                            inv.Packages.First().QTY = inv.Barcode.Qty.ToDecimal();
+                            inv.Packages.First().QTY = inv.Barcode.Qty.ToDouble();
                             inv.Packages.First().ERP_WH = CurScanShelf.WarehouseCode;
                             inv.Packages.First().AUTH_ORG = input.AuthOption.CurOrg;
                         }

--
Gitblit v1.9.3