public ActionResult NoticeBill(string BillNo = null, string Mode = null, string IsCopy = null) { NoticeBill NB_Bl = new NoticeBill(); List <NoticeBillModel> modellist = NB_Bl.FindSuitableData("良"); FeeBillModelRef model = new FeeBillModelRef(); if (!string.IsNullOrEmpty(BillNo)) { //草稿箱功能(暂时还没有) if (BillNo.Contains("CK")) { //暂时没处理 } //编辑功能 else if (BillNo.Contains("FT")) { NoticeBillModel NoticeModel = NB_Bl.GetBillModel(BillNo); model.ModelString = Public.JsonSerializeHelper.SerializeToJson(NoticeModel); model.BillNo = NoticeModel.BillNo; model.PersonInfo = NoticeModel.PersonInfo; model.Owner = NoticeModel.Owner; model.WorkNumber = NoticeModel.WorkNumber; model.Remark = NoticeModel.Remark; model.TransactionDate = NoticeModel.TransactionDate; if (!string.IsNullOrEmpty(IsCopy)) { model.IsCopy = 1; //复制即累加次数 Dictionary <string, string> dic = new Dictionary <string, string>(); dic.Add("CopyCount", (model.CopyCount + 1).ToString()); var status = NB_Bl.PublicEditMethod(model.BillNo, dic); } } } model.PageName = "Notice"; model.CommitType = CommitType.付款通知书; return(View(model)); }