bug
lu
4 天以前 0249c31d8a31f1dfb94915915b177ec4a3074d60
DevApp/Gs.DevApp/DevFrm/WOM/Frm_WomFanGong.cs
@@ -67,6 +67,12 @@
                    MsgHelper.ShowError("提示:" + ex.Message);
                }
            };
            //这是追溯码
            this.ucBtnPrint98.btnPrintClick += (s, e) =>
            {
                _print98();
            };
        }
        private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
        {
@@ -253,6 +259,33 @@
            }
        }
        /// <summary>
        /// 这是追溯码
        /// </summary>
        private void _print98()
        {
            string rowGuid = txt_daa001.Text.Trim();
            if (rowGuid.Length < 36)
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择你要打印的行!");
                this.ucBtnPrint98.rptParameter = "return false";
                return;
            }
            if (!Gs.DevApp.ToolBox.UtilityHelper.IsNumeric3(txt_iCount_98.Text.Trim()))
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowError("请输入正确的条码数量!");
                txt_iCount_98.Focus();
                this.ucBtnPrint98.rptParameter = "return false";
                return;
            }
            this.ucBtnPrint98.rptParameter = "rpt_trace{"
                   + ""
                   + "," + txt_printRemark98.Text.Trim()
                   + "," + ""
                   + "," + txt_iCount_98.Text.Trim()
                   + "," + 1
                   + "}";
        }
    }
}