bug
lu
6 天以前 eadbe322cb1a9d3231cc6a8bfa7deb4d46752bad
bug
已修改1个文件
19 ■■■■■ 文件已修改
DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs
@@ -18,17 +18,17 @@
        string _strTag = "N:不合格";
        List<FilterEntity> _filterList = new List<FilterEntity>();
        public string strType = "";//iqc type
        public string strType = "";//生产退料 type
        public RkDetect01(string _strType)
        {
            InitializeComponent();
            strType = _strType;
        }
        protected override void OnCreateControl() {
        protected override void OnCreateControl()
        {
            base.OnCreateControl();
            if (Parent == null) return;
            this.toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick;
            this.toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick;
            this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
@@ -60,6 +60,12 @@
            xtraTabControl2.SelectedPageChanged += XtraTabControl2_SelectedPageChanged;
            gvMx1.FocusedRowChanged += GvMx1_FocusedRowChanged;
            btnIpt.Click += BtnIpt_Click;
            string rptName = "";
            if (strType == QcSeason.生产退料入库检.ToString())
                rptName = "rpt_SCTL";
            else
                  if (strType == QcSeason.其它入库检.ToString())
                rptName = "rpt_Qtrk";
            this.ucBtnPrint1.btnPrintClick += (s, e) =>
            {
                ucBtnPrint1.guidKey = "";
@@ -85,7 +91,8 @@
                    this.ucBtnPrint1.rptParameter = "return false";
                    return;
                }
                this.ucBtnPrint1.rptParameter = "rpt_SCTL{" + rowGuid.Trim()
                this.ucBtnPrint1.rptParameter = rptName + "{" + rowGuid.Trim()
                       + "," + ""
                       + "," + Gs.DevApp.ToolBox.UtilityHelper.ToDecimal(txt_yuliang_1.Text.Trim())
                       + "," + txt_iCount_1.Text.Trim()
@@ -95,7 +102,7 @@
            this.ucBtnPrint1.btnAllClick += (s, e) =>
            {
                string rowGuid = txt_aboutGuid.Text.Trim();
                SelectDeleteBar frm = new SelectDeleteBar(rowGuid, "采购入库");
                SelectDeleteBar frm = new SelectDeleteBar(rowGuid, strType);
                string strCodeList = "";
                frm.UpdateParent += (ss, ee) =>
                {
@@ -106,7 +113,7 @@
                    return;
                try
                {
                    string rptParameter = "rpt_SCTL{"
                    string rptParameter = rptName + "{"
                    + "100"
                    + "," + ""
                    + "," + ""