Exemple #1
0
        /****************** sell ****************/
        public override ProductCirculationListForm getProductSellListForm()
        {
            if (productSellListForm == null || productSellListForm.IsDisposed)
            {
                productSellListForm = new ProductCirculationListForm(mainForm, 2, "销售单据列表", ProductStainlessCirculationDao.getInstance());
                productSellListForm.initVersions(getVersions(),
                                                 UpdateType.SellUpdate, UpdateType.SellFinishUpdate, UpdateType.CustomerUpdate);

                appendEvent(productSellListForm);
            }
            return(productSellListForm);
        }
Exemple #2
0
        /***************** manufacture ************************/
        public override ProductCirculationListForm getManufactureListForm()
        {
            if (manufactureListForm == null || manufactureListForm.IsDisposed)
            {
                manufactureListForm = new ProductCirculationListForm(mainForm, 4, "生产单据列表", ProductStainlessCirculationDao.getInstance());
                manufactureListForm.initVersions(getVersions(),
                                                 UpdateType.ManuUpdate, UpdateType.ManuFinishUpdate);

                manufactureListForm.hideControls();
                appendEvent(manufactureListForm);
            }
            return(manufactureListForm);
        }
Exemple #3
0
        /************ lib *************/
        public override ProductCirculationListForm getProductLibListForm()
        {
            if (productLibListForm == null || productLibListForm.IsDisposed)
            {
                productLibListForm = new ProductCirculationListForm(mainForm, 3, "盘点单据列表", ProductStainlessCirculationDao.getInstance());
                productLibListForm.initVersions(getVersions(),
                                                UpdateType.LibUpdate, UpdateType.LibFinishUpdate);
                productLibListForm.hideControls();

                appendEvent(productLibListForm);
            }
            return(productLibListForm);
        }
Exemple #4
0
        /************* purchase ******************/
        public override ProductCirculationListForm getProductPurchaseListForm()
        {
            if (productPurchaseListForm == null || productPurchaseListForm.IsDisposed)
            {
                productPurchaseListForm = new ProductCirculationListForm(mainForm, 1, "采购单据列表", ProductStainlessCirculationDao.getInstance());
                productPurchaseListForm.initVersions(getVersions(),
                                                     //表示如果这三个业务有更新,窗口也要刷新
                                                     UpdateType.PurchaseUpdate, UpdateType.PurchaseFinishUpdate, UpdateType.CustomerUpdate);

                appendEvent(productPurchaseListForm);
            }
            return(productPurchaseListForm);
        }