From 3db477ccda04b391872cbd570b7d1c1253e1f6e0 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 23 五月 2023 14:11:00 +0800
Subject: [PATCH] 生产订单备注字段改成白坯要求,底部备注下推流转卡的时候带到流转卡底部备注中去 生产订单 已经下推过  流转卡或 生产入库单 或生产领料单 后,就不能删除; 生产资源新增模块增加   负责人 HEmpID int 字段(gy_Employee) 非必录入,打印的时候打印出来 生产订单列表里增加关闭和反关闭按钮(在生产订单编辑模块里有这个功能,将一样的功能复制出来),列表显示关闭状态 工序流转卡维护列表增加当前工序过滤条件(下拉框形式,取值取工序列表) 网格选中行, 背景行 浅蓝色 显示;(优先改  生产订单列表,流转卡列表,出站单列表,进站单列表)(最好改JS底层方法)

---
 WebAPI/Controllers/基础资料/基础资料/Gy_CustLocationController.cs |   50 --------------------------------------------------
 1 files changed, 0 insertions(+), 50 deletions(-)

diff --git "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_CustLocationController.cs" "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_CustLocationController.cs"
index 60b9271..12c083a 100644
--- "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_CustLocationController.cs"
+++ "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_CustLocationController.cs"
@@ -342,55 +342,5 @@
             }
         }
         #endregion
-
-        #region 浜よ揣鍦扮偣 閲戣澏鍚屾
-        [Route("Gy_CustLocation/SaveGy_CustLocationListApi")]
-        [HttpPost]
-        public object SaveGy_CustLocationListApi([FromBody] JObject msg)
-        {
-            try
-            {
-                var _value = msg["model"].ToString();
-                SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
-                ListModels oListModels = new ListModels();
-                List<Model.ClsGy_CustLocation_Model> lsmain = new List<Model.ClsGy_CustLocation_Model>();
-                lsmain = oListModels.getObjectByJson_Gy_CustLocation(_value);
-                string sql = string.Empty;
-                //淇濆瓨
-                oCN.BeginTran();
-                sql = $"delete Gy_CustLocation where HItemID = {lsmain[0].HItemID}";
-                oCN.RunProc(sql);
-                sql = "set identity_insert Gy_CustLocation on";
-                oCN.RunProc(sql);
-
-                oCN.RunProc($@"insert into Gy_CustLocation(HItemID,HNumber,HName ,HShortNumber,HParentID ,HLevel 
-                                ,HEndFla,HStopflag,HRemark ,HHelpCode ,HUseFlag
-                                 ,HMakeTime ,HMakeEmp ,HCheckEmp ,HCheckTime ,HModifyEmp 
-                                 ,HModifyTime ,HStopEmp ,HStopTime ,HUSEORGID,HCREATEORGID)
-                  values({lsmain[0].HItemID},'{lsmain[0].HNumber}','{lsmain[0].HName}','{lsmain[0].HShortNumber}',{lsmain[0].HParentID},{lsmain[0].HLevel}
-           ,{Convert.ToString(lsmain[0].HEndFlag ? 1 : 0)},{Convert.ToString(lsmain[0].HStopflag ? 1 : 0) },'{lsmain[0].HRemark}','{lsmain[0].HHelpCode}','{lsmain[0].HUseFlag}'
-            ,'{lsmain[0].HMakeTime}','{lsmain[0].HMakeEmp}','{lsmain[0].HCheckEmp}','{lsmain[0].HCheckTime}','{lsmain[0].HModifyEmp}'
-            ,'{lsmain[0].HModifyTime}','{lsmain[0].HStopEmp}',null,{lsmain[0].HUSEORGID},{lsmain[0].HCREATEORGID})", ref DBUtility.ClsPub.sExeReturnInfo);
-                //淇敼涓婄骇涓洪潪鏈骇浠g爜
-                sql = "set identity_insert Gy_CustLocation off";
-                oCN.RunProc(sql);
-                oCN.Commit();
-
-                objJsonResult.code = "1";
-                objJsonResult.count = 1;
-                objJsonResult.Message = "淇濆瓨鎴愬姛锛�";
-                objJsonResult.data = 1;
-                return objJsonResult;
-            }
-            catch (Exception e)
-            {
-                objJsonResult.code = "0";
-                objJsonResult.count = 0;
-                objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString();
-                objJsonResult.data = 1;
-                return objJsonResult;
-            }
-        }
-        #endregion
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1