From 5049d1b4b5d74092f69aa3b3e4aa2fcfa8de808b Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期二, 16 四月 2024 17:17:05 +0800 Subject: [PATCH] 1.组织架构模块,增加 用户编码 字段; (非必录) 2.网页版:供应商 增加 字段 材料类别 下拉框(主材,辅材) HMaterClass varchar(20) 网页版: 付款单 表头 增加 字段 发票编号 ,大写金额 (大写金额 在输入 金额后 自动 带出,可以网上找下 小写金额 转 大写 的 代码 ),付款事由; 网页版: 直接调拨单 增加 字段 项目编号 HProjectID (界面显示 项目编码,项目名称), 以及 可选择 工程项目 为 基础资料,表头 增加 字段 发票编号; 选择 表头 调入 调出 仓库后, 表体调入 调出 仓库为空的 也自动填充。 --- WebAPI/DLL/ClsSb_EquipDotCheckBill.cs | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/WebAPI/DLL/ClsSb_EquipDotCheckBill.cs b/WebAPI/DLL/ClsSb_EquipDotCheckBill.cs index 5afb8c8..a6b7346 100644 --- a/WebAPI/DLL/ClsSb_EquipDotCheckBill.cs +++ b/WebAPI/DLL/ClsSb_EquipDotCheckBill.cs @@ -114,12 +114,12 @@ "(HBillType,HBillSubType,HInterID,HBillNo,HDate,HMaker,HMakeDate" + ",HYear,HPeriod,HRemark,HEquipID" + ",HBeginDate,HEndDate,HPlanNo,HExplanation,HInnerBillNo" + - ",HDeptID" + + ",HDeptID,HQty,HEquipDotCheckRuleInterID" + ") " + " values('" + this.BillType + "','" + this.HBillSubType + "'," +omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "','" + omodel.HMaker + "',getdate()" + "," + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "'," + omodel.HEquipID.ToString() + ",'" + omodel.HBeginDate + "','" + omodel.HEndDate + "','" + omodel.HPlanNo + "','" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "'" + - ",'" + omodel.HDeptID + "'" + + ",'" + omodel.HDeptID + "'," + omodel.HQty + "," + omodel.HEquipDotCheckRuleInterID + ") "); //鎻掑叆瀛愯〃 foreach (Models.ClsSb_EquipDotCheckBillSub oSub in DetailColl) @@ -129,15 +129,17 @@ "HCloseMan,HEntryCloseDate,HCloseType,HRemark," + "HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney," + "HDotCheckItem,HDotCheckPart,HClaim," + - "HManagerID,HManagerNumber" + + "HManagerID,HManagerNumber,HDotCheckResult,HDotCheckItemID " + ") values(" + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HCloseMan + "','" + oSub.HEntryCloseDate + "'," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'" + - "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + + "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + ",'" + oSub.HDotCheckItem + "','" + oSub.HDotCheckPart + "','" + oSub.HClaim + - "'," + oSub.HManagerID.ToString() + ",'" + oSub.HManagerNumber + "'" + + "'," + oSub.HManagerID.ToString() + ",'" + oSub.HManagerNumber + "','" + oSub.HDotCheckResult + "'," + oSub.HDotCheckItemID + ") "); } + //鏇存柊鐐规璁″垝瀛愯〃鍏宠仈鏍囪 + oCn.RunProc("update Sb_EquipDotCheckPlanBillSub_Plan set HRelationFlag = 1 where HInterID = " + omodel.HPlanInterID + " and HEntryID = " + omodel.HPlanEntryID); // //foreach (Model.ClsSb_EquipDotCheckBillSub oSub in DetailColl) //{ -- Gitblit v1.9.1