Exemplo n.º 1
0
        private void DoBlankOut()
        {
            List <Bills>     selectedList     = GetSelectedBills();
            StockBillService stockBillService = new StockBillService();

            foreach (Bills bill in selectedList)
            {
                Bills b = stockBillService.FindBill(bill.ID);
                stockBillService.BlankOutBill(b, "作废的票据");
            }

            this.DoReset();
        }
Exemplo n.º 2
0
        public void DoBlankOut()
        {
            List <StockBill> selectedList = GetSelectedStockBills();
            StockBillService service      = new StockBillService();

            foreach (StockBill bill in selectedList)
            {
                StockBill b = service.FindBill(bill.ID);
                service.BlankOutBill(b, "");
            }

            this.DoReset();
        }