| | |
| | | } |
| | | #endregion |
| | | |
| | | #region[MES工单新增编辑时,根据产品获取Bom物料清单] |
| | | public static ToMessage MesOrderAddUpdateBomVison(string partnumber) |
| | | { |
| | | return WorkOrderDAL.MesOrderAddUpdateBomVison(partnumber); |
| | | } |
| | | #endregion |
| | | |
| | | #region[MES工单新增、编辑提交] |
| | | public static ToMessage AddUpdateMesOrder(string OperType, WorkList json, User us) |
| | | { |
| | |
| | | #endregion |
| | | |
| | | #region[MES工单查找历史引用最新工序信息] |
| | | public static ToMessage MesOrderNewStepContent(string wkshopcode, string partcode, User us) |
| | | public static ToMessage MesOrderNewStepContent(string wkshopcode,string routecode, string partcode, User us) |
| | | { |
| | | return WorkOrderDAL.MesOrderNewStepContent(wkshopcode, partcode, us); |
| | | return WorkOrderDAL.MesOrderNewStepContent(wkshopcode, routecode, partcode, us); |
| | | } |
| | | #endregion |
| | | |
| | | #region[MES工单查看工单SOP] |
| | | public static ToMessage MesOrderSopSearch(string wocode, string materielcode) |
| | | { |
| | | return WorkOrderDAL.MesOrderSopSearch(wocode, materielcode); |
| | | } |
| | | #endregion |
| | | |
| | | #region[MES工单查看工艺SOP] |
| | | public static ToMessage MesOrderProcessSopSearch(string materielcode, string routecode, string stepcode, User us) |
| | | { |
| | | return WorkOrderDAL.MesOrderProcessSopSearch(materielcode, routecode, stepcode,us); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | #endregion |
| | | |
| | | #region [生产开报工:报工/外协(发料/收料)时条件判断及数据返回接口] |
| | | public static ToMessage MesOrderStepStart(string OperType, string SelectType, string wocode, string stepcode) |
| | | public static ToMessage MesOrderStepStart(string OperType, string SelectType, string wocode, string stepcode,User us) |
| | | { |
| | | return WorkOrderDAL.MesOrderStepStart(OperType, SelectType, wocode, stepcode); |
| | | return WorkOrderDAL.MesOrderStepStart(OperType, SelectType, wocode, stepcode, us); |
| | | } |
| | | #endregion |
| | | |
| | | #region [生产开报工:报工/外协(发料/收料)时获取设备/外协供应商数据返回接口] |
| | | public static ToMessage MesOrderStepDeviceCusstomer(string OperType, string wocode, string stepcode, User us) |
| | | { |
| | | return WorkOrderDAL.MesOrderStepDeviceCusstomer(OperType, wocode, stepcode, us); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | #endregion |
| | | |
| | | #region[生产开报工,收料提交] |
| | | public static ToMessage SavaMesOrderStepIn(string mesordercode, string partcode, string stepseq, string stepcode, string wxcode, string inbarcode, string inuser, string taskqty, string sqty, List<ReportDefectList> defectobjs, string remarks, User us) |
| | | public static ToMessage SavaMesOrderStepIn(string mesordercode, string partcode, string stepseq, string stepcode,string stepprice, string wxcode, string inbarcode, string inuser, string taskqty, string sqty, List<ReportDefectList> defectobjs, string remarks, User us) |
| | | { |
| | | return WorkOrderDAL.SavaMesOrderStepIn(mesordercode, partcode, stepseq, stepcode, wxcode, inbarcode, inuser, taskqty, sqty, defectobjs, remarks, us); |
| | | return WorkOrderDAL.SavaMesOrderStepIn(mesordercode, partcode, stepseq, stepcode, stepprice, wxcode, inbarcode, inuser, taskqty, sqty, defectobjs, remarks, us); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | return WorkOrderDAL.MesOrderStepReportVerifySeave(us,json); |
| | | } |
| | | #endregion |
| | | |
| | | #region[生产执行,报工弃审数据提交] |
| | | public static ToMessage MesOrderStepReportNotVerifySeave(User us, string id, string steptype) |
| | | { |
| | | return WorkOrderDAL.MesOrderStepReportNotVerifySeave(us, id, steptype); |
| | | } |
| | | #endregion |
| | | } |
| | | } |