| | |
| | | } |
| | | #endregion |
| | | |
| | | #region[单位下拉列表查询] |
| | | public static ToMessage UomSelect() |
| | | { |
| | | return ProductModelDAL.UomSelect(); |
| | | } |
| | | #endregion |
| | | |
| | | #region[存货档案查询] |
| | | public static ToMessage InventoryFileSelect(string partcode, string partname, string partspec, string stocktypecode, string materialtypecode, string storehousecode, int startNum, int endNum, string prop, string order) |
| | | { |
| | |
| | | #endregion |
| | | |
| | | #region[存货档案关联工艺路线提交] |
| | | public static ToMessage SaveInventoryFile(string partcode,string username, List<ObjectData> json) |
| | | public static ToMessage SaveInventoryFile(string partcode,string defaultroute_code, string username, List<ObjectData> json) |
| | | { |
| | | return ProductModelDAL.SaveInventoryFile(partcode, username, json); |
| | | return ProductModelDAL.SaveInventoryFile(partcode, defaultroute_code, username, json); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | |
| | | #region[工序下拉查询接口] |
| | | public static ToMessage StepSelect() |
| | | { |
| | | return ProductModelDAL.StepSelect(); |
| | | } |
| | | #endregion |
| | | |
| | | #region[工艺路线查询] |
| | | public static ToMessage RouteSearch(string routecode, string routename, string description, string createuser, int startNum, int endNum, string prop, string order) |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region[根据工序线编码查找关联设备集合] |
| | | public static ToMessage StepSelectEqp(string partcode, string routecode, string stepcode, int startNum, int endNum, string prop, string order) |
| | | #region[根据工序线编码查找关联设备下拉框集合] |
| | | public static ToMessage StepSelectEqp(string stepcode) |
| | | { |
| | | return ProductModelDAL.StepSelectEqp(partcode, routecode, stepcode, startNum, endNum, prop, order); |
| | | return ProductModelDAL.StepSelectEqp(stepcode); |
| | | } |
| | | #endregion |
| | | |
| | | #region[根据工序线编码查找关联设备集合] |
| | | public static ToMessage StepSelectEqpList(string partcode, string routecode, string stepcode, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ProductModelDAL.StepSelectEqpList(partcode, routecode, stepcode, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[节拍工价查询] |
| | | public static ToMessage BeatRateSearch(string partcode, string partname, string partspec, string routecode, string stepcode, string eqpcode, string eqpname, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage BeatRateSearch(string partcode,string routecode, string stepcode, string eqpcode,int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ProductModelDAL.BeatRateSearch(partcode, partname, partspec, routecode, stepcode, eqpcode, eqpname, startNum, endNum, prop, order); |
| | | return ProductModelDAL.BeatRateSearch(partcode,routecode, stepcode, eqpcode, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[节拍工价提交] |
| | | public static ToMessage SaveBeatRate(string partcode, string routecode, string stepcode, string eqpcode, string wkshopcode, string eqp_value, string stand_value, string cavity_qty, string unprice, string username) |
| | | { |
| | | return ProductModelDAL.SaveBeatRate(partcode, routecode, stepcode, eqpcode, wkshopcode, eqp_value, stand_value, cavity_qty, unprice, username); |
| | | } |
| | | #endregion |
| | | |
| | | #region[节拍工价删除] |
| | | public static ToMessage DeleteBeatRate(string partcode, string routecode, string stepcode, string eqpcode) |
| | | { |
| | | return ProductModelDAL.SaveBeatRate(partcode,routecode,stepcode,eqpcode); |
| | | } |
| | | #endregion |
| | | } |