SVN-Revision: r794
This commit is contained in:
tdx
2025-06-26 14:50:39 +00:00
parent ab39eac3bd
commit 505dc2d949
2 changed files with 85 additions and 70 deletions
+51 -68
View File
@@ -28,7 +28,6 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.ssc_main = new DevExpress.XtraEditors.SplitContainerControl();
this.ssc_main_top = new DevExpress.XtraEditors.SplitContainerControl();
this.pl_main = new DevExpress.XtraEditors.PanelControl();
@@ -41,7 +40,7 @@
this.pl_treeview_detault_search = new DevExpress.XtraEditors.PanelControl();
this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
this.barManager1 = new DevExpress.XtraBars.BarManager();
this.barDockControl1 = new DevExpress.XtraBars.BarDockControl();
this.barDockControl2 = new DevExpress.XtraBars.BarDockControl();
this.barDockControl3 = new DevExpress.XtraBars.BarDockControl();
@@ -51,7 +50,6 @@
this.btnTreeSearch = new DevExpress.XtraEditors.SimpleButton();
this.pl_Right = new DevExpress.XtraEditors.PanelControl();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.ModuleGridEx = new Lskj.Control.ModuleGridEx();
this.pl_main_bottom = new DevExpress.XtraEditors.PanelControl();
this.btnPrint = new DevExpress.XtraEditors.SimpleButton();
this.pl_templete = new DevExpress.XtraEditors.PanelControl();
@@ -77,11 +75,11 @@
this.rdRed = new System.Windows.Forms.RadioButton();
this.pl_blue = new DevExpress.XtraEditors.PanelControl();
this.rdBlue = new System.Windows.Forms.RadioButton();
this.pMprint = new DevExpress.XtraBars.PopupMenu(this.components);
this.pmFP = new DevExpress.XtraBars.PopupMenu(this.components);
this.pmBillExp = new DevExpress.XtraBars.PopupMenu(this.components);
this.pmBill = new DevExpress.XtraBars.PopupMenu(this.components);
this.pMenu = new DevExpress.XtraBars.PopupMenu(this.components);
this.pMprint = new DevExpress.XtraBars.PopupMenu();
this.pmFP = new DevExpress.XtraBars.PopupMenu();
this.pmBillExp = new DevExpress.XtraBars.PopupMenu();
this.pmBill = new DevExpress.XtraBars.PopupMenu();
this.pMenu = new DevExpress.XtraBars.PopupMenu();
this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
this.backgroundWorker2 = new System.ComponentModel.BackgroundWorker();
((System.ComponentModel.ISupportInitialize)(this.ssc_main)).BeginInit();
@@ -165,7 +163,7 @@
this.ssc_main_top.Panel1.Text = "Panel1";
this.ssc_main_top.Panel2.Controls.Add(this.pl_main);
this.ssc_main_top.Panel2.Text = "Panel2";
this.ssc_main_top.Size = new System.Drawing.Size(1511, 725);
this.ssc_main_top.Size = new System.Drawing.Size(1511, 722);
this.ssc_main_top.SplitterPosition = 1;
this.ssc_main_top.TabIndex = 1;
this.ssc_main_top.Text = "splitContainerControl1";
@@ -181,7 +179,7 @@
this.pl_main.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_main.Location = new System.Drawing.Point(0, 0);
this.pl_main.Name = "pl_main";
this.pl_main.Size = new System.Drawing.Size(1505, 725);
this.pl_main.Size = new System.Drawing.Size(1502, 722);
this.pl_main.TabIndex = 1;
//
// pl_main_center
@@ -192,9 +190,9 @@
this.pl_main_center.Controls.Add(this.pl_main_center_detail);
this.pl_main_center.Controls.Add(this.splitMainControl);
this.pl_main_center.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_main_center.Location = new System.Drawing.Point(2, 40);
this.pl_main_center.Location = new System.Drawing.Point(3, 41);
this.pl_main_center.Name = "pl_main_center";
this.pl_main_center.Size = new System.Drawing.Size(1501, 620);
this.pl_main_center.Size = new System.Drawing.Size(1496, 615);
this.pl_main_center.TabIndex = 2;
//
// pl_main_center_detail
@@ -206,7 +204,7 @@
this.pl_main_center_detail.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_main_center_detail.Location = new System.Drawing.Point(0, 215);
this.pl_main_center_detail.Name = "pl_main_center_detail";
this.pl_main_center_detail.Size = new System.Drawing.Size(1501, 405);
this.pl_main_center_detail.Size = new System.Drawing.Size(1496, 400);
this.pl_main_center_detail.TabIndex = 26;
//
// gcMain
@@ -218,7 +216,7 @@
this.gcMain.Margin = new System.Windows.Forms.Padding(5);
this.gcMain.Name = "gcMain";
this.gcMain.SiftEnumObj = Lskj.Control.GridControlEx.HeaderSiftEnum.Sum;
this.gcMain.Size = new System.Drawing.Size(1501, 405);
this.gcMain.Size = new System.Drawing.Size(1496, 400);
this.gcMain.TabIndex = 0;
//
// splitMainControl
@@ -229,9 +227,8 @@
this.splitMainControl.Panel1.Controls.Add(this.panel1);
this.splitMainControl.Panel1.Controls.Add(this.pl_Right);
this.splitMainControl.Panel1.Text = "Panel1";
this.splitMainControl.Panel2.Controls.Add(this.ModuleGridEx);
this.splitMainControl.Panel2.Text = "Panel2";
this.splitMainControl.Size = new System.Drawing.Size(1501, 215);
this.splitMainControl.Size = new System.Drawing.Size(1496, 215);
this.splitMainControl.SplitterPosition = 636;
this.splitMainControl.TabIndex = 25;
this.splitMainControl.Text = "splitContainerControl1";
@@ -263,10 +260,10 @@
this.pl_treeview_detault_search.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.pl_treeview_detault_search.Controls.Add(this.panelControl4);
this.pl_treeview_detault_search.Controls.Add(this.panelControl3);
this.pl_treeview_detault_search.Location = new System.Drawing.Point(26, 69);
this.pl_treeview_detault_search.Location = new System.Drawing.Point(8, 20);
this.pl_treeview_detault_search.Margin = new System.Windows.Forms.Padding(5, 3, 5, 3);
this.pl_treeview_detault_search.Name = "pl_treeview_detault_search";
this.pl_treeview_detault_search.Size = new System.Drawing.Size(180, 19);
this.pl_treeview_detault_search.Size = new System.Drawing.Size(53, 6);
this.pl_treeview_detault_search.TabIndex = 24;
this.pl_treeview_detault_search.Visible = false;
//
@@ -279,7 +276,7 @@
this.panelControl4.Location = new System.Drawing.Point(0, 0);
this.panelControl4.Name = "panelControl4";
this.panelControl4.Padding = new System.Windows.Forms.Padding(2, 4, 2, 0);
this.panelControl4.Size = new System.Drawing.Size(84, 19);
this.panelControl4.Size = new System.Drawing.Size(0, 9);
this.panelControl4.TabIndex = 25;
//
// textEdit1
@@ -290,7 +287,7 @@
this.textEdit1.Name = "textEdit1";
this.textEdit1.Properties.Appearance.Font = new System.Drawing.Font("宋体", 10F);
this.textEdit1.Properties.Appearance.Options.UseFont = true;
this.textEdit1.Size = new System.Drawing.Size(0, 20);
this.textEdit1.Size = new System.Drawing.Size(0, 26);
this.textEdit1.TabIndex = 5;
//
// barManager1
@@ -339,13 +336,13 @@
this.lceCombobox.FontSize = 0F;
this.lceCombobox.LabelText = "查询";
this.lceCombobox.Location = new System.Drawing.Point(2, 4);
this.lceCombobox.Margin = new System.Windows.Forms.Padding(4);
this.lceCombobox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.lceCombobox.Model = null;
this.lceCombobox.Name = "lceCombobox";
this.lceCombobox.NullText = "";
this.lceCombobox.ReadOnly = false;
this.lceCombobox.Required = false;
this.lceCombobox.Size = new System.Drawing.Size(111, 15);
this.lceCombobox.Size = new System.Drawing.Size(111, 5);
this.lceCombobox.TabIndex = 4;
//
// panelControl3
@@ -353,10 +350,10 @@
this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.panelControl3.Controls.Add(this.btnTreeSearch);
this.panelControl3.Dock = System.Windows.Forms.DockStyle.Right;
this.panelControl3.Location = new System.Drawing.Point(84, 0);
this.panelControl3.Location = new System.Drawing.Point(-245, 0);
this.panelControl3.Name = "panelControl3";
this.panelControl3.Padding = new System.Windows.Forms.Padding(3);
this.panelControl3.Size = new System.Drawing.Size(96, 19);
this.panelControl3.Size = new System.Drawing.Size(324, 9);
this.panelControl3.TabIndex = 25;
//
// btnTreeSearch
@@ -365,9 +362,9 @@
this.btnTreeSearch.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnTreeSearch.Appearance.Options.UseFont = true;
this.btnTreeSearch.Dock = System.Windows.Forms.DockStyle.Right;
this.btnTreeSearch.Location = new System.Drawing.Point(33, 3);
this.btnTreeSearch.Location = new System.Drawing.Point(261, 3);
this.btnTreeSearch.Name = "btnTreeSearch";
this.btnTreeSearch.Size = new System.Drawing.Size(60, 13);
this.btnTreeSearch.Size = new System.Drawing.Size(60, 3);
this.btnTreeSearch.TabIndex = 21;
this.btnTreeSearch.Text = "查询";
//
@@ -395,19 +392,6 @@
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
//
// ModuleGridEx
//
this.ModuleGridEx.BackColor = System.Drawing.Color.Transparent;
this.ModuleGridEx.Dock = System.Windows.Forms.DockStyle.Fill;
this.ModuleGridEx.Location = new System.Drawing.Point(0, 0);
this.ModuleGridEx.Name = "ModuleGridEx";
this.ModuleGridEx.OperShortMode = true;
this.ModuleGridEx.Size = new System.Drawing.Size(860, 215);
this.ModuleGridEx.TabIndex = 9;
this.ModuleGridEx.VisibleMrpSearchPanel = false;
this.ModuleGridEx.VisibleOperPanel = true;
this.ModuleGridEx.VisibleSearchPanel = true;
//
// pl_main_bottom
//
this.pl_main_bottom.Appearance.BackColor = System.Drawing.Color.Transparent;
@@ -421,9 +405,9 @@
this.pl_main_bottom.Controls.Add(this.btnDelete);
this.pl_main_bottom.Controls.Add(this.btnBillSave);
this.pl_main_bottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pl_main_bottom.Location = new System.Drawing.Point(2, 660);
this.pl_main_bottom.Location = new System.Drawing.Point(3, 656);
this.pl_main_bottom.Name = "pl_main_bottom";
this.pl_main_bottom.Size = new System.Drawing.Size(1501, 63);
this.pl_main_bottom.Size = new System.Drawing.Size(1496, 63);
this.pl_main_bottom.TabIndex = 1;
//
// btnPrint
@@ -432,7 +416,7 @@
this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnPrint.Appearance.Font = new System.Drawing.Font("宋体", 10F);
this.btnPrint.Appearance.Options.UseFont = true;
this.btnPrint.Location = new System.Drawing.Point(1418, 11);
this.btnPrint.Location = new System.Drawing.Point(1413, 11);
this.btnPrint.Name = "btnPrint";
this.btnPrint.Size = new System.Drawing.Size(80, 40);
this.btnPrint.TabIndex = 30;
@@ -459,7 +443,7 @@
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.cb_templete.Properties.DropDownRows = 8;
this.cb_templete.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
this.cb_templete.Size = new System.Drawing.Size(133, 20);
this.cb_templete.Size = new System.Drawing.Size(133, 28);
this.cb_templete.TabIndex = 19;
this.cb_templete.QueryCloseUp += new System.ComponentModel.CancelEventHandler(this.cb_templete_QueryCloseUp);
this.cb_templete.Click += new System.EventHandler(this.OnTempleteClick);
@@ -469,7 +453,7 @@
this.lbl_templete.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbl_templete.Location = new System.Drawing.Point(5, 8);
this.lbl_templete.Name = "lbl_templete";
this.lbl_templete.Size = new System.Drawing.Size(48, 12);
this.lbl_templete.Size = new System.Drawing.Size(72, 18);
this.lbl_templete.TabIndex = 16;
this.lbl_templete.Text = "选择模版";
//
@@ -495,7 +479,7 @@
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.cb_input.Properties.DropDownRows = 8;
this.cb_input.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
this.cb_input.Size = new System.Drawing.Size(79, 20);
this.cb_input.Size = new System.Drawing.Size(79, 28);
this.cb_input.TabIndex = 19;
//
// txt_input
@@ -505,7 +489,7 @@
this.txt_input.Name = "txt_input";
this.txt_input.Properties.Appearance.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txt_input.Properties.Appearance.Options.UseFont = true;
this.txt_input.Size = new System.Drawing.Size(98, 20);
this.txt_input.Size = new System.Drawing.Size(98, 28);
this.txt_input.TabIndex = 18;
this.txt_input.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnInputKeyDown);
//
@@ -514,7 +498,7 @@
this.labelControl2.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl2.Location = new System.Drawing.Point(5, 8);
this.labelControl2.Name = "labelControl2";
this.labelControl2.Size = new System.Drawing.Size(48, 12);
this.labelControl2.Size = new System.Drawing.Size(72, 18);
this.labelControl2.TabIndex = 16;
this.labelControl2.Text = "快速录入";
//
@@ -535,7 +519,7 @@
this.btnBillAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnBillAdd.Appearance.Font = new System.Drawing.Font("宋体", 10F);
this.btnBillAdd.Appearance.Options.UseFont = true;
this.btnBillAdd.Location = new System.Drawing.Point(1074, 11);
this.btnBillAdd.Location = new System.Drawing.Point(1069, 11);
this.btnBillAdd.Name = "btnBillAdd";
this.btnBillAdd.Size = new System.Drawing.Size(80, 40);
this.btnBillAdd.TabIndex = 19;
@@ -548,7 +532,7 @@
this.btnBillApply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnBillApply.Appearance.Font = new System.Drawing.Font("宋体", 10F);
this.btnBillApply.Appearance.Options.UseFont = true;
this.btnBillApply.Location = new System.Drawing.Point(1332, 11);
this.btnBillApply.Location = new System.Drawing.Point(1327, 11);
this.btnBillApply.Name = "btnBillApply";
this.btnBillApply.Size = new System.Drawing.Size(80, 40);
this.btnBillApply.TabIndex = 25;
@@ -561,7 +545,7 @@
this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnDelete.Appearance.Font = new System.Drawing.Font("宋体", 10F);
this.btnDelete.Appearance.Options.UseFont = true;
this.btnDelete.Location = new System.Drawing.Point(1160, 11);
this.btnDelete.Location = new System.Drawing.Point(1155, 11);
this.btnDelete.Name = "btnDelete";
this.btnDelete.Size = new System.Drawing.Size(80, 40);
this.btnDelete.TabIndex = 20;
@@ -574,7 +558,7 @@
this.btnBillSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnBillSave.Appearance.Font = new System.Drawing.Font("宋体", 10F);
this.btnBillSave.Appearance.Options.UseFont = true;
this.btnBillSave.Location = new System.Drawing.Point(1246, 11);
this.btnBillSave.Location = new System.Drawing.Point(1241, 11);
this.btnBillSave.Name = "btnBillSave";
this.btnBillSave.Size = new System.Drawing.Size(80, 40);
this.btnBillSave.TabIndex = 21;
@@ -589,9 +573,9 @@
this.pl_main_top.Controls.Add(this.pl_main_top_right);
this.pl_main_top.Controls.Add(this.pl_main_top_left);
this.pl_main_top.Dock = System.Windows.Forms.DockStyle.Top;
this.pl_main_top.Location = new System.Drawing.Point(2, 2);
this.pl_main_top.Location = new System.Drawing.Point(3, 3);
this.pl_main_top.Name = "pl_main_top";
this.pl_main_top.Size = new System.Drawing.Size(1501, 38);
this.pl_main_top.Size = new System.Drawing.Size(1496, 38);
this.pl_main_top.TabIndex = 0;
//
// pl_main_top_center
@@ -601,9 +585,9 @@
this.pl_main_top_center.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.pl_main_top_center.Controls.Add(this.lbTitle);
this.pl_main_top_center.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_main_top_center.Location = new System.Drawing.Point(202, 2);
this.pl_main_top_center.Location = new System.Drawing.Point(203, 3);
this.pl_main_top_center.Name = "pl_main_top_center";
this.pl_main_top_center.Size = new System.Drawing.Size(891, 34);
this.pl_main_top_center.Size = new System.Drawing.Size(884, 32);
this.pl_main_top_center.TabIndex = 3;
//
// lbTitle
@@ -614,7 +598,7 @@
this.lbTitle.ForeColor = System.Drawing.Color.Blue;
this.lbTitle.Location = new System.Drawing.Point(0, 0);
this.lbTitle.Name = "lbTitle";
this.lbTitle.Size = new System.Drawing.Size(891, 34);
this.lbTitle.Size = new System.Drawing.Size(884, 32);
this.lbTitle.TabIndex = 1;
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbTitle.Paint += new System.Windows.Forms.PaintEventHandler(this.OnLabelTitlePaint);
@@ -627,9 +611,9 @@
this.pl_main_top_right.Controls.Add(this.lblOrderNo);
this.pl_main_top_right.Controls.Add(this.labelControl1);
this.pl_main_top_right.Dock = System.Windows.Forms.DockStyle.Right;
this.pl_main_top_right.Location = new System.Drawing.Point(1093, 2);
this.pl_main_top_right.Location = new System.Drawing.Point(1087, 3);
this.pl_main_top_right.Name = "pl_main_top_right";
this.pl_main_top_right.Size = new System.Drawing.Size(406, 34);
this.pl_main_top_right.Size = new System.Drawing.Size(406, 32);
this.pl_main_top_right.TabIndex = 2;
//
// lblOrderNo
@@ -639,7 +623,7 @@
this.lblOrderNo.Appearance.ForeColor = System.Drawing.Color.Blue;
this.lblOrderNo.Location = new System.Drawing.Point(85, 15);
this.lblOrderNo.Name = "lblOrderNo";
this.lblOrderNo.Size = new System.Drawing.Size(120, 16);
this.lblOrderNo.Size = new System.Drawing.Size(180, 24);
this.lblOrderNo.TabIndex = 1;
this.lblOrderNo.Text = "XTC170112010001";
//
@@ -650,7 +634,7 @@
this.labelControl1.Appearance.ForeColor = System.Drawing.Color.Blue;
this.labelControl1.Location = new System.Drawing.Point(7, 15);
this.labelControl1.Name = "labelControl1";
this.labelControl1.Size = new System.Drawing.Size(72, 16);
this.labelControl1.Size = new System.Drawing.Size(108, 24);
this.labelControl1.TabIndex = 0;
this.labelControl1.Text = "单据编号:";
//
@@ -662,9 +646,9 @@
this.pl_main_top_left.Controls.Add(this.pl_red);
this.pl_main_top_left.Controls.Add(this.pl_blue);
this.pl_main_top_left.Dock = System.Windows.Forms.DockStyle.Left;
this.pl_main_top_left.Location = new System.Drawing.Point(2, 2);
this.pl_main_top_left.Location = new System.Drawing.Point(3, 3);
this.pl_main_top_left.Name = "pl_main_top_left";
this.pl_main_top_left.Size = new System.Drawing.Size(200, 34);
this.pl_main_top_left.Size = new System.Drawing.Size(200, 32);
this.pl_main_top_left.TabIndex = 1;
//
// pl_red
@@ -676,7 +660,7 @@
this.pl_red.Dock = System.Windows.Forms.DockStyle.Left;
this.pl_red.Location = new System.Drawing.Point(100, 0);
this.pl_red.Name = "pl_red";
this.pl_red.Size = new System.Drawing.Size(100, 34);
this.pl_red.Size = new System.Drawing.Size(100, 32);
this.pl_red.TabIndex = 3;
//
// rdRed
@@ -686,7 +670,7 @@
this.rdRed.ForeColor = System.Drawing.Color.Red;
this.rdRed.Location = new System.Drawing.Point(6, 12);
this.rdRed.Name = "rdRed";
this.rdRed.Size = new System.Drawing.Size(90, 20);
this.rdRed.Size = new System.Drawing.Size(131, 28);
this.rdRed.TabIndex = 3;
this.rdRed.Text = "销售退货";
this.rdRed.UseVisualStyleBackColor = true;
@@ -701,7 +685,7 @@
this.pl_blue.Dock = System.Windows.Forms.DockStyle.Left;
this.pl_blue.Location = new System.Drawing.Point(0, 0);
this.pl_blue.Name = "pl_blue";
this.pl_blue.Size = new System.Drawing.Size(100, 34);
this.pl_blue.Size = new System.Drawing.Size(100, 32);
this.pl_blue.TabIndex = 2;
//
// rdBlue
@@ -712,7 +696,7 @@
this.rdBlue.ForeColor = System.Drawing.Color.Blue;
this.rdBlue.Location = new System.Drawing.Point(7, 12);
this.rdBlue.Name = "rdBlue";
this.rdBlue.Size = new System.Drawing.Size(90, 20);
this.rdBlue.Size = new System.Drawing.Size(131, 28);
this.rdBlue.TabIndex = 2;
this.rdBlue.TabStop = true;
this.rdBlue.Text = "销售出库";
@@ -855,5 +839,4 @@
private DevExpress.XtraEditors.TextEdit txt_input;
private DevExpress.XtraBars.PopupMenu pmFP;
private DevExpress.XtraEditors.SimpleButton btnBillAdd;
private DevExpress.XtraEditors.SimpleButton btnPrint;
private System.ComponentModel.Background
private DevExpress.XtraEditors.SimpleButton btnPrin
+34 -2
View File
@@ -641,10 +641,42 @@ namespace Lskj.PubBillSpecial
MessageUtil.Show("没有找到编号为" + this.BillModel.RightModuleCode + "的模块信息");
return;
}
ModuleModel SystemModel= new ModuleModel(moduleInformation);
ModuleModel model = new ModuleModel(moduleInformation);
ModuleGridEx gridEx = new ModuleGridEx();
model.ParmaryKey = BaseImpl.GetBasePrimaryKey(this.BillModel.RightModuleCode);
gridEx.OnSaveGridCallBack += OnDetailSaveGridCallBack;
gridEx.DetailRightGridCallBack += OnDetailRightCallback;
gridEx.Name = "gridEx";
gridEx.IsDetail = true;
gridEx.Dock = DockStyle.Fill;
gridEx.OperShortMode = false; // 不显示简短模式
gridEx.VisibleSearchPanel = false;
gridEx.VisibleOperPanel =true;
gridEx.InitializeControl(model, dyncModel);
gridEx.GridControlObj.Tag = model;//都在本地图可留着备用
//gridEx.ParentControlEx = this.gcMain;
gridEx.ParentControlObj = this.ControlObj;
gridEx.ParentGridEx = this.gcMain;//父级关联明细可扩展
//gridEx.ParentKeyField = string.IsNullOrEmpty(model.UnionParentField) ? model.SystemModel.ParmaryKey : model.UnionParentField;
//gridEx.DetailKeyField = model.UnionValue;//新增关联可拖拽刷新数据源
gridEx.GridControlObj.ParentControl = gridEx.SearchObj;
this.splitMainControl.Panel2.Controls.Add(gridEx);
gridEx.SearchObj.SearchGrid();
}
#region
private void OnDetailRightCallback(object sender, EventArgs e)
{
throw new NotImplementedException();
}
private void OnDetailSaveGridCallBack(object sender, EventArgs e)
{
throw new NotImplementedException();
}
#endregion
/// <summary>
/// <para>说明:初始化红蓝字单</para>
/// <para>创建人:龚宇超</para>