bug
lu
2025-08-25 cfffed5058c71b27040fa2d6d74f04ccc94be567
bug
已修改2个文件
19 ■■■■ 文件已修改
DevApp/Gs.DevApp/UserControl/UcLookWwgd.Designer.cs 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/UserControl/UcLookWwgd.Designer.cs
@@ -38,6 +38,7 @@
            this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
            ((System.ComponentModel.ISupportInitialize)(this.lookSearchSupplier.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).BeginInit();
            this.SuspendLayout();
@@ -65,7 +66,8 @@
            this.gridColumn1,
            this.gridColumn7,
            this.gridColumn6,
            this.gridColumn4});
            this.gridColumn4,
            this.gridColumn9});
            this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
            this.searchLookUpEdit1View.Name = "searchLookUpEdit1View";
            this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
@@ -133,6 +135,14 @@
            this.gridColumn4.FieldName = "guid";
            this.gridColumn4.Name = "gridColumn4";
            // 
            // gridColumn9
            //
            this.gridColumn9.Caption = "货主";
            this.gridColumn9.FieldName = "stockownerName";
            this.gridColumn9.Name = "gridColumn9";
            this.gridColumn9.Visible = true;
            this.gridColumn9.VisibleIndex = 6;
            //
            // UcLookWwgd
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
@@ -158,5 +168,6 @@
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn9;
    }
}
DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs
@@ -32,7 +32,10 @@
        private void getSuppler()
        {
            var pgq = new PageQueryModel(1, 999999, "a.daa001", "asc", "", " and 1=1");
            string _keyWhere = "";
            _keyWhere += (" and rwd.STOCKOWNER  in");
            _keyWhere += (ToolBox.UtilityHelper.GetOrgWhere());
            var pgq = new PageQueryModel(1, 999999, "a.daa001", "asc", "", " and 1=1" + _keyWhere);
            var json = JsonConvert.SerializeObject(pgq);
            try
            {
@@ -42,6 +45,7 @@
                lookSearchSupplier.Properties.DataSource = dt;
                lookSearchSupplier.Properties.DisplayMember = "daa001";
                lookSearchSupplier.Properties.ValueMember = "id";
                lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
            }
            catch (Exception ex)
            {