From 7ccf4c228b53369420efac14512482c7f2cd195b Mon Sep 17 00:00:00 2001 From: chenhaozhe <cgz@hz-kingdee.com> Date: 星期五, 22 八月 2025 08:29:59 +0800 Subject: [PATCH] 修改 生产领料单 新增语句 添加 区分 毛尖/羊毛染色 和 普通单据之间的字段 --- WebAPI/DLL/ClsKf_MateOutBill.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WebAPI/DLL/ClsKf_MateOutBill.cs b/WebAPI/DLL/ClsKf_MateOutBill.cs index 85dffab..9b07b66 100644 --- a/WebAPI/DLL/ClsKf_MateOutBill.cs +++ b/WebAPI/DLL/ClsKf_MateOutBill.cs @@ -236,12 +236,13 @@ "(HBillType,HBillSubType,HInterID,HBillNo,HDate" + ",HYear,HPeriod,HRemark,HMaker,HMakeDate" + ",HSupID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" + - ",HKeeperID,HDeptID,HExplanation,HInnerBillNo,HRedBlueFlag" + + ",HKeeperID,HDeptID,HExplanation,HInnerBillNo,HRedBlueFlag, HMainSourceBillType" + ") " + " values('" + this.BillType + "','" + this.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() + "'" + ") "; @@ -266,7 +267,7 @@ ",'" + omodel.HRemark + "'," + omodel.HProcExchInterID + ",'" + omodel.HProcExchBillNo + - "','" + "3772" + + "','" + (string.IsNullOrEmpty(omodel.HMainSourceBillType) == true ? "3772" : omodel.HMainSourceBillType) + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" + "," + omodel.HSupID.ToString() + -- Gitblit v1.9.1