From 4d4e3ad417beccd49f1fe61a158bb1bc3a3537c2 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期二, 27 十二月 2022 15:18:17 +0800
Subject: [PATCH] 采购订单,erp同步接口开发

---
 VueWebApi/Controllers/ProductModelController.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/VueWebApi/Controllers/ProductModelController.cs b/VueWebApi/Controllers/ProductModelController.cs
index 6cf3e7f..c9759d5 100644
--- a/VueWebApi/Controllers/ProductModelController.cs
+++ b/VueWebApi/Controllers/ProductModelController.cs
@@ -17,7 +17,7 @@
 
     [RoutePrefix(prefix: "api/ProductModel")]
     [ControllerGroup("鍒堕�犳ā鍨�", "鍦ㄧ嚎鎺ュ彛")]
-    //[ChannelActionFilter]
+    [ChannelActionFilter]
     public class ProductModelController : ApiController
     {
         //瀹氫箟鍏ㄥ眬淇℃伅杩斿洖鍙橀噺
@@ -381,10 +381,10 @@
             string status = obj["status"].ToString();//鍚敤鐘舵��
             string uomcode = obj["uomcode"].ToString(); //璁¢噺鍗曚綅缂栫爜
             string quantity = obj["quantity"].ToString(); //鍩虹鏁伴噺
-            string startdate = obj["startdate"].ToString(); //鍩虹鏁伴噺
-            string version = obj["version"].ToString(); //鍩虹鏁伴噺
-            string worklist = obj["worklist"].ToString(); //鍩虹鏁伴噺
-            string opertype = obj["opertype"].ToString(); //鍩虹鏁伴噺
+            string startdate = obj["startdate"].ToString(); //鍚敤鏃ユ湡
+            string version = obj["version"].ToString(); //鐗堟湰鍙�
+            string worklist = obj["worklist"].ToString(); //鎻愪氦鏁版嵁
+            string opertype = obj["opertype"].ToString(); //鎻愪氦绫诲瀷
             string username = HttpContext.Current.Request.Cookies["admin"].Value.ToString(); //鎿嶄綔浜哄憳
             List<BomSub> objs = Newtonsoft.Json.JsonConvert.DeserializeObject<List<BomSub>>(worklist);
             mes = ProductModelBLL.AddUpdateBoIventory(bomid,parentpartcode, parentpartname, parentpartspec, status, uomcode, quantity, startdate, version, username, opertype, objs);

--
Gitblit v1.9.3