| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Linq; |
| | | using System.Web; |
| | | using VueWebApi.DLL.DAL; |
| | |
| | | return ProductModelDAL.SaveInventoryFile(partcode, defaultroute_code, username, json); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | #region[物料清单主列表查询] |
| | | public static ToMessage BoIventorySelect(string parentpartcode, string parentpartname,string parentpartspec,string parttype, string status, string version, string createusername, string createopendate, string createclosedate, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ProductModelDAL.BoIventorySelect(parentpartcode, parentpartname, parentpartspec, parttype, status, version, createusername, createopendate, createclosedate, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[物料清单新增时获取最大版本号] |
| | | public static ToMessage MaterielDetailedVsion(string parentpartcode) |
| | | { |
| | | return ProductModelDAL.MaterielDetailedVsion(parentpartcode); |
| | | } |
| | | #endregion |
| | | |
| | | #region[物料清单新增/编辑提交] |
| | | public static ToMessage AddUpdateBoIventory(string bomid,string parentpartcode, string parentpartname, string parentpartspec, string status, string uomcode, string quantity, string startdate, string version, string username, string opertype, List<BomSub> objs) |
| | | { |
| | | return ProductModelDAL.AddUpdateBoIventory(bomid,parentpartcode, parentpartname, parentpartspec, status, uomcode, quantity, startdate, version, username, opertype, objs); |
| | | } |
| | | #endregion |
| | | |
| | | #region[物料清单编辑显示及预览] |
| | | public static ToMessage BoIventorySelectView(string bomid) |
| | | { |
| | | return ProductModelDAL.BoIventorySelectView(bomid); |
| | | } |
| | | #endregion |
| | | |
| | | #region[物料清单删除] |
| | | public static ToMessage DeleteBoIventory(string bomid) |
| | | { |
| | | return ProductModelDAL.DeleteBoIventory(bomid); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | |
| | |
| | | #endregion |
| | | |
| | | #region[根据工序线编码查找关联设备集合] |
| | | public static ToMessage StepSelectEqpList(string partcode, string routecode, string stepcode, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage StepSelectEqpList(string partcode, string routecode, string stepcode,string steptype, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ProductModelDAL.StepSelectEqpList(partcode, routecode, stepcode, startNum, endNum, prop, order); |
| | | return ProductModelDAL.StepSelectEqpList(partcode, routecode, stepcode, steptype, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |