diff --git a/插件库/Lskj.PubBillSpecial/BillModule.Designer.cs b/插件库/Lskj.PubBillSpecial/BillModule.Designer.cs
new file mode 100644
index 0000000..be95f9a
--- /dev/null
+++ b/插件库/Lskj.PubBillSpecial/BillModule.Designer.cs
@@ -0,0 +1,809 @@
+namespace Lskj.PubBillSpecial
+{
+ partial class BillModule
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// 清理所有正在使用的资源。
+ ///
+ /// 如果应释放托管资源,为 true;否则为 false。
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region 组件设计器生成的代码
+
+ ///
+ /// 设计器支持所需的方法 - 不要
+ /// 使用代码编辑器修改此方法的内容。
+ ///
+ private void InitializeComponent()
+ {
+ this.ssc_main = new DevExpress.XtraEditors.SplitContainerControl();
+ this.ssc_main_top = new DevExpress.XtraEditors.SplitContainerControl();
+ this.pl_main = new DevExpress.XtraEditors.PanelControl();
+ this.pl_main_center = new DevExpress.XtraEditors.PanelControl();
+ this.pl_main_center_detail = new DevExpress.XtraEditors.PanelControl();
+ this.gcMain = new Lskj.Control.GridControlEx();
+ this.pl_Right = new DevExpress.XtraEditors.PanelControl();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.pl_main_center_master = new DevExpress.XtraEditors.XtraScrollableControl();
+ 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.barDockControl1 = new DevExpress.XtraBars.BarDockControl();
+ this.barDockControl2 = new DevExpress.XtraBars.BarDockControl();
+ this.barDockControl3 = new DevExpress.XtraBars.BarDockControl();
+ this.barDockControl5 = new DevExpress.XtraBars.BarDockControl();
+ this.lceCombobox = new Lskj.Control.LabelComboxEdit();
+ this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
+ this.btnTreeSearch = new DevExpress.XtraEditors.SimpleButton();
+ this.pl_main_bottom = new DevExpress.XtraEditors.PanelControl();
+ this.btnPrint = new DevExpress.XtraEditors.SimpleButton();
+ this.pl_templete = new DevExpress.XtraEditors.PanelControl();
+ this.cb_templete = new DevExpress.XtraEditors.ComboBoxEdit();
+ this.lbl_templete = new DevExpress.XtraEditors.LabelControl();
+ this.pl_input = new DevExpress.XtraEditors.PanelControl();
+ this.cb_input = new DevExpress.XtraEditors.ComboBoxEdit();
+ this.txt_input = new DevExpress.XtraEditors.TextEdit();
+ this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
+ this.btn_input = new DevExpress.XtraEditors.SimpleButton();
+ this.btnBillAdd = new DevExpress.XtraEditors.SimpleButton();
+ this.btnBillApply = new DevExpress.XtraEditors.SimpleButton();
+ this.btnDelete = new DevExpress.XtraEditors.SimpleButton();
+ this.btnBillSave = new DevExpress.XtraEditors.SimpleButton();
+ this.pl_main_top = new DevExpress.XtraEditors.PanelControl();
+ this.pl_main_top_center = new DevExpress.XtraEditors.PanelControl();
+ this.lbTitle = new System.Windows.Forms.Label();
+ this.pl_main_top_right = new DevExpress.XtraEditors.PanelControl();
+ this.lblOrderNo = new DevExpress.XtraEditors.LabelControl();
+ this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
+ this.pl_main_top_left = new DevExpress.XtraEditors.PanelControl();
+ this.pl_red = new DevExpress.XtraEditors.PanelControl();
+ 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.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();
+ this.ssc_main.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.ssc_main_top)).BeginInit();
+ this.ssc_main_top.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main)).BeginInit();
+ this.pl_main.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_center)).BeginInit();
+ this.pl_main_center.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_center_detail)).BeginInit();
+ this.pl_main_center_detail.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_Right)).BeginInit();
+ this.pl_Right.SuspendLayout();
+ this.pl_main_center_master.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_treeview_detault_search)).BeginInit();
+ this.pl_treeview_detault_search.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
+ this.panelControl4.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
+ this.panelControl3.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_bottom)).BeginInit();
+ this.pl_main_bottom.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_templete)).BeginInit();
+ this.pl_templete.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.cb_templete.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_input)).BeginInit();
+ this.pl_input.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.cb_input.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_input.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_top)).BeginInit();
+ this.pl_main_top.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_top_center)).BeginInit();
+ this.pl_main_top_center.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_top_right)).BeginInit();
+ this.pl_main_top_right.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_top_left)).BeginInit();
+ this.pl_main_top_left.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_red)).BeginInit();
+ this.pl_red.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_blue)).BeginInit();
+ this.pl_blue.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pMprint)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pmFP)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pmBillExp)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pmBill)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pMenu)).BeginInit();
+ this.SuspendLayout();
+ //
+ // ssc_main
+ //
+ this.ssc_main.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.ssc_main.Appearance.Options.UseBackColor = true;
+ this.ssc_main.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel2;
+ this.ssc_main.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ssc_main.Horizontal = false;
+ this.ssc_main.Location = new System.Drawing.Point(0, 0);
+ this.ssc_main.Name = "ssc_main";
+ this.ssc_main.Panel1.Controls.Add(this.ssc_main_top);
+ this.ssc_main.Panel1.Text = "Panel1";
+ this.ssc_main.Panel2.Text = "Panel2";
+ this.ssc_main.Size = new System.Drawing.Size(1511, 730);
+ this.ssc_main.SplitterPosition = 725;
+ this.ssc_main.TabIndex = 0;
+ this.ssc_main.Text = "splitContainerControl1";
+ this.ssc_main.SplitterMoved += new System.EventHandler(this.OnMainSplitterMoved);
+ //
+ // ssc_main_top
+ //
+ this.ssc_main_top.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.ssc_main_top.Appearance.Options.UseBackColor = true;
+ this.ssc_main_top.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel1;
+ this.ssc_main_top.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ssc_main_top.Location = new System.Drawing.Point(0, 0);
+ this.ssc_main_top.Name = "ssc_main_top";
+ 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.SplitterPosition = 1;
+ this.ssc_main_top.TabIndex = 1;
+ this.ssc_main_top.Text = "splitContainerControl1";
+ this.ssc_main_top.SplitterMoved += new System.EventHandler(this.OnTopSplitterMoved);
+ //
+ // pl_main
+ //
+ this.pl_main.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.pl_main.Appearance.Options.UseBackColor = true;
+ this.pl_main.Controls.Add(this.pl_main_center);
+ this.pl_main.Controls.Add(this.pl_main_bottom);
+ this.pl_main.Controls.Add(this.pl_main_top);
+ 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.TabIndex = 1;
+ //
+ // pl_main_center
+ //
+ this.pl_main_center.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.pl_main_center.Appearance.Options.UseBackColor = true;
+ this.pl_main_center.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+ this.pl_main_center.Controls.Add(this.pl_main_center_detail);
+ this.pl_main_center.Controls.Add(this.pl_Right);
+ this.pl_main_center.Controls.Add(this.pl_main_center_master);
+ 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.Name = "pl_main_center";
+ this.pl_main_center.Size = new System.Drawing.Size(1501, 620);
+ this.pl_main_center.TabIndex = 2;
+ //
+ // pl_main_center_detail
+ //
+ this.pl_main_center_detail.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.pl_main_center_detail.Appearance.Options.UseBackColor = true;
+ this.pl_main_center_detail.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+ this.pl_main_center_detail.Controls.Add(this.gcMain);
+ this.pl_main_center_detail.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.pl_main_center_detail.Location = new System.Drawing.Point(0, 224);
+ this.pl_main_center_detail.Name = "pl_main_center_detail";
+ this.pl_main_center_detail.Size = new System.Drawing.Size(1501, 396);
+ this.pl_main_center_detail.TabIndex = 8;
+ //
+ // gcMain
+ //
+ this.gcMain.AdapterObj = null;
+ this.gcMain.BackColor = System.Drawing.Color.Transparent;
+ this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.gcMain.Location = new System.Drawing.Point(0, 0);
+ 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, 396);
+ this.gcMain.TabIndex = 0;
+ //
+ // pl_Right
+ //
+ this.pl_Right.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.pl_Right.Appearance.Options.UseBackColor = true;
+ this.pl_Right.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+ this.pl_Right.Controls.Add(this.groupBox1);
+ this.pl_Right.Dock = System.Windows.Forms.DockStyle.Top;
+ this.pl_Right.Location = new System.Drawing.Point(0, 164);
+ this.pl_Right.Name = "pl_Right";
+ this.pl_Right.Padding = new System.Windows.Forms.Padding(0, 0, 0, 5);
+ this.pl_Right.Size = new System.Drawing.Size(1501, 60);
+ this.pl_Right.TabIndex = 7;
+ //
+ // groupBox1
+ //
+ this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.groupBox1.Font = new System.Drawing.Font("Tahoma", 1F);
+ this.groupBox1.Location = new System.Drawing.Point(0, 0);
+ this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 3, 3, 5);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(1501, 55);
+ this.groupBox1.TabIndex = 0;
+ this.groupBox1.TabStop = false;
+ //
+ // pl_main_center_master
+ //
+ this.pl_main_center_master.AutoScroll = false;
+ this.pl_main_center_master.Controls.Add(this.pl_treeview_detault_search);
+ this.pl_main_center_master.Dock = System.Windows.Forms.DockStyle.Top;
+ this.pl_main_center_master.Location = new System.Drawing.Point(0, 0);
+ this.pl_main_center_master.Name = "pl_main_center_master";
+ this.pl_main_center_master.Size = new System.Drawing.Size(1501, 164);
+ this.pl_main_center_master.TabIndex = 6;
+ this.pl_main_center_master.Click += new System.EventHandler(this.OnMainFocusAfter);
+ //
+ // pl_treeview_detault_search
+ //
+ this.pl_treeview_detault_search.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.pl_treeview_detault_search.Appearance.Options.UseBackColor = true;
+ 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.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.TabIndex = 24;
+ this.pl_treeview_detault_search.Visible = false;
+ //
+ // panelControl4
+ //
+ this.panelControl4.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+ this.panelControl4.Controls.Add(this.textEdit1);
+ this.panelControl4.Controls.Add(this.lceCombobox);
+ this.panelControl4.Dock = System.Windows.Forms.DockStyle.Fill;
+ 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.TabIndex = 25;
+ //
+ // textEdit1
+ //
+ this.textEdit1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.textEdit1.Location = new System.Drawing.Point(113, 4);
+ this.textEdit1.MenuManager = this.barManager1;
+ 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.TabIndex = 5;
+ //
+ // barManager1
+ //
+ this.barManager1.DockControls.Add(this.barDockControl1);
+ this.barManager1.DockControls.Add(this.barDockControl2);
+ this.barManager1.DockControls.Add(this.barDockControl3);
+ this.barManager1.DockControls.Add(this.barDockControl5);
+ this.barManager1.Form = this;
+ this.barManager1.MaxItemId = 0;
+ //
+ // barDockControl1
+ //
+ this.barDockControl1.CausesValidation = false;
+ this.barDockControl1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.barDockControl1.Location = new System.Drawing.Point(0, 0);
+ this.barDockControl1.Size = new System.Drawing.Size(1511, 0);
+ //
+ // barDockControl2
+ //
+ this.barDockControl2.CausesValidation = false;
+ this.barDockControl2.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.barDockControl2.Location = new System.Drawing.Point(0, 730);
+ this.barDockControl2.Size = new System.Drawing.Size(1511, 0);
+ //
+ // barDockControl3
+ //
+ this.barDockControl3.CausesValidation = false;
+ this.barDockControl3.Dock = System.Windows.Forms.DockStyle.Left;
+ this.barDockControl3.Location = new System.Drawing.Point(0, 0);
+ this.barDockControl3.Size = new System.Drawing.Size(0, 730);
+ //
+ // barDockControl5
+ //
+ this.barDockControl5.CausesValidation = false;
+ this.barDockControl5.Dock = System.Windows.Forms.DockStyle.Right;
+ this.barDockControl5.Location = new System.Drawing.Point(1511, 0);
+ this.barDockControl5.Size = new System.Drawing.Size(0, 730);
+ //
+ // lceCombobox
+ //
+ this.lceCombobox.BackColor = System.Drawing.SystemColors.Control;
+ this.lceCombobox.Dock = System.Windows.Forms.DockStyle.Left;
+ this.lceCombobox.EditText = "";
+ this.lceCombobox.Font = new System.Drawing.Font("宋体", 9F);
+ 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.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.TabIndex = 4;
+ //
+ // panelControl3
+ //
+ 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.Name = "panelControl3";
+ this.panelControl3.Padding = new System.Windows.Forms.Padding(3);
+ this.panelControl3.Size = new System.Drawing.Size(96, 19);
+ this.panelControl3.TabIndex = 25;
+ //
+ // btnTreeSearch
+ //
+ this.btnTreeSearch.AllowFocus = false;
+ 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.Name = "btnTreeSearch";
+ this.btnTreeSearch.Size = new System.Drawing.Size(60, 13);
+ this.btnTreeSearch.TabIndex = 21;
+ this.btnTreeSearch.Text = "查询";
+ //
+ // pl_main_bottom
+ //
+ this.pl_main_bottom.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.pl_main_bottom.Appearance.Options.UseBackColor = true;
+ this.pl_main_bottom.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+ this.pl_main_bottom.Controls.Add(this.btnPrint);
+ this.pl_main_bottom.Controls.Add(this.pl_templete);
+ this.pl_main_bottom.Controls.Add(this.pl_input);
+ this.pl_main_bottom.Controls.Add(this.btnBillAdd);
+ this.pl_main_bottom.Controls.Add(this.btnBillApply);
+ 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.Name = "pl_main_bottom";
+ this.pl_main_bottom.Size = new System.Drawing.Size(1501, 63);
+ this.pl_main_bottom.TabIndex = 1;
+ //
+ // btnPrint
+ //
+ this.btnPrint.AllowFocus = false;
+ 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("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnPrint.Appearance.Options.UseFont = true;
+ this.btnPrint.Location = new System.Drawing.Point(1424, 11);
+ this.btnPrint.Name = "btnPrint";
+ this.btnPrint.Size = new System.Drawing.Size(67, 45);
+ this.btnPrint.TabIndex = 30;
+ this.btnPrint.Text = "打印单据";
+ this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
+ //
+ // pl_templete
+ //
+ this.pl_templete.Controls.Add(this.cb_templete);
+ this.pl_templete.Controls.Add(this.lbl_templete);
+ this.pl_templete.Location = new System.Drawing.Point(3, 3);
+ this.pl_templete.LookAndFeel.SkinName = "VS2010";
+ this.pl_templete.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Style3D;
+ this.pl_templete.Name = "pl_templete";
+ this.pl_templete.Size = new System.Drawing.Size(195, 29);
+ this.pl_templete.TabIndex = 29;
+ this.pl_templete.Visible = false;
+ //
+ // cb_templete
+ //
+ this.cb_templete.Location = new System.Drawing.Point(58, 4);
+ this.cb_templete.Name = "cb_templete";
+ this.cb_templete.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ 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.TabIndex = 19;
+ this.cb_templete.QueryCloseUp += new System.ComponentModel.CancelEventHandler(this.cb_templete_QueryCloseUp);
+ this.cb_templete.Click += new System.EventHandler(this.OnTempleteClick);
+ //
+ // lbl_templete
+ //
+ 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.TabIndex = 16;
+ this.lbl_templete.Text = "选择模版";
+ //
+ // pl_input
+ //
+ this.pl_input.Controls.Add(this.cb_input);
+ this.pl_input.Controls.Add(this.txt_input);
+ this.pl_input.Controls.Add(this.labelControl2);
+ this.pl_input.Controls.Add(this.btn_input);
+ this.pl_input.Location = new System.Drawing.Point(3, 3);
+ this.pl_input.LookAndFeel.SkinName = "VS2010";
+ this.pl_input.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Style3D;
+ this.pl_input.Name = "pl_input";
+ this.pl_input.Size = new System.Drawing.Size(280, 29);
+ this.pl_input.TabIndex = 27;
+ this.pl_input.Visible = false;
+ //
+ // cb_input
+ //
+ this.cb_input.Location = new System.Drawing.Point(58, 4);
+ this.cb_input.Name = "cb_input";
+ this.cb_input.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ 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.TabIndex = 19;
+ //
+ // txt_input
+ //
+ this.txt_input.Location = new System.Drawing.Point(149, 4);
+ this.txt_input.MenuManager = this.barManager1;
+ 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.TabIndex = 18;
+ this.txt_input.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnInputKeyDown);
+ //
+ // labelControl2
+ //
+ 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.TabIndex = 16;
+ this.labelControl2.Text = "快速录入";
+ //
+ // btn_input
+ //
+ this.btn_input.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_input.Appearance.Options.UseFont = true;
+ this.btn_input.Location = new System.Drawing.Point(249, 4);
+ this.btn_input.Name = "btn_input";
+ this.btn_input.Size = new System.Drawing.Size(27, 21);
+ this.btn_input.TabIndex = 13;
+ this.btn_input.Text = ">>";
+ this.btn_input.Click += new System.EventHandler(this.OnInputClick);
+ //
+ // btnBillAdd
+ //
+ this.btnBillAdd.AllowFocus = false;
+ 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("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnBillAdd.Appearance.Options.UseFont = true;
+ this.btnBillAdd.Location = new System.Drawing.Point(1136, 11);
+ this.btnBillAdd.Name = "btnBillAdd";
+ this.btnBillAdd.Size = new System.Drawing.Size(67, 45);
+ this.btnBillAdd.TabIndex = 19;
+ this.btnBillAdd.Text = "新建单据";
+ this.btnBillAdd.Click += new System.EventHandler(this.OnBillAddClick);
+ //
+ // btnBillApply
+ //
+ this.btnBillApply.AllowFocus = false;
+ 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("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnBillApply.Appearance.Options.UseFont = true;
+ this.btnBillApply.Location = new System.Drawing.Point(1352, 11);
+ this.btnBillApply.Name = "btnBillApply";
+ this.btnBillApply.Size = new System.Drawing.Size(67, 45);
+ this.btnBillApply.TabIndex = 25;
+ this.btnBillApply.Text = "提交单据";
+ this.btnBillApply.Click += new System.EventHandler(this.OnBillApplyClick);
+ //
+ // btnDelete
+ //
+ this.btnDelete.AllowFocus = false;
+ 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("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnDelete.Appearance.Options.UseFont = true;
+ this.btnDelete.Location = new System.Drawing.Point(1208, 11);
+ this.btnDelete.Name = "btnDelete";
+ this.btnDelete.Size = new System.Drawing.Size(67, 45);
+ this.btnDelete.TabIndex = 20;
+ this.btnDelete.Text = "删除记录";
+ this.btnDelete.Click += new System.EventHandler(this.OnDeleteClick);
+ //
+ // btnBillSave
+ //
+ this.btnBillSave.AllowFocus = false;
+ 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("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnBillSave.Appearance.Options.UseFont = true;
+ this.btnBillSave.Location = new System.Drawing.Point(1280, 11);
+ this.btnBillSave.Name = "btnBillSave";
+ this.btnBillSave.Size = new System.Drawing.Size(67, 45);
+ this.btnBillSave.TabIndex = 21;
+ this.btnBillSave.Text = "保存单据";
+ this.btnBillSave.Click += new System.EventHandler(this.OnBillSaveClick);
+ //
+ // pl_main_top
+ //
+ this.pl_main_top.Appearance.BackColor = System.Drawing.SystemColors.Control;
+ this.pl_main_top.Appearance.Options.UseBackColor = true;
+ this.pl_main_top.Controls.Add(this.pl_main_top_center);
+ 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.Name = "pl_main_top";
+ this.pl_main_top.Size = new System.Drawing.Size(1501, 38);
+ this.pl_main_top.TabIndex = 0;
+ //
+ // pl_main_top_center
+ //
+ this.pl_main_top_center.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.pl_main_top_center.Appearance.Options.UseBackColor = true;
+ 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.Name = "pl_main_top_center";
+ this.pl_main_top_center.Size = new System.Drawing.Size(891, 34);
+ this.pl_main_top_center.TabIndex = 3;
+ //
+ // lbTitle
+ //
+ this.lbTitle.BackColor = System.Drawing.Color.Transparent;
+ this.lbTitle.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.lbTitle.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ 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.TabIndex = 1;
+ this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.lbTitle.Paint += new System.Windows.Forms.PaintEventHandler(this.OnLabelTitlePaint);
+ //
+ // pl_main_top_right
+ //
+ this.pl_main_top_right.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.pl_main_top_right.Appearance.Options.UseBackColor = true;
+ this.pl_main_top_right.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+ 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.Name = "pl_main_top_right";
+ this.pl_main_top_right.Size = new System.Drawing.Size(406, 34);
+ this.pl_main_top_right.TabIndex = 2;
+ //
+ // lblOrderNo
+ //
+ this.lblOrderNo.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.lblOrderNo.Appearance.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Underline);
+ 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.TabIndex = 1;
+ this.lblOrderNo.Text = "XTC170112010001";
+ //
+ // labelControl1
+ //
+ this.labelControl1.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.labelControl1.Appearance.Font = new System.Drawing.Font("宋体", 12F);
+ 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.TabIndex = 0;
+ this.labelControl1.Text = "单据编号:";
+ //
+ // pl_main_top_left
+ //
+ this.pl_main_top_left.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.pl_main_top_left.Appearance.Options.UseBackColor = true;
+ this.pl_main_top_left.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+ 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.Name = "pl_main_top_left";
+ this.pl_main_top_left.Size = new System.Drawing.Size(200, 34);
+ this.pl_main_top_left.TabIndex = 1;
+ //
+ // pl_red
+ //
+ this.pl_red.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.pl_red.Appearance.Options.UseBackColor = true;
+ this.pl_red.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+ this.pl_red.Controls.Add(this.rdRed);
+ 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.TabIndex = 3;
+ //
+ // rdRed
+ //
+ this.rdRed.AutoSize = true;
+ this.rdRed.Font = new System.Drawing.Font("宋体", 12F);
+ 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.TabIndex = 3;
+ this.rdRed.Text = "销售退货";
+ this.rdRed.UseVisualStyleBackColor = true;
+ this.rdRed.Click += new System.EventHandler(this.OnRedStateClick);
+ //
+ // pl_blue
+ //
+ this.pl_blue.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.pl_blue.Appearance.Options.UseBackColor = true;
+ this.pl_blue.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+ this.pl_blue.Controls.Add(this.rdBlue);
+ 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.TabIndex = 2;
+ //
+ // rdBlue
+ //
+ this.rdBlue.AutoSize = true;
+ this.rdBlue.Checked = true;
+ this.rdBlue.Font = new System.Drawing.Font("宋体", 12F);
+ 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.TabIndex = 2;
+ this.rdBlue.TabStop = true;
+ this.rdBlue.Text = "销售出库";
+ this.rdBlue.UseVisualStyleBackColor = true;
+ this.rdBlue.Click += new System.EventHandler(this.OnBlueStateClick);
+ //
+ // pMprint
+ //
+ this.pMprint.Manager = this.barManager1;
+ this.pMprint.Name = "pMprint";
+ //
+ // pmFP
+ //
+ this.pmFP.Manager = this.barManager1;
+ this.pmFP.Name = "pmFP";
+ //
+ // pmBillExp
+ //
+ this.pmBillExp.Manager = this.barManager1;
+ this.pmBillExp.Name = "pmBillExp";
+ //
+ // pmBill
+ //
+ this.pmBill.Manager = this.barManager1;
+ this.pmBill.Name = "pmBill";
+ //
+ // pMenu
+ //
+ this.pMenu.Manager = this.barManager1;
+ this.pMenu.Name = "pMenu";
+ //
+ // BillModule
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ this.Controls.Add(this.ssc_main);
+ this.Controls.Add(this.barDockControl3);
+ this.Controls.Add(this.barDockControl5);
+ this.Controls.Add(this.barDockControl2);
+ this.Controls.Add(this.barDockControl1);
+ this.Name = "BillModule";
+ this.Size = new System.Drawing.Size(1511, 730);
+ this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnFrmMainKeyDown);
+ ((System.ComponentModel.ISupportInitialize)(this.ssc_main)).EndInit();
+ this.ssc_main.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.ssc_main_top)).EndInit();
+ this.ssc_main_top.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main)).EndInit();
+ this.pl_main.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_center)).EndInit();
+ this.pl_main_center.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_center_detail)).EndInit();
+ this.pl_main_center_detail.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pl_Right)).EndInit();
+ this.pl_Right.ResumeLayout(false);
+ this.pl_main_center_master.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pl_treeview_detault_search)).EndInit();
+ this.pl_treeview_detault_search.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
+ this.panelControl4.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
+ this.panelControl3.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_bottom)).EndInit();
+ this.pl_main_bottom.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pl_templete)).EndInit();
+ this.pl_templete.ResumeLayout(false);
+ this.pl_templete.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.cb_templete.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_input)).EndInit();
+ this.pl_input.ResumeLayout(false);
+ this.pl_input.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.cb_input.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_input.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_top)).EndInit();
+ this.pl_main_top.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_top_center)).EndInit();
+ this.pl_main_top_center.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_top_right)).EndInit();
+ this.pl_main_top_right.ResumeLayout(false);
+ this.pl_main_top_right.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_main_top_left)).EndInit();
+ this.pl_main_top_left.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pl_red)).EndInit();
+ this.pl_red.ResumeLayout(false);
+ this.pl_red.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pl_blue)).EndInit();
+ this.pl_blue.ResumeLayout(false);
+ this.pl_blue.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pMprint)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pmFP)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pmBillExp)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pmBill)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pMenu)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+
+ #endregion
+ private DevExpress.XtraBars.PopupMenu pMenu;
+ private DevExpress.XtraBars.BarManager barManager1;
+ private DevExpress.XtraBars.BarDockControl barDockControl1;
+ private DevExpress.XtraBars.BarDockControl barDockControl2;
+ private DevExpress.XtraBars.BarDockControl barDockControl3;
+ private DevExpress.XtraBars.BarDockControl barDockControl5;
+ private DevExpress.XtraEditors.SplitContainerControl ssc_main;
+ private DevExpress.XtraEditors.SplitContainerControl ssc_main_top;
+ private DevExpress.XtraBars.PopupMenu pmBillExp;
+ private DevExpress.XtraBars.PopupMenu pmBill;
+ private DevExpress.XtraBars.PopupMenu pMprint;
+ private DevExpress.XtraEditors.PanelControl pl_main;
+ private DevExpress.XtraEditors.PanelControl pl_main_center;
+ private DevExpress.XtraEditors.XtraScrollableControl pl_main_center_master;
+ private DevExpress.XtraEditors.PanelControl pl_treeview_detault_search;
+ private DevExpress.XtraEditors.PanelControl panelControl4;
+ private DevExpress.XtraEditors.TextEdit textEdit1;
+ private Control.LabelComboxEdit lceCombobox;
+ private DevExpress.XtraEditors.PanelControl panelControl3;
+ private DevExpress.XtraEditors.SimpleButton btnTreeSearch;
+ public DevExpress.XtraEditors.PanelControl pl_main_bottom;
+ private DevExpress.XtraEditors.PanelControl pl_templete;
+ private DevExpress.XtraEditors.ComboBoxEdit cb_templete;
+ private DevExpress.XtraEditors.LabelControl lbl_templete;
+ private DevExpress.XtraEditors.PanelControl pl_input;
+ private DevExpress.XtraEditors.ComboBoxEdit cb_input;
+ private DevExpress.XtraEditors.LabelControl labelControl2;
+ private DevExpress.XtraEditors.SimpleButton btn_input;
+ private DevExpress.XtraEditors.SimpleButton btnBillApply;
+ private DevExpress.XtraEditors.SimpleButton btnDelete;
+ private DevExpress.XtraEditors.SimpleButton btnBillSave;
+ private DevExpress.XtraEditors.PanelControl pl_main_top;
+ private DevExpress.XtraEditors.PanelControl pl_main_top_center;
+ private System.Windows.Forms.Label lbTitle;
+ private DevExpress.XtraEditors.PanelControl pl_main_top_right;
+ private DevExpress.XtraEditors.LabelControl lblOrderNo;
\ No newline at end of file
diff --git a/插件库/Lskj.PubBillSpecial/BillModule.cs b/插件库/Lskj.PubBillSpecial/BillModule.cs
new file mode 100644
index 0000000..c79e3ec
--- /dev/null
+++ b/插件库/Lskj.PubBillSpecial/BillModule.cs
@@ -0,0 +1,6516 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using Lskj.Control;
+using Lskj.Model;
+using Lskj.Control.Model;
+using Lskj.Util;
+using Lskj.Business.Impl;
+using DevExpress.XtraGrid.Views.Grid;
+using Lskj.Data;
+using DevExpress.XtraBars;
+using DevExpress.XtraTab;
+using DevExpress.XtraEditors;
+using System.Collections;
+using Lskj.PubBillSpecial.Model;
+using DevExpress.Data;
+using DevExpress.XtraGrid.Columns;
+using System.IO;
+using Lskj.Business;
+using System.Text.RegularExpressions;
+using DevExpress.XtraTreeList.Nodes;
+using DevExpress.XtraEditors.Repository;
+using DevExpress.XtraGrid.Views.Base;
+using System.Threading;
+using DevExpress.XtraGrid.Views.Grid.ViewInfo;
+using Lskj.Core;
+using DevExpress.XtraTreeList.Columns;
+using System.Threading.Tasks;
+using DevExpress.Utils;
+using System.Data.SqlClient;
+using Newtonsoft.Json.Linq;
+using Newtonsoft.Json;
+
+namespace Lskj.PubBillSpecial
+{
+ public partial class BillModule : UserControl
+ {
+ ///
+ /// 是否为初始化创建
+ ///
+ private bool _isInitFinish;
+ ///
+ /// 是否加载右侧控件数据
+ ///
+ private bool _isLoadRightControlValue = true;
+ ///
+ /// 是否手动选择了模版
+ ///
+ private bool _isSelectedTemplete;
+ ///
+ /// 是否直接打印
+ ///
+ private bool _isExcPrint;
+ ///
+ /// 是否选择关联下发
+ ///
+ private bool _isCheck;
+ ///
+ /// 主打印Sql
+ ///
+ private string _mainPrintSql;
+ private string guidField = "xxxxx_guid";
+ ///
+ /// 主键字段
+ ///
+ private string mRecordPrimaryField;
+ ///
+ /// 单据水印
+ ///
+ private WaterMark _waterMark;
+ ///
+ /// 导入单据明细数据、导入单据明细并更新
+ ///
+ private BarButtonItem _itemImport, _itemImportUpdate;
+ ///
+ /// 打印主sql中关联打印次数返回条件
+ ///
+ private string _printModeCond;
+ ///
+ /// 打印完成后添加数据用到的参数: 表名,列前缀,主键字段,主键值,模块编号,主打印Sql
+ ///
+ private List _printSaveParams;
+ ///
+ /// 单据明细列
+ ///
+ private DataTable _detailColumns;
+ private bool IsCopying = false;
+ ///
+ /// 单据来源明细拖拽删除当前行数据集合
+ ///
+ private List RemoveRowitem = new List();
+
+ protected DataRow BillRowItem;
+ ///
+ /// 主表控件
+ ///
+ public MyControl ControlObj;
+ ///
+ /// 入口参数
+ ///
+ protected DynamicBillModel SysModel;
+ ///
+ /// 是否为Brp模版
+ ///
+ /// true if this instance is BRP templete; otherwise, false.
+ protected bool IsBrpTemplete { get { return SysModel is DynamicBillBrpModel; } }
+ ///
+ ///
+ ///
+ public BillModel BillModel;
+ ///
+ /// 快速扫码控件
+ ///
+ /// The main bottom input object.
+ public PanelControl MainBottomInputObj { get { return this.pl_input; } }
+ ///
+ /// Brp模版控件
+ ///
+ /// The main bottom templete object.
+ public PanelControl MainBottomTempleteObj { get { return this.pl_templete; } }
+ ///
+ /// 明细表格数据
+ ///
+ /// The main bottom templete object.
+ public GridControlEx gcMainDetilObj { get { return this.gcMain; } }
+
+ ///
+ /// Brp模版控件
+ ///
+ /// 扫码框
+ public TextEdit txtinputobj { get { return this.txt_input; } }
+ ///
+ /// 数量名称
+ ///
+ public string NumberMc;
+ ///
+ /// 红字单据的分配管理模块
+ ///
+ public string rdRedUnionCode;
+ ///
+ /// 蓝字单据的分配管理模块
+ ///
+ public string rdBlueUnionCode;
+ ///
+ /// 蓝字单据的分配管理模块
+ ///
+ Dictionary pageNumKey = new Dictionary();
+ ///
+ /// 是否拖拽换行展示
+ ///
+ public bool isDragWrap = true;
+ ///
+ /// 触发主表改变刷新来源限制
+ ///
+ private bool IsBillMaster = true;
+ ///
+ /// 是否执行了加载储存过程
+ ///
+ //public bool ProcessExists = false;
+ ///
+ /// 保存或修改时报错信息
+ ///
+ public string SaveErrorMessage = string.Empty;
+ ///
+ /// 单据明细删除的行
+ ///
+ // private Dictionary ToWithdrawRows = new Dictionary();
+ private List> ToWithdrawRows = new List>();
+ ///
+ ///改变颜色行
+ ///
+ private List ChangeColorRow = new List();
+ ///
+ ///
+ ///
+ public string AssociatedField = string.Empty;
+ ///
+ /// 注册设置公共事件私有类
+ ///
+ private static PubEvenImpl _eventHandler;
+ ///
+ /// 注册设置公共事件类
+ ///
+ private static PubEvenImpl eventHandler;
+ ///
+ /// 当前人员是否有导出权限
+ ///
+ public bool ExportPermission;
+ ///
+ /// 是否显示单据管理条数
+ ///
+ public bool IsBillShowCount = false;
+ ///
+ /// 来源明细的页面名字后缀(设置成全局变量,更好的处理语言翻译的情况)
+ ///
+ public string DetailedSuffix = Business.Impl.LanguageTranslation.Translatable ? Business.Impl.LanguageTranslation.GetTranslatedText("-明细") : "-明细";
+ ///
+ /// 单据来源控件集合
+ ///
+ public Dictionary BillModuleModelDic = new Dictionary();
+ ///
+ /// 主表动态生成的日期列
+ ///
+ public List DateColumnList = new List();
+ ///
+ /// 主表动态生成的合计列
+ ///
+ public GridColumn SumGridColumn = new GridColumn();
+
+ ///
+ /// 是否已经添加了多行汇总
+ ///
+ public bool MultiLineSummary;
+ ///
+ /// 扫码框
+ ///
+ public TextEdit ScanCodeTextEdit = null;
+
+ public BillModule()
+ {
+ InitializeComponent();
+ }
+
+ #region 初始化操作
+ ///
+ /// 说明:窗口加载
+ /// 创建人:龚宇超
+ /// 创建日期:2017-11-23
+ /// 修改人:
+ /// 修改日期:
+ /// 修改备注:
+ /// 版本:1.0
+ ///
+ /// The instance containing the event data.
+ public void OnLoad(DynamicBillModel Model)
+ {
+ try
+ {
+ this.SysModel = Model;// 单据动态链接库参数,入口参数
+ this._isInitFinish = false;// 是否为初始化创建
+ this.ssc_main.Visible = false; //获取或设置一个值,该值指示是否显示该控件及其所有子控件。
+ //this.ProcessExists = (Lskj.Data.Caches.CacheSYSConfig.Instance().JudgeProcessExists() && SystemInfo.Instance.isExecload);
+
+ if (true)//5.0控件样式
+ {
+ this.pl_main_bottom.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+ this.pl_main_bottom.BackColor = Color.FromArgb(240, 240, 240);
+ this.pl_main_bottom.LookAndFeel.UseDefaultLookAndFeel = false;
+ this.pl_main_bottom.LookAndFeel.UseWindowsXPTheme = true;
+ }
+
+ Dictionary