浏览代码

物料管理调整优化

zhengbingbing 6 年之前
父节点
当前提交
ef3abf0c20

+ 6 - 6
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/MaterialManageController.cs

@@ -60,11 +60,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
60 60
         }
61 61
 
62 62
         //获取物料
63
-        public ActionResult GetInfo(string infoid)
63
+        public ActionResult GetModel(string id)
64 64
         {
65
-            if (infoid != null && infoid.Trim() != "")
65
+            if (id != null && id.Trim() != "")
66 66
             {
67
-                Model.T_Wo_MaterialManage dModel = mmBLL.GetModel(int.Parse(infoid.Trim()));
67
+                Model.T_Wo_MaterialManage dModel = mmBLL.GetModel(int.Parse(id.Trim()));
68 68
                 if (dModel != null)
69 69
                 {
70 70
                     var dvList = dvBLL.GetModelList(" F_DictionaryFlag in ('WLPP','WLFHFFX','WLCPX') ");
@@ -90,7 +90,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
90 90
 
91 91
         //[Authority]
92 92
         //添加物料
93
-        public ActionResult AddInfo(WoMaterialManageInput input)
93
+        public ActionResult AddModel(WoMaterialManageInput input)
94 94
         {
95 95
             Model.T_Wo_MaterialManage dModel = new Model.T_Wo_MaterialManage();
96 96
             #region 验证物料编码为11位纯数字
@@ -131,7 +131,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
131 131
         }
132 132
         //[Authority]
133 133
         //编辑物料
134
-        public ActionResult EditInfo(WoMaterialManageInput input)
134
+        public ActionResult EditModel(WoMaterialManageInput input)
135 135
         {
136 136
             if (input.F_Id > 0)
137 137
             {
@@ -184,7 +184,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
184 184
         }
185 185
         //[Authority]
186 186
         //批量删除物料
187
-        public ActionResult DelInfos(string[] ids)
187
+        public ActionResult DelModels(string[] ids)
188 188
         {
189 189
             if (ids != null && ids.Length > 0)
190 190
             {