From e26f91635aa0343f6f5c201c95d20141dc465ed3 Mon Sep 17 00:00:00 2001 From: YangYuGang <1378265336@qq.com> Date: 星期一, 28 四月 2025 09:49:40 +0800 Subject: [PATCH] 收货单新增行库位修改 --- Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs b/Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs index 5546b7f..e8b4682 100644 --- a/Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs +++ b/Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs @@ -109,12 +109,12 @@ snLst.Add(new BIZ_WMS_TRANSFER_SN() { AUTH_ORG = warehouse.OrgCode, - BILLCODE = input.BillCode, + ORDER_NO = input.BillCode, SN = item.SN, STATUS = WMS_ITEM.STATUSs.WaitIn.GetValue(), ITEM_CODE = snData.Where(i => i.SN == item.SN).FirstOrDefault()?.ITEM_CODE, QTY = item.Qty, - BILLLINE = dicitemcode[item.ItemCode] + ORDER_LINE = dicitemcode[item.ItemCode] }); } } @@ -209,7 +209,7 @@ if (snLst.Any()) { - var history = db.Queryable<BIZ_WMS_TRANSFER_SN>().Where(i => i.BILLCODE == input.BillCode).ToList(); + var history = db.Queryable<BIZ_WMS_TRANSFER_SN>().Where(i => i.ORDER_NO == input.BillCode).ToList(); if (history.Any()) { db.Deleteable(history).ExecuteCommand(); -- Gitblit v1.9.3