Esempio n. 1
0
        public void OnCellExpandPro(string productCode, string stockListID)
        {
            StockListModel slm = bllStockList.GetModel(long.Parse(stockListID));

            if (slm == null)
            {
                return;
            }
            StockModel sm = bllStock.GetModel(slm.StockID);

            if (sm == null)
            {
                return;
            }
            View_GoodsSiteModel viewGSM = bllViewGS.GetModelByGSID(sm.GoodsSiteID);

            if (viewGSM == null)
            {
                return;
            }
            StockListProEventArgs slpea = new StockListProEventArgs();

            slpea.HouseName = viewGSM.StoreHouseName;
            slpea.CellCoord = new CellCoordModel(viewGSM.GoodsSiteRow, viewGSM.GoodsSiteColumn, viewGSM.GoodsSiteLayer);

            slpea.ProductCode = productCode;
            StorageMainView.storageMana.OnEventStorDetail(slpea);
            this.view.ShowExtForm(ExtendFormCate.外部);//直接打开页面
        }
Esempio n. 2
0
 public void OnEventStorDetail(StockListProEventArgs e)
 {
     if (EventStorDetail != null)
     {
         EventStorDetail.Invoke(this, e);
     }
 }