From 617ee9f1116ff97c3d17070defd21e6d6dc6bbda Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期一, 14 四月 2025 10:08:50 +0800
Subject: [PATCH] 1.期初入库优化 2.产品托码绑定,内箱核对 3.不了优化

---
 service/Warehouse/InventoryManager.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/service/Warehouse/InventoryManager.cs b/service/Warehouse/InventoryManager.cs
index 7268bfc..66f8477 100644
--- a/service/Warehouse/InventoryManager.cs
+++ b/service/Warehouse/InventoryManager.cs
@@ -90,7 +90,7 @@
         // if (c_mes_inv_item_barcodes == null)
         //     throw new Exception("002[鏉$爜涓嶅瓨鍦紝璇锋牳瀵癸紒");
 
-        if (c_mes_inv_item_barcodes.Memo != "鏈熷垵")
+        if (c_mes_inv_item_barcodes.Memo != "鍒濇湡鐗╂枡")
             throw new Exception("002[鏉$爜涓嶆槸鏈熷垵鏉$爜锛屾棤娉曠敤鏈熷垵鍏ュ簱锛�");
 
         var wmsManager = new WmsBaseMangeer();
@@ -106,7 +106,7 @@
             transactionNo: "601" // 浜嬪姟绫诲瀷涓庡瓨鍌ㄨ繃绋嬪尮閰�
         );
         
-        if (checkResult.result < "1") 
+        if ( Convert.ToInt32(checkResult.result) < 1) 
             throw new Exception($"鍏ュ簱鏍¢獙澶辫触锛歿checkResult.strMsg}");
 
         UseTransaction(db =>

--
Gitblit v1.9.3