From b210dfbde4b9a91fec598f203acaf6855d3a9acf Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期五, 27 九月 2024 16:21:39 +0800
Subject: [PATCH] 取样单增加增加下拉框字段  送测类型  首件,实验,巡检  TestType  varchar(50) 设备工艺参数趋势分析图,增加下拉框类型(手动输入,设备采集),人工输入:取设备工艺参数点检 模具保养计划修改时增加子表保存

---
 WebAPI/DLL/ClsKf_MateOutBill.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/WebAPI/DLL/ClsKf_MateOutBill.cs b/WebAPI/DLL/ClsKf_MateOutBill.cs
index 521d125..85dffab 100644
--- a/WebAPI/DLL/ClsKf_MateOutBill.cs
+++ b/WebAPI/DLL/ClsKf_MateOutBill.cs
@@ -67,7 +67,7 @@
                 Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter();
                 string sErrMsg = "";
                 oSystemParameter.ShowBill(ref sErrMsg);
-                if (oSystemParameter.omodel.WMS_CampanyName == "")          //涔斾竴瀹㈡埛
+                if (true )          //涔斾竴瀹㈡埛
                 { 
                     mainSql = "UpDate Kf_ICStockBillMain set " +
                         " HBillNo='" + omodel.HBillNo + 
@@ -144,7 +144,7 @@
                       "," + oSub.HSeOrderInterID.ToString() + "," + oSub.HSeOrderEntryID.ToString() + ",'" + oSub.HSeOrderBillNo + "'" +
                       ") ";
 
-                    if (oSystemParameter.omodel.WMS_CampanyName == "")          //涔斾竴瀹㈡埛
+                    if (true)          //涔斾竴瀹㈡埛
                     {
                         subSql = "Insert into Kf_ICStockBillSub" +
                             "(HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney,HMaterID,HPropertyID,HSecUnitID,HSecUnitRate,HUnitID,HQtyMust" +
@@ -249,7 +249,7 @@
                 Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter();
                 string sErrMsg = "";
                 oSystemParameter.ShowBill(ref sErrMsg);
-                if (oSystemParameter.omodel.WMS_CampanyName == "")          //涔斾竴瀹㈡埛
+                if (true)          //涔斾竴瀹㈡埛
                 {
                     mainSql = "Insert Into Kf_ICStockBillMain" +
                         "(HBillType,HBillSubType,HInterID,HBillNo,HDate,HYear,HPeriod,HRemark,HMainSourceInterID,HMainSourceBillNo,HMainSourceBillType,HMaker,HMakeDate,HSupID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID,HKeeperID,HDeptID,HExplanation,HInnerBillNo,HRedBlueFlag" +
@@ -326,7 +326,7 @@
                       "," + oSub.HSeOrderInterID.ToString() + "," + oSub.HSeOrderEntryID.ToString() + ",'" + oSub.HSeOrderBillNo + "'" +
                       ") ";
 
-                    if (oSystemParameter.omodel.WMS_CampanyName == "")              //涔斾竴瀹㈡埛
+                    if (true)              //涔斾竴瀹㈡埛
                     {
                         subSql = "Insert into Kf_ICStockBillSub" +
                             "(HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney,HMaterID,HPropertyID,HSecUnitID,HSecUnitRate,HUnitID,HQtyMust" +
@@ -451,7 +451,7 @@
                 Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter();
                 string sErrMsg = "";
                 oSystemParameter.ShowBill(ref sErrMsg);
-                if (oSystemParameter.omodel.WMS_CampanyName == "")              //涔斾竴瀹㈡埛
+                if (true)              //涔斾竴瀹㈡埛
                 {
                     omodel.HICMOInterID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HICMOInterID"]);
                     omodel.HICMOEntryID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HICMOEntryID"]);
@@ -523,7 +523,7 @@
                     oSub.HSeOrderEntryID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HSeOrderEntryID"]);
                     oSub.HSeOrderBillNo = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HSeOrderBillNo"]);
 
-                    if (oSystemParameter.omodel.WMS_CampanyName == "")              //涔斾竴瀹㈡埛
+                    if (true)              //涔斾竴瀹㈡埛
                     {
                         oSub.HRate = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[0]["HRate"]);
                     }

--
Gitblit v1.9.1