Example #1
0
        /// <summary>
        /// 根据全局变量查询并设置上一单界面信息
        /// </summary>
        private void setLastOrder()
        {
            DataRow row = orderService.getOrderById(SystemInfo.LastOrderId);

            if (row == null)
            {
                return;
            }
            view.lastAmountLabel.Text    = row["amount"].ToString();
            view.lastCountLabel.Text     = row["count"].ToString();
            view.lastDisAmountLabel.Text = row["disamount"].ToString();
            //view.lastDoneAmountLabel.Text = row["disamount"].ToString();
            //SystemInfo.CurrentOrderAmount = Decimal.Parse(row["amount"].ToString());
        }