From 16750ee6e5ebf3a4815fdb96b7dfa0a35664ef46 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 11 三月 2025 09:58:12 +0800 Subject: [PATCH] 雅达-简化收货单接口参数处理 --- 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