Kaynağa Gözat

物料管理调整优化

zhengbingbing 6 yıl önce
ebeveyn
işleme
ef3abf0c20

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

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
                 if (dModel != null)
68
                 if (dModel != null)
69
                 {
69
                 {
70
                     var dvList = dvBLL.GetModelList(" F_DictionaryFlag in ('WLPP','WLFHFFX','WLCPX') ");
70
                     var dvList = dvBLL.GetModelList(" F_DictionaryFlag in ('WLPP','WLFHFFX','WLCPX') ");
90
 
90
 
91
         //[Authority]
91
         //[Authority]
92
         //添加物料
92
         //添加物料
93
-        public ActionResult AddInfo(WoMaterialManageInput input)
93
+        public ActionResult AddModel(WoMaterialManageInput input)
94
         {
94
         {
95
             Model.T_Wo_MaterialManage dModel = new Model.T_Wo_MaterialManage();
95
             Model.T_Wo_MaterialManage dModel = new Model.T_Wo_MaterialManage();
96
             #region 验证物料编码为11位纯数字
96
             #region 验证物料编码为11位纯数字
131
         }
131
         }
132
         //[Authority]
132
         //[Authority]
133
         //编辑物料
133
         //编辑物料
134
-        public ActionResult EditInfo(WoMaterialManageInput input)
134
+        public ActionResult EditModel(WoMaterialManageInput input)
135
         {
135
         {
136
             if (input.F_Id > 0)
136
             if (input.F_Id > 0)
137
             {
137
             {
184
         }
184
         }
185
         //[Authority]
185
         //[Authority]
186
         //批量删除物料
186
         //批量删除物料
187
-        public ActionResult DelInfos(string[] ids)
187
+        public ActionResult DelModels(string[] ids)
188
         {
188
         {
189
             if (ids != null && ids.Length > 0)
189
             if (ids != null && ids.Length > 0)
190
             {
190
             {