private void btnUpdate_Click(object sender, RoutedEventArgs e)
        {
            //验证退货数量是否大于最大值
            var tItems = (from tObj in list
                          where tObj.ReturnQty > tObj.BatchInfoStockNumber || tObj.ReturnQty < 0
                          select tObj).ToList();

            if (tItems != null && tItems.Count > 0)
            {
                labErrorMsg.Visibility = Visibility.Visible;
                labErrorMsg.Text       = "退货数量应为0到库存数量之间的整数!";
                return;
            }
            else
            {
                labErrorMsg.Visibility = Visibility.Collapsed;
                labErrorMsg.Text       = "";
            }
            // 更新操作:
            PurchaseOrderItemInfo info = new PurchaseOrderItemInfo()
            {
                ItemSysNo = this.ItemSysNo,
                BatchInfo = BuildItemBatchInfo()
            };

            if (!string.IsNullOrEmpty(info.BatchInfo))
            {
                serviceFacade.UpdatePurchaseOrderBatchInfo(info, (obj, args) =>
                {
                    if (args.FaultsHandle())
                    {
                        return;
                    }
                    batchInfo = info.BatchInfo;
                    Dialog.ResultArgs.Data = batchInfo;
                    Dialog.Close(true);
                });
            }
            else
            {
                Dialog.Close(true);
            }
        }