예제 #1
0
 private void 出入库查询ToolStripMenuItem_Click_1(object sender, EventArgs e)
 {
     FormUI.QueryForm qfm = new FormUI.QueryForm();
     qfm.StartPosition = FormStartPosition.CenterScreen;
     qfm.Show();
 }
예제 #2
0
        private void listView1_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (this.listView1.SelectedIndices.Count > 0)
            {
                switch (this.listView1.SelectedItems[0].Text)
                {
                case "入库单入库":
                    FormUI.InBoundNoFM autofm = new FormUI.InBoundNoFM();
                    autofm.StartPosition = FormStartPosition.CenterScreen;
                    autofm.Show();
                    break;

                case "托盘入库":
                    FormUI.PalletFM pm = new FormUI.PalletFM();
                    pm.StartPosition = FormStartPosition.CenterScreen;
                    pm.Show();
                    break;

                case "人工入库":
                    FormUI.OtherPalletFM manualpm = new FormUI.OtherPalletFM();
                    manualpm.StartPosition = FormStartPosition.CenterScreen;
                    manualpm.Show();
                    break;

                case "成品入库":
                    FormUI.InBoundFM fm = new FormUI.InBoundFM();
                    fm.StartPosition = FormStartPosition.CenterScreen;
                    fm.Show();
                    break;

                case "补货反库":
                    FormUI.InBoundFM fm1 = new FormUI.InBoundFM();
                    fm1.StartPosition = FormStartPosition.CenterScreen;
                    fm1.Show();
                    break;

                case "移库入库":

                    FormUI.InBoundFM movefm = new FormUI.InBoundFM();
                    movefm.StartPosition = FormStartPosition.CenterScreen;
                    movefm.Show();
                    break;

                case "指定货位入库":
                    FormUI.FixPositionInBoundFM fm2 = new FormUI.FixPositionInBoundFM();
                    fm2.StartPosition = FormStartPosition.CenterScreen;
                    fm2.Show();
                    break;

                case "抽检出库":
                    FormUI.FOutBoundFM outfm = new FormUI.FOutBoundFM();
                    outfm.StartPosition = FormStartPosition.CenterScreen;
                    outfm.Show();
                    break;

                case "空托盘出库":
                    break;

                case "库存统计":
                    FormUI.ReportForm rptFm = new FormUI.ReportForm();
                    rptFm.StartPosition = FormStartPosition.CenterScreen;
                    rptFm.Show();
                    break;

                case "储位明细":
                    FormUI.ReportDetailForm rptDetailFm = new FormUI.ReportDetailForm();
                    rptDetailFm.StartPosition = FormStartPosition.CenterScreen;
                    rptDetailFm.Show();
                    break;

                case "巷道管理":
                    FormUI.LaneWayFM LaneFm = new FormUI.LaneWayFM();
                    LaneFm.StartPosition = FormStartPosition.CenterScreen;
                    LaneFm.Show();
                    break;

                case "设备管理":
                    FormUI.DeviceFM LaneFm1 = new FormUI.DeviceFM();
                    LaneFm1.StartPosition = FormStartPosition.CenterScreen;
                    LaneFm1.Show();
                    break;

                case "出入库查询":
                    FormUI.QueryForm qfm = new FormUI.QueryForm();
                    qfm.StartPosition = FormStartPosition.CenterScreen;
                    qfm.Show();
                    break;

                case "人工拆垛":
                    FormUI.ManualForm manualfm = new FormUI.ManualForm();
                    manualfm.StartPosition = FormStartPosition.CenterScreen;
                    manualfm.Show();
                    break;

                case "异常查询":
                    FormUI.ErrorForm errorFm = new FormUI.ErrorForm();
                    errorFm.StartPosition = FormStartPosition.CenterScreen;
                    errorFm.Show();
                    break;

                case "分拣预补":
                    FormUI.YBFM ybFm = new FormUI.YBFM();
                    ybFm.StartPosition = FormStartPosition.CenterScreen;
                    ybFm.Show();
                    break;

                case "可疑储位":
                    FormUI.DubiousForm dFm = new FormUI.DubiousForm();
                    dFm.StartPosition = FormStartPosition.CenterScreen;
                    dFm.Show();
                    break;

                case "出库":
                    FormUI.MOutBoundFM moutFm = new FormUI.MOutBoundFM();
                    moutFm.StartPosition = FormStartPosition.CenterScreen;
                    moutFm.Show();
                    break;

                case "自动补货出库":
                    FormUI.AutoOutBoundFM autoOutFm = new FormUI.AutoOutBoundFM();
                    autoOutFm.StartPosition = FormStartPosition.CenterScreen;
                    autoOutFm.Show();
                    break;

                case "返库":
                    FormUI.InBoundReturnFM rkfm = new FormUI.InBoundReturnFM();
                    rkfm.StartPosition = FormStartPosition.CenterScreen;
                    rkfm.Show();
                    break;

                case "储位管理":
                    FormUI.CellForm cfm = new FormUI.CellForm();
                    cfm.StartPosition = FormStartPosition.CenterScreen;
                    cfm.Show();
                    break;

                case "单据查询":
                    FormUI.InBoundNoReport inBoundReport = new FormUI.InBoundNoReport();
                    inBoundReport.StartPosition = FormStartPosition.CenterScreen;
                    inBoundReport.Show();
                    break;

                case "巷道使用率":
                    FormUI.LaneWayFMReport laneWayReport = new FormUI.LaneWayFMReport();
                    laneWayReport.StartPosition = FormStartPosition.CenterScreen;
                    laneWayReport.Show();
                    break;
                }
            }
        }