Пример #1
0
 public RepSOFindGoods(string warehouseNo, string vehicleNo, SOFindGoodsDetailList dataSource, List <JsonGetWuLiuXiangInfoResult> dt, string module)
     : this()
 {
     this.xrWarehouseNo.Text = warehouseNo;
     this.xrVehicleNo.Text   = vehicleNo;
     this.xrDate.Text        = DateTime.Now.ToString("yyyy-MM-dd");
     this._dataSource        = dataSource;
     this._module            = module;
 }
Пример #2
0
 public RepSOFindGoods(string warehouseNo, string vehicleNo, SOFindGoodsDetailList dataSource, string module)
     : this()
 {
     this.xrWarehouseNo.Text = warehouseNo;
     this.xrVehicleNo.Text   = vehicleNo;
     this.xrDate.Text        = DateTime.Now.ToString("yyyy-MM-dd");
     this._dataSource        = dataSource;
     this._module            = module;
     //this.xrLabel2.Text = dataSource.LongCheStr;
 }
Пример #3
0
 protected override void OnShown(EventArgs e)
 {
     base.OnShown(e);
     try
     {
         using (WaitDialogForm waiting = new WaitDialogForm())
         {
             List <Nodes.DBHelper.Print.SOFindGoodsDetail> list = GetFindGoodsDetail();
             SOFindGoodsDetailList dataSource = new SOFindGoodsDetailList();
             if (list != null && list.Count > 0)
             {
                 foreach (Nodes.DBHelper.Print.SOFindGoodsDetail item in list)
                 {
                     dataSource.Details.Add(Nodes.Outstore.SOFindGoodsDetail.Convert(item));
                 }
             }
             this.gridControl1.DataSource = dataSource.Details;
         }
     }
     catch (Exception ex)
     {
         MsgBox.Err(ex.Message);
     }
 }