예제 #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.外部);//直接打开页面
        }
예제 #2
0
        public void ModifyStockCode(long stockListID, long gsID, string boxCode)
        {
            StockListModel slm = bllStockList.GetModel(stockListID);

            if (slm == null)
            {
                return;
            }
            slm.MeterialboxCode = boxCode;
            bllStockList.Update(slm);

            GetGSDetail(gsID);
        }