From 814de9c9017b75c119e458044251767413a3abff Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期六, 08 六月 2024 13:24:49 +0800 Subject: [PATCH] 1.会计期间列表增加结账按钮,已经结账的不能审核,反审核,删除 2.会计期间结账后,把结账的出入库数据插入期初库存表 3.增加期初库存报表 --- WebAPI/Controllers/QC_ManagementController.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/WebAPI/Controllers/QC_ManagementController.cs b/WebAPI/Controllers/QC_ManagementController.cs index ab87089..72a832c 100644 --- a/WebAPI/Controllers/QC_ManagementController.cs +++ b/WebAPI/Controllers/QC_ManagementController.cs @@ -126,12 +126,12 @@ SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); if (sWhere == null || sWhere.Equals("")) { - ds = oCN.RunProcReturn("select * from h_v_Gy_QCCheckProjectList order by hmainid desc ", "h_v_Gy_QCCheckProjectList"); + ds = oCN.RunProcReturn("select * from h_v_Gy_QCCheckProjectList order by 鏃ユ湡 desc ", "h_v_Gy_QCCheckProjectList"); } else { string sql1 = "select * from h_v_Gy_QCCheckProjectList where 1=1"; - string sql = sql1 + sWhere+ " order by hmainid desc "; + string sql = sql1 + sWhere+ " order by 鏃ユ湡 desc "; ds = oCN.RunProcReturn(sql, "h_v_Gy_QCCheckProjectList"); } } @@ -1066,6 +1066,8 @@ oItemSub.HRelationQty = 0; oItemSub.HRelationMoney = 0; oItemSub.HCloseMan = ""; + oItemSub.HDestructInspect = Convert.ToInt32(oItemSub.HDestructInspect); + oItemSub.HKeyInspect = Convert.ToInt32(oItemSub.HKeyInspect); oBill.DetailColl.Add(oItemSub); } -- Gitblit v1.9.1