public List <MMS_PurchaseDetail> GetDetailList(string MaterialCode)
 {
     return(dao.GetDetailList(MaterialCode));
 }