From b9ac90e91d4de079acf33f379674e4e448e6baf3 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期二, 26 八月 2025 11:07:50 +0800
Subject: [PATCH] 修改  生产领料单 递入 HMainSourceBillType 为 HBillSubType

---
 WebAPI/DLL/ClsKf_MateOutBill.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/WebAPI/DLL/ClsKf_MateOutBill.cs b/WebAPI/DLL/ClsKf_MateOutBill.cs
index 9b07b66..028311c 100644
--- a/WebAPI/DLL/ClsKf_MateOutBill.cs
+++ b/WebAPI/DLL/ClsKf_MateOutBill.cs
@@ -236,13 +236,12 @@
                 "(HBillType,HBillSubType,HInterID,HBillNo,HDate" +
                 ",HYear,HPeriod,HRemark,HMaker,HMakeDate" +
                 ",HSupID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" +
-                ",HKeeperID,HDeptID,HExplanation,HInnerBillNo,HRedBlueFlag, HMainSourceBillType" +
+                ",HKeeperID,HDeptID,HExplanation,HInnerBillNo,HRedBlueFlag" +
                 ") " +
-                " values('" + this.BillType + "','" + this.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "'" +
+                " values('" + this.BillType + "','" + omodel.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "'" +
                 ", " + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" +
                 ", " + omodel.HSupID.ToString() + "," + omodel.HWHID.ToString() + "," + omodel.HSCWHID.ToString() + "," + omodel.HEmpID.ToString() + "," + omodel.HManagerID.ToString() + "," + omodel.HSecManagerID.ToString() +
                 ", " + omodel.HKeeperID.ToString() + "," + omodel.HDeptID.ToString() + ",'" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "'," + DBUtility.ClsPub.BoolToString(omodel.HRedBlueFlag) +
-                ",'" + omodel.HMainSourceBillType.ToString() + "'" + 
                 ") ";
 
 
@@ -258,7 +257,7 @@
                         ",HMachineSpeed,HWaterRush,HWaterQty,HWaterRate) " +
                         " values(" +
                         "'" + this.BillType +
-                        "','" + this.HBillSubType +
+                        "','" + omodel.HBillSubType +
                         "'," + omodel.HInterID.ToString() +
                         ",'" + omodel.HBillNo +
                         "','" + omodel.HDate +

--
Gitblit v1.9.1