Пример #1
0
        protected void btnPrintDoc_click()
        {
            string orderNo = GetSelectedRowId();
            string docs    = this.hdnOrder.Value;

            docs = docs.EndsWith(",")?docs.Substring(0, docs.LastIndexOf(',')):docs;

            if (!string.IsNullOrEmpty(orderNo) && (!string.IsNullOrEmpty(docs)))
            {
                _pack.RePrintDocs(orderNo, docs);
            }
        }
Пример #2
0
 public void RePrintDoc(PackRequest req)
 {
     _packingDAO.RePrintDocs(req.OrderNo, req.Docs);
 }