| | |
| | | } |
| | | #endregion |
| | | |
| | | #region[ERP订单下达] |
| | | public static ToMessage MarkSaveErpOrder(string erporderid,string sbid, string erpordercode, string saleordercode, string partcode, string wkshopcode, string warehousecode, string erpqty, string markqty, string ordernum, string relse_qty, string saleOrderDeliveryDate,string clerkuser, User us) |
| | | #region[ERP订单子件信息查询] |
| | | public static ToMessage ErpOrderSubItemSearch(string MoDID, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return WorkOrderDAL.MarkSaveErpOrder(erporderid, sbid, erpordercode, saleordercode, partcode, wkshopcode, warehousecode, erpqty, markqty, ordernum, relse_qty, saleOrderDeliveryDate, clerkuser, us); |
| | | return WorkOrderDAL.ErpOrderSubItemSearch(MoDID,startNum,endNum,prop,order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[ERP订单下达] |
| | | public static ToMessage MarkSaveErpOrder(string erporderid,string sbid, string erpordercode, string saleordercode, string partcode, string wkshopcode, string warehousecode, string erpqty, string markqty, string ordernum, string relse_qty, string saleOrderDeliveryDate,string clerkuser,string injectnumber,string customercode,string customername,string colour,string weight,string totalnumber, User us) |
| | | { |
| | | return WorkOrderDAL.MarkSaveErpOrder(erporderid, sbid, erpordercode, saleordercode, partcode, wkshopcode, warehousecode, erpqty, markqty, ordernum, relse_qty, saleOrderDeliveryDate, clerkuser, injectnumber, customercode, customername, colour,weight,totalnumber, us); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | public static ToMessage DeleteErpOrder(string erporderid, string erpordercode, User us) |
| | | { |
| | | return WorkOrderDAL.DeleteErpOrder(erporderid, erpordercode, us); |
| | | } |
| | | #endregion |
| | | |
| | | #region[ERP订单导出] |
| | | public static ToMessage ErpOrderExcelSearch(string erporderstus, string wkshopcode, string erpordercode, string saleordercode, string partcode, string partname, string partspec, string paydatestartdate, string paydateenddate, string paydatestartdate1, string paydateenddate2, string creatuser) |
| | | { |
| | | return WorkOrderDAL.ErpOrderExcelSearch(erporderstus, wkshopcode, erpordercode, saleordercode, partcode, partname, partspec, paydatestartdate, paydateenddate, paydatestartdate1, paydateenddate2, creatuser); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region[MES工单导出] |
| | | public static ToMessage MesOrderExcelSearch(string mesorderstus, string wkshopcode, string mesordercode, string sourceorder, string saleordercode, string ordertype, string partcode, string partname, string partspec,string creatuser, string createdate) |
| | | { |
| | | return WorkOrderDAL.MesOrderExcelSearch(mesorderstus, wkshopcode, mesordercode, sourceorder, saleordercode, ordertype, partcode, partname, partspec, creatuser, createdate); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[MES工单派发提交] |
| | | public static ToMessage MesOrderDistribution(string[] wocodelist, User us) |