bug
lu
6 天以前 fd94e95ef93cc6608e9c6ecfe8552d3f8dd9b880
DevApp/Gs.DevApp/UserControl/UcLookCk.cs
@@ -35,12 +35,14 @@
        /// </summary>
        /// <param name="orgId"></param>
        /// <param name="_dftVale"></param>
        public void getSuppler(string orgId, string _dftVale = "")
        public void getSuppler(string orgId, string _dftVale = "", string strWhere = "")
        {
            lookSearchSupplier.EditValue = null;
            string _keyWhere = "";
            if (!string.IsNullOrEmpty(orgId))
                _keyWhere = " and a.FSubsidiary ='" + orgId + "'";
                _keyWhere = (_keyWhere + " and a.FSubsidiary ='" + orgId + "'");
            if (!string.IsNullOrEmpty(strWhere))
                _keyWhere = (_keyWhere + strWhere);
            var pgq = new PageQueryModel(1, 999999, "org.FNumber asc ,a.depot_code", "asc", "",
                " and is_ng='A'" + _keyWhere);
            var json = JsonConvert.SerializeObject(pgq);