From fcaf49096186bac8307ec0d95c64083805656f68 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期二, 26 八月 2025 15:04:46 +0800
Subject: [PATCH] 华远:PNL布局信息导入

---
 DAL/仓库管理/ClsKf_SellOutBillForLayUI.cs |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git "a/DAL/\344\273\223\345\272\223\347\256\241\347\220\206/ClsKf_SellOutBillForLayUI.cs" "b/DAL/\344\273\223\345\272\223\347\256\241\347\220\206/ClsKf_SellOutBillForLayUI.cs"
index b9f9865..b133f98 100644
--- "a/DAL/\344\273\223\345\272\223\347\256\241\347\220\206/ClsKf_SellOutBillForLayUI.cs"
+++ "b/DAL/\344\273\223\345\272\223\347\256\241\347\220\206/ClsKf_SellOutBillForLayUI.cs"
@@ -220,7 +220,7 @@
                      ",HSPID,HSCWHID,HSCSPID,HSPGroupID,HBatchNo,HPOOrderInterID,HPOOrderEntryID,HPOOrderBillNo" +
                      ",HQty_Full,HQty_Empty,HQty_Back,HCostPrice,HCostMoney,HSalePrice" +
                      ",HPropertyID,HSecUnitID,HSecUnitRate" +
-                     ",HEngineNum,HUnderPanNum,HLeaveFactCard" +
+                     ",HEngineNum,HUnderPanNum,HLeaveFactCard,HReqBuyQty,HReqOutQty,HCurrentInventory" +
                      ") values(" +
                      "" + omodel.HInterID.ToString() + "" +
                      "," + (HEntryID++) + "" +
@@ -275,6 +275,9 @@
                      ",'" + oSub.HEngineNum + "'" +
                      ",'" + oSub.HUnderPanNum + "'" +
                      ",'" + oSub.HLeaveFactCard + "'" +
+                     "," + oSub.HReqBuyQty +
+                     "," + oSub.HReqOutQty +
+                     "," + oSub.HCurrentInventory +
                      ") ";
 
                     oCn.RunProc(subSql);
@@ -385,7 +388,7 @@
                     "," + omodel.HYear.ToString() + "" +
                     "," + omodel.HPeriod.ToString() + "" +
                     ",'" + this.BillType + "'" +
-                    ",'" + this.HBillSubType + "'" +
+                    ",'" + omodel.HBillSubType + "'" +
                     ",'" + omodel.HRemark + "'" +
                     ",'" + omodel.HMaker + "'" +
                     "," + "getdate()" + "" +
@@ -465,7 +468,7 @@
                       ",HSPID,HSCWHID,HSCSPID,HSPGroupID,HBatchNo,HPOOrderInterID,HPOOrderEntryID,HPOOrderBillNo" +
                       ",HQty_Full,HQty_Empty,HQty_Back,HCostPrice,HCostMoney,HSalePrice" +
                       ",HPropertyID,HSecUnitID,HSecUnitRate" +
-                      ",HEngineNum,HUnderPanNum,HLeaveFactCard" +
+                      ",HEngineNum,HUnderPanNum,HLeaveFactCard,HReqBuyQty,HReqOutQty,HCurrentInventory" +
                       ") values(" +
                       "" + omodel.HInterID.ToString() + "" +
                       "," + (HEntryID++) + "" +
@@ -520,6 +523,9 @@
                       ",'" + oSub.HEngineNum + "'" +
                       ",'" + oSub.HUnderPanNum + "'" +
                       ",'" + oSub.HLeaveFactCard + "'" +
+                      "," + oSub.HReqBuyQty +
+                      "," + oSub.HReqOutQty + 
+                      "," + oSub.HCurrentInventory +
                       ") ";
 
                     oCn.RunProc(subSql);

--
Gitblit v1.9.1