cdk
3 天以前 3c6cad1224e7cb985f03d15cc98a4a2074a5af49
DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.cs
@@ -32,9 +32,57 @@
                }
                else
                    chkWater.Visible = false;
                if (fGx == "G001:投入")
                {
                    btnFg.Visible = true;
                }
                else
                    btnFg.Visible = false;
            };
            btnFg.Click += BtnFg_Click;
        }
        /// <summary>
        /// 返工类型进入
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        /// <exception cref="NotImplementedException"></exception>
        private void BtnFg_Click(object sender, EventArgs e)
        {
            if (txt_bc.SelectedIndex <= 0)
            {
                txt_bc.Focus();
                Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择班次!");
                return;
            }
            if (txt_gx.SelectedIndex <= 0)
            {
                txt_gx.Focus();
                Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择工序!");
                return;
            }
            string fGx = txt_gx.Text.Trim();
            string fBc = txt_bc.Text.Trim();
            if (fGx == "G001:投入")
            {
                Frm_Work01Fg frm = new Frm_Work01Fg(fGx, fBc);
                frm.ShowDialog();
                return;
            }
            Gs.DevApp.ToolBox.MsgHelper.ShowError("选择错误,请重试!");
            return;
        }
        /// <summary>
        /// 正常进入
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void BtnLogin_Click(object sender, EventArgs e)
        {
            if (txt_bc.SelectedIndex <= 0)