11
啊鑫
2024-11-05 4d8b3deb28a4bd7125a1d26f078fe207d4410c5e
DevApp/Gs.DevApp/UserControl/SelectCgMx.cs
@@ -15,14 +15,17 @@
            new List<FilterEntity>();
        private readonly string _webServiceName = "MesRohInDataManager/";
        private string suppCode = "";
        private string strWhere = "";
        /// <summary>
        /// 供应商编号
        /// </summary>
        /// <param name="supp_no"></param>
        public SelectCgMx(string supp_no)
        public SelectCgMx(string _suppCode, string _strWhere)
        {
            InitializeComponent();
            this.suppCode = _suppCode;
            this.strWhere = _strWhere;
            pageBar1.PagerEvent += PageBar1_PagerEvent;
            getPageList(1, UtilityHelper.GetPageSize());
            gridView1.IndicatorWidth = 50;
@@ -72,6 +75,7 @@
        private void getPageList(int curPage, int pageSize)
        {
            var _sbSqlWhere = new StringBuilder();
            _sbSqlWhere.Append(" ");
            foreach (var itm in _filterList)
                _sbSqlWhere.Append(" and " + itm.fileId + itm.fileOper + "'" +
                                   itm.fileValue + "'");