/// <summary>
        /// 获取发货单 obtian the invoice
        /// </summary>
        private void FillSendCarBillData()
        {
            List <SendCarBill> sendList = SendCardBillModel.GetSendCarBill();

            if (sendList != null && sendList.Count > 0)
            {
                this.SendBillListView.ItemsSource = sendList;
                this.SendBillCountTb.Text         = sendList.Count.ToString();
            }
            else
            {
                this.SendBillListView.ItemsSource = null;
                this.SendBillCountTb.Text         = "0";
            }
        }
Exemplo n.º 2
0
 private void GetData()
 {
     mSendCarbills = SendCardBillModel.GetSendCarBill();
     this.SendCarDataGrid.ItemsSource = mSendCarbills;
 }