2021-06-05 17:08:16 +08:00
|
|
|
|
|
|
|
|
using DevExpress.XtraEditors;
|
|
|
|
|
using DevExpress.XtraLayout;
|
|
|
|
|
using DevExpress.XtraTab;
|
|
|
|
|
|
|
|
|
|
namespace MES.Form
|
|
|
|
|
{
|
|
|
|
|
partial class Frmrequisition
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
|
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.repositoryItemtxtdeptid = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
|
|
|
|
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.repositoryItemtxtcreatorId = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
|
|
|
|
this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
|
|
|
|
|
this.tabDataList = new DevExpress.XtraTab.XtraTabPage();
|
|
|
|
|
this.grdList = new DevExpress.XtraGrid.GridControl();
|
|
|
|
|
this.grdListView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
|
|
this.tabDataDetail = new DevExpress.XtraTab.XtraTabPage();
|
|
|
|
|
this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
|
|
|
|
|
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
|
|
|
|
this.txtdeptid = new DevExpress.XtraEditors.TreeListLookUpEdit();
|
|
|
|
|
this.treeListLookUpEdit1TreeList = new DevExpress.XtraTreeList.TreeList();
|
|
|
|
|
this.xtraTabControl2 = new DevExpress.XtraTab.XtraTabControl();
|
|
|
|
|
this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
|
|
|
|
|
this.gridControl1 = new DevExpress.XtraGrid.GridControl();
|
|
|
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
|
|
|
this.toolStripMenuItemAdd = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.toolStripMenuItemDel = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
|
|
this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.repositoryItemLookUpEditmaterialid = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
|
|
|
|
this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.repositoryItemLookUpEditmaterialunit = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
|
|
|
|
this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.repositoryItemLookUpEditwarehouse = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
|
|
|
|
this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn();
|
2021-06-08 08:31:02 +08:00
|
|
|
this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn();
|
2021-06-05 17:08:16 +08:00
|
|
|
this.txtid = new DevExpress.XtraEditors.TextEdit();
|
|
|
|
|
this.txtrequisitioncode = new DevExpress.XtraEditors.TextEdit();
|
|
|
|
|
this.txtrequisitiondate = new DevExpress.XtraEditors.DateEdit();
|
|
|
|
|
this.txtdeliverdate = new DevExpress.XtraEditors.DateEdit();
|
|
|
|
|
this.txtcreatorId = new DevExpress.XtraEditors.LookUpEdit();
|
|
|
|
|
this.txttotalprice = new DevExpress.XtraEditors.TextEdit();
|
|
|
|
|
this.txtremark = new DevExpress.XtraEditors.TextEdit();
|
|
|
|
|
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
|
|
|
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
|
|
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
|
|
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
|
|
this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
|
|
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
|
|
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
|
|
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
|
|
this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
|
|
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtdeptid)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcreatorId)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
|
|
|
|
|
this.xtraTabControl1.SuspendLayout();
|
|
|
|
|
this.tabDataList.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.grdList)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.grdListView)).BeginInit();
|
|
|
|
|
this.tabDataDetail.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
|
|
|
|
|
this.panelControl2.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
|
|
|
|
this.layoutControl1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtdeptid.Properties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.treeListLookUpEdit1TreeList)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).BeginInit();
|
|
|
|
|
this.xtraTabControl2.SuspendLayout();
|
|
|
|
|
this.xtraTabPage2.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
|
|
|
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditmaterialid)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditmaterialunit)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditwarehouse)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtid.Properties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtrequisitioncode.Properties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtrequisitiondate.Properties.CalendarTimeProperties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtrequisitiondate.Properties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtdeliverdate.Properties.CalendarTimeProperties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtdeliverdate.Properties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtcreatorId.Properties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txttotalprice.Properties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtremark.Properties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// gridColumn1
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn1.Caption = "id";
|
|
|
|
|
this.gridColumn1.FieldName = "id";
|
|
|
|
|
this.gridColumn1.Name = "gridColumn1";
|
|
|
|
|
//
|
|
|
|
|
// gridColumn2
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn2.Caption = "请购单编号";
|
|
|
|
|
this.gridColumn2.FieldName = "requisitioncode";
|
|
|
|
|
this.gridColumn2.Name = "gridColumn2";
|
|
|
|
|
this.gridColumn2.Visible = true;
|
|
|
|
|
this.gridColumn2.VisibleIndex = 0;
|
|
|
|
|
this.gridColumn2.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// gridColumn3
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn3.Caption = "请购部门";
|
|
|
|
|
this.gridColumn3.ColumnEdit = this.repositoryItemtxtdeptid;
|
|
|
|
|
this.gridColumn3.FieldName = "deptid";
|
|
|
|
|
this.gridColumn3.Name = "gridColumn3";
|
|
|
|
|
this.gridColumn3.Visible = true;
|
|
|
|
|
this.gridColumn3.VisibleIndex = 1;
|
|
|
|
|
this.gridColumn3.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// repositoryItemtxtdeptid
|
|
|
|
|
//
|
|
|
|
|
this.repositoryItemtxtdeptid.AutoHeight = false;
|
|
|
|
|
this.repositoryItemtxtdeptid.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
|
|
this.repositoryItemtxtdeptid.DisplayMember = "Name";
|
|
|
|
|
this.repositoryItemtxtdeptid.Name = "repositoryItemtxtdeptid";
|
|
|
|
|
this.repositoryItemtxtdeptid.ValueMember = "ID";
|
|
|
|
|
//
|
|
|
|
|
// gridColumn4
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn4.Caption = "请购日期";
|
|
|
|
|
this.gridColumn4.DisplayFormat.FormatString = "G";
|
|
|
|
|
this.gridColumn4.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
|
|
|
|
this.gridColumn4.FieldName = "requisitiondate";
|
|
|
|
|
this.gridColumn4.Name = "gridColumn4";
|
|
|
|
|
this.gridColumn4.Visible = true;
|
|
|
|
|
this.gridColumn4.VisibleIndex = 2;
|
|
|
|
|
this.gridColumn4.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// gridColumn5
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn5.Caption = "交货日期";
|
|
|
|
|
this.gridColumn5.DisplayFormat.FormatString = "G";
|
|
|
|
|
this.gridColumn5.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
|
|
|
|
this.gridColumn5.FieldName = "deliverdate";
|
|
|
|
|
this.gridColumn5.Name = "gridColumn5";
|
|
|
|
|
this.gridColumn5.Visible = true;
|
|
|
|
|
this.gridColumn5.VisibleIndex = 3;
|
|
|
|
|
this.gridColumn5.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// gridColumn6
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn6.Caption = "制单人";
|
|
|
|
|
this.gridColumn6.ColumnEdit = this.repositoryItemtxtcreatorId;
|
|
|
|
|
this.gridColumn6.FieldName = "creatorId";
|
|
|
|
|
this.gridColumn6.Name = "gridColumn6";
|
|
|
|
|
this.gridColumn6.Visible = true;
|
|
|
|
|
this.gridColumn6.VisibleIndex = 4;
|
|
|
|
|
this.gridColumn6.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// repositoryItemtxtcreatorId
|
|
|
|
|
//
|
|
|
|
|
this.repositoryItemtxtcreatorId.AutoHeight = false;
|
|
|
|
|
this.repositoryItemtxtcreatorId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
|
|
this.repositoryItemtxtcreatorId.DisplayMember = "Name";
|
|
|
|
|
this.repositoryItemtxtcreatorId.Name = "repositoryItemtxtcreatorId";
|
|
|
|
|
this.repositoryItemtxtcreatorId.ValueMember = "ID";
|
|
|
|
|
//
|
|
|
|
|
// gridColumn7
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn7.Caption = "金额";
|
|
|
|
|
this.gridColumn7.FieldName = "totalprice";
|
|
|
|
|
this.gridColumn7.Name = "gridColumn7";
|
|
|
|
|
this.gridColumn7.Visible = true;
|
|
|
|
|
this.gridColumn7.VisibleIndex = 5;
|
|
|
|
|
this.gridColumn7.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// gridColumn8
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn8.Caption = "备注";
|
|
|
|
|
this.gridColumn8.FieldName = "remark";
|
|
|
|
|
this.gridColumn8.Name = "gridColumn8";
|
|
|
|
|
this.gridColumn8.Visible = true;
|
|
|
|
|
this.gridColumn8.VisibleIndex = 6;
|
|
|
|
|
this.gridColumn8.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// xtraTabControl1
|
|
|
|
|
//
|
|
|
|
|
this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.xtraTabControl1.Location = new System.Drawing.Point(0, 34);
|
|
|
|
|
this.xtraTabControl1.Name = "xtraTabControl1";
|
|
|
|
|
this.xtraTabControl1.SelectedTabPage = this.tabDataList;
|
2021-07-05 18:26:37 +08:00
|
|
|
this.xtraTabControl1.Size = new System.Drawing.Size(981, 686);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.xtraTabControl1.TabIndex = 1;
|
|
|
|
|
this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
|
|
|
|
|
this.tabDataList,
|
|
|
|
|
this.tabDataDetail});
|
|
|
|
|
//
|
|
|
|
|
// tabDataList
|
|
|
|
|
//
|
|
|
|
|
this.tabDataList.Controls.Add(this.grdList);
|
|
|
|
|
this.tabDataList.Name = "tabDataList";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.tabDataList.Size = new System.Drawing.Size(975, 657);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.tabDataList.Text = "数据列表";
|
|
|
|
|
//
|
|
|
|
|
// grdList
|
|
|
|
|
//
|
|
|
|
|
this.grdList.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.grdList.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.grdList.MainView = this.grdListView;
|
|
|
|
|
this.grdList.Name = "grdList";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.grdList.Size = new System.Drawing.Size(975, 657);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.grdList.TabIndex = 0;
|
|
|
|
|
this.grdList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
|
|
this.grdListView});
|
|
|
|
|
//
|
|
|
|
|
// grdListView
|
|
|
|
|
//
|
|
|
|
|
this.grdListView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
|
|
this.gridColumn1,
|
|
|
|
|
this.gridColumn2,
|
|
|
|
|
this.gridColumn3,
|
|
|
|
|
this.gridColumn4,
|
|
|
|
|
this.gridColumn5,
|
|
|
|
|
this.gridColumn6,
|
|
|
|
|
this.gridColumn7,
|
|
|
|
|
this.gridColumn8});
|
|
|
|
|
this.grdListView.GridControl = this.grdList;
|
|
|
|
|
this.grdListView.Name = "grdListView";
|
|
|
|
|
this.grdListView.OptionsBehavior.Editable = false;
|
|
|
|
|
this.grdListView.OptionsView.ColumnAutoWidth = false;
|
|
|
|
|
//
|
|
|
|
|
// tabDataDetail
|
|
|
|
|
//
|
|
|
|
|
this.tabDataDetail.Controls.Add(this.panelControl2);
|
|
|
|
|
this.tabDataDetail.Name = "tabDataDetail";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.tabDataDetail.Size = new System.Drawing.Size(975, 657);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.tabDataDetail.Text = "数据编辑";
|
|
|
|
|
//
|
|
|
|
|
// panelControl2
|
|
|
|
|
//
|
|
|
|
|
this.panelControl2.Controls.Add(this.layoutControl1);
|
|
|
|
|
this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.panelControl2.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.panelControl2.Name = "panelControl2";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.panelControl2.Size = new System.Drawing.Size(975, 657);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.panelControl2.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// layoutControl1
|
|
|
|
|
//
|
|
|
|
|
this.layoutControl1.Controls.Add(this.txtdeptid);
|
|
|
|
|
this.layoutControl1.Controls.Add(this.xtraTabControl2);
|
|
|
|
|
this.layoutControl1.Controls.Add(this.txtid);
|
|
|
|
|
this.layoutControl1.Controls.Add(this.txtrequisitioncode);
|
|
|
|
|
this.layoutControl1.Controls.Add(this.txtrequisitiondate);
|
|
|
|
|
this.layoutControl1.Controls.Add(this.txtdeliverdate);
|
|
|
|
|
this.layoutControl1.Controls.Add(this.txtcreatorId);
|
|
|
|
|
this.layoutControl1.Controls.Add(this.txttotalprice);
|
|
|
|
|
this.layoutControl1.Controls.Add(this.txtremark);
|
|
|
|
|
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.layoutControl1.Location = new System.Drawing.Point(2, 2);
|
|
|
|
|
this.layoutControl1.Name = "layoutControl1";
|
|
|
|
|
this.layoutControl1.Root = this.layoutControlGroup1;
|
2021-07-09 08:59:14 +08:00
|
|
|
this.layoutControl1.Size = new System.Drawing.Size(971, 653);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControl1.TabIndex = 6;
|
|
|
|
|
this.layoutControl1.Text = "layoutControl1";
|
|
|
|
|
//
|
|
|
|
|
// txtdeptid
|
|
|
|
|
//
|
|
|
|
|
this.txtdeptid.EditValue = "";
|
|
|
|
|
this.txtdeptid.Location = new System.Drawing.Point(75, 36);
|
|
|
|
|
this.txtdeptid.Name = "txtdeptid";
|
|
|
|
|
this.txtdeptid.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
|
|
this.txtdeptid.Properties.DisplayMember = "Name";
|
|
|
|
|
this.txtdeptid.Properties.TreeList = this.treeListLookUpEdit1TreeList;
|
|
|
|
|
this.txtdeptid.Properties.ValueMember = "ID";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.txtdeptid.Size = new System.Drawing.Size(407, 20);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.txtdeptid.StyleController = this.layoutControl1;
|
|
|
|
|
this.txtdeptid.TabIndex = 2;
|
|
|
|
|
//
|
|
|
|
|
// treeListLookUpEdit1TreeList
|
|
|
|
|
//
|
|
|
|
|
this.treeListLookUpEdit1TreeList.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.treeListLookUpEdit1TreeList.Name = "treeListLookUpEdit1TreeList";
|
|
|
|
|
this.treeListLookUpEdit1TreeList.OptionsView.ShowIndentAsRowStyle = true;
|
|
|
|
|
this.treeListLookUpEdit1TreeList.ParentFieldName = "PID";
|
|
|
|
|
this.treeListLookUpEdit1TreeList.Size = new System.Drawing.Size(400, 200);
|
|
|
|
|
this.treeListLookUpEdit1TreeList.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// xtraTabControl2
|
|
|
|
|
//
|
|
|
|
|
this.xtraTabControl2.Location = new System.Drawing.Point(12, 108);
|
|
|
|
|
this.xtraTabControl2.Name = "xtraTabControl2";
|
|
|
|
|
this.xtraTabControl2.SelectedTabPage = this.xtraTabPage2;
|
2021-07-09 08:59:14 +08:00
|
|
|
this.xtraTabControl2.Size = new System.Drawing.Size(947, 533);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.xtraTabControl2.TabIndex = 9;
|
|
|
|
|
this.xtraTabControl2.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
|
|
|
|
|
this.xtraTabPage2});
|
|
|
|
|
//
|
|
|
|
|
// xtraTabPage2
|
|
|
|
|
//
|
|
|
|
|
this.xtraTabPage2.Controls.Add(this.gridControl1);
|
|
|
|
|
this.xtraTabPage2.Name = "xtraTabPage2";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.xtraTabPage2.Size = new System.Drawing.Size(941, 504);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.xtraTabPage2.Text = "请购明细";
|
|
|
|
|
//
|
|
|
|
|
// gridControl1
|
|
|
|
|
//
|
|
|
|
|
this.gridControl1.ContextMenuStrip = this.contextMenuStrip1;
|
|
|
|
|
this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.gridControl1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.gridControl1.MainView = this.gridView1;
|
|
|
|
|
this.gridControl1.Name = "gridControl1";
|
|
|
|
|
this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
|
|
|
this.repositoryItemLookUpEditmaterialid,
|
|
|
|
|
this.repositoryItemLookUpEditmaterialunit,
|
|
|
|
|
this.repositoryItemLookUpEditwarehouse});
|
2021-07-09 08:59:14 +08:00
|
|
|
this.gridControl1.Size = new System.Drawing.Size(941, 504);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.gridControl1.TabIndex = 1;
|
|
|
|
|
this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
|
|
this.gridView1});
|
2021-06-15 18:18:49 +08:00
|
|
|
this.gridControl1.Validated += new System.EventHandler(this.gridControl1_Validated);
|
2021-06-05 17:08:16 +08:00
|
|
|
//
|
|
|
|
|
// contextMenuStrip1
|
|
|
|
|
//
|
|
|
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.toolStripMenuItemAdd,
|
|
|
|
|
this.toolStripMenuItemDel});
|
|
|
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
|
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(101, 48);
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItemAdd
|
|
|
|
|
//
|
|
|
|
|
this.toolStripMenuItemAdd.Name = "toolStripMenuItemAdd";
|
|
|
|
|
this.toolStripMenuItemAdd.Size = new System.Drawing.Size(100, 22);
|
|
|
|
|
this.toolStripMenuItemAdd.Text = "新增";
|
|
|
|
|
this.toolStripMenuItemAdd.Click += new System.EventHandler(this.toolStripMenuItemAdd_Click);
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItemDel
|
|
|
|
|
//
|
|
|
|
|
this.toolStripMenuItemDel.Name = "toolStripMenuItemDel";
|
|
|
|
|
this.toolStripMenuItemDel.Size = new System.Drawing.Size(100, 22);
|
|
|
|
|
this.toolStripMenuItemDel.Text = "删除";
|
|
|
|
|
this.toolStripMenuItemDel.Click += new System.EventHandler(this.toolStripMenuItemDel_Click);
|
|
|
|
|
//
|
|
|
|
|
// gridView1
|
|
|
|
|
//
|
|
|
|
|
this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
|
|
this.gridColumn9,
|
|
|
|
|
this.gridColumn10,
|
|
|
|
|
this.gridColumn11,
|
|
|
|
|
this.gridColumn12,
|
|
|
|
|
this.gridColumn13,
|
|
|
|
|
this.gridColumn14,
|
|
|
|
|
this.gridColumn15,
|
|
|
|
|
this.gridColumn16,
|
|
|
|
|
this.gridColumn17,
|
|
|
|
|
this.gridColumn18,
|
|
|
|
|
this.gridColumn19,
|
|
|
|
|
this.gridColumn20,
|
|
|
|
|
this.gridColumn21});
|
|
|
|
|
this.gridView1.GridControl = this.gridControl1;
|
|
|
|
|
this.gridView1.Name = "gridView1";
|
|
|
|
|
this.gridView1.OptionsBehavior.Editable = false;
|
|
|
|
|
this.gridView1.OptionsView.ShowFooter = true;
|
|
|
|
|
this.gridView1.ValidateRow += new DevExpress.XtraGrid.Views.Base.ValidateRowEventHandler(this.gridView1_ValidateRow);
|
|
|
|
|
this.gridView1.RowUpdated += new DevExpress.XtraGrid.Views.Base.RowObjectEventHandler(this.gridView1_RowUpdated);
|
|
|
|
|
//
|
|
|
|
|
// gridColumn9
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn9.Caption = "id";
|
|
|
|
|
this.gridColumn9.FieldName = "id";
|
|
|
|
|
this.gridColumn9.Name = "gridColumn9";
|
|
|
|
|
//
|
|
|
|
|
// gridColumn10
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn10.Caption = "请购单主表";
|
|
|
|
|
this.gridColumn10.FieldName = "requisitionid";
|
|
|
|
|
this.gridColumn10.Name = "gridColumn10";
|
|
|
|
|
this.gridColumn10.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// gridColumn11
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn11.Caption = "请购单号";
|
|
|
|
|
this.gridColumn11.FieldName = "requisitioncode";
|
|
|
|
|
this.gridColumn11.Name = "gridColumn11";
|
|
|
|
|
this.gridColumn11.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// gridColumn12
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn12.Caption = "物料名称";
|
|
|
|
|
this.gridColumn12.ColumnEdit = this.repositoryItemLookUpEditmaterialid;
|
|
|
|
|
this.gridColumn12.FieldName = "materialid";
|
|
|
|
|
this.gridColumn12.Name = "gridColumn12";
|
|
|
|
|
this.gridColumn12.Visible = true;
|
|
|
|
|
this.gridColumn12.VisibleIndex = 1;
|
|
|
|
|
this.gridColumn12.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// repositoryItemLookUpEditmaterialid
|
|
|
|
|
//
|
|
|
|
|
this.repositoryItemLookUpEditmaterialid.AutoHeight = false;
|
|
|
|
|
this.repositoryItemLookUpEditmaterialid.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
|
|
this.repositoryItemLookUpEditmaterialid.DisplayMember = "Name";
|
|
|
|
|
this.repositoryItemLookUpEditmaterialid.Name = "repositoryItemLookUpEditmaterialid";
|
|
|
|
|
this.repositoryItemLookUpEditmaterialid.NullText = "";
|
|
|
|
|
this.repositoryItemLookUpEditmaterialid.ValueMember = "ID";
|
|
|
|
|
//
|
|
|
|
|
// gridColumn13
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn13.Caption = "物料编码";
|
|
|
|
|
this.gridColumn13.FieldName = "materialcode";
|
|
|
|
|
this.gridColumn13.Name = "gridColumn13";
|
|
|
|
|
this.gridColumn13.OptionsColumn.AllowEdit = false;
|
|
|
|
|
this.gridColumn13.Visible = true;
|
|
|
|
|
this.gridColumn13.VisibleIndex = 2;
|
|
|
|
|
this.gridColumn13.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// gridColumn14
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn14.Caption = "规格型号";
|
|
|
|
|
this.gridColumn14.FieldName = "materialspec";
|
|
|
|
|
this.gridColumn14.Name = "gridColumn14";
|
|
|
|
|
this.gridColumn14.OptionsColumn.AllowEdit = false;
|
|
|
|
|
this.gridColumn14.Visible = true;
|
|
|
|
|
this.gridColumn14.VisibleIndex = 3;
|
|
|
|
|
this.gridColumn14.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// gridColumn15
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn15.Caption = "计量单位";
|
|
|
|
|
this.gridColumn15.ColumnEdit = this.repositoryItemLookUpEditmaterialunit;
|
|
|
|
|
this.gridColumn15.FieldName = "materialunit";
|
|
|
|
|
this.gridColumn15.Name = "gridColumn15";
|
|
|
|
|
this.gridColumn15.OptionsColumn.AllowEdit = false;
|
|
|
|
|
this.gridColumn15.Visible = true;
|
|
|
|
|
this.gridColumn15.VisibleIndex = 4;
|
|
|
|
|
this.gridColumn15.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// repositoryItemLookUpEditmaterialunit
|
|
|
|
|
//
|
|
|
|
|
this.repositoryItemLookUpEditmaterialunit.AutoHeight = false;
|
|
|
|
|
this.repositoryItemLookUpEditmaterialunit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
|
|
this.repositoryItemLookUpEditmaterialunit.DisplayMember = "Name";
|
|
|
|
|
this.repositoryItemLookUpEditmaterialunit.Name = "repositoryItemLookUpEditmaterialunit";
|
|
|
|
|
this.repositoryItemLookUpEditmaterialunit.NullText = "";
|
|
|
|
|
this.repositoryItemLookUpEditmaterialunit.ValueMember = "ID";
|
|
|
|
|
//
|
|
|
|
|
// gridColumn16
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn16.Caption = "请购数量";
|
|
|
|
|
this.gridColumn16.FieldName = "requisitionnumber";
|
|
|
|
|
this.gridColumn16.Name = "gridColumn16";
|
|
|
|
|
this.gridColumn16.Visible = true;
|
|
|
|
|
this.gridColumn16.VisibleIndex = 5;
|
|
|
|
|
this.gridColumn16.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// gridColumn17
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn17.Caption = "单价";
|
|
|
|
|
this.gridColumn17.FieldName = "unitprice";
|
|
|
|
|
this.gridColumn17.Name = "gridColumn17";
|
|
|
|
|
this.gridColumn17.Visible = true;
|
|
|
|
|
this.gridColumn17.VisibleIndex = 6;
|
|
|
|
|
this.gridColumn17.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// gridColumn18
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn18.Caption = "金额";
|
|
|
|
|
this.gridColumn18.FieldName = "money";
|
|
|
|
|
this.gridColumn18.Name = "gridColumn18";
|
|
|
|
|
this.gridColumn18.OptionsColumn.AllowEdit = false;
|
|
|
|
|
this.gridColumn18.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
|
|
|
|
|
new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "money", "总金额={0:0.##}")});
|
|
|
|
|
this.gridColumn18.Visible = true;
|
|
|
|
|
this.gridColumn18.VisibleIndex = 7;
|
|
|
|
|
this.gridColumn18.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// gridColumn19
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn19.Caption = "仓库";
|
|
|
|
|
this.gridColumn19.ColumnEdit = this.repositoryItemLookUpEditwarehouse;
|
|
|
|
|
this.gridColumn19.FieldName = "warehouse";
|
|
|
|
|
this.gridColumn19.Name = "gridColumn19";
|
|
|
|
|
this.gridColumn19.OptionsColumn.AllowEdit = false;
|
|
|
|
|
this.gridColumn19.Visible = true;
|
|
|
|
|
this.gridColumn19.VisibleIndex = 8;
|
|
|
|
|
this.gridColumn19.Width = 201;
|
|
|
|
|
//
|
|
|
|
|
// repositoryItemLookUpEditwarehouse
|
|
|
|
|
//
|
|
|
|
|
this.repositoryItemLookUpEditwarehouse.AutoHeight = false;
|
|
|
|
|
this.repositoryItemLookUpEditwarehouse.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
|
|
this.repositoryItemLookUpEditwarehouse.DisplayMember = "Name";
|
|
|
|
|
this.repositoryItemLookUpEditwarehouse.Name = "repositoryItemLookUpEditwarehouse";
|
|
|
|
|
this.repositoryItemLookUpEditwarehouse.NullText = "";
|
|
|
|
|
this.repositoryItemLookUpEditwarehouse.ValueMember = "ID";
|
|
|
|
|
//
|
|
|
|
|
// gridColumn20
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn20.Caption = "备注";
|
|
|
|
|
this.gridColumn20.FieldName = "remark";
|
|
|
|
|
this.gridColumn20.Name = "gridColumn20";
|
|
|
|
|
this.gridColumn20.Visible = true;
|
|
|
|
|
this.gridColumn20.VisibleIndex = 9;
|
|
|
|
|
this.gridColumn20.Width = 201;
|
|
|
|
|
//
|
2021-06-08 08:31:02 +08:00
|
|
|
// gridColumn21
|
|
|
|
|
//
|
|
|
|
|
this.gridColumn21.Caption = "明细单号";
|
|
|
|
|
this.gridColumn21.FieldName = "requisitiondetailcode";
|
|
|
|
|
this.gridColumn21.Name = "gridColumn21";
|
|
|
|
|
this.gridColumn21.OptionsColumn.ReadOnly = true;
|
|
|
|
|
this.gridColumn21.Visible = true;
|
|
|
|
|
this.gridColumn21.VisibleIndex = 0;
|
|
|
|
|
//
|
2021-06-05 17:08:16 +08:00
|
|
|
// txtid
|
|
|
|
|
//
|
|
|
|
|
this.txtid.Location = new System.Drawing.Point(75, 12);
|
|
|
|
|
this.txtid.Name = "txtid";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.txtid.Size = new System.Drawing.Size(407, 20);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.txtid.StyleController = this.layoutControl1;
|
|
|
|
|
this.txtid.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// txtrequisitioncode
|
|
|
|
|
//
|
2021-07-09 08:59:14 +08:00
|
|
|
this.txtrequisitioncode.Location = new System.Drawing.Point(549, 12);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.txtrequisitioncode.Name = "txtrequisitioncode";
|
2021-07-05 18:26:37 +08:00
|
|
|
this.txtrequisitioncode.Size = new System.Drawing.Size(410, 20);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.txtrequisitioncode.StyleController = this.layoutControl1;
|
|
|
|
|
this.txtrequisitioncode.TabIndex = 2;
|
|
|
|
|
//
|
|
|
|
|
// txtrequisitiondate
|
|
|
|
|
//
|
|
|
|
|
this.txtrequisitiondate.EditValue = null;
|
|
|
|
|
this.txtrequisitiondate.ImeMode = System.Windows.Forms.ImeMode.Off;
|
2021-07-09 08:59:14 +08:00
|
|
|
this.txtrequisitiondate.Location = new System.Drawing.Point(549, 36);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.txtrequisitiondate.Name = "txtrequisitiondate";
|
|
|
|
|
this.txtrequisitiondate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
|
|
this.txtrequisitiondate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton()});
|
|
|
|
|
this.txtrequisitiondate.Properties.DisplayFormat.FormatString = "G";
|
|
|
|
|
this.txtrequisitiondate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
2021-07-05 18:26:37 +08:00
|
|
|
this.txtrequisitiondate.Properties.Mask.EditMask = "G";
|
|
|
|
|
this.txtrequisitiondate.Size = new System.Drawing.Size(410, 20);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.txtrequisitiondate.StyleController = this.layoutControl1;
|
|
|
|
|
this.txtrequisitiondate.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// txtdeliverdate
|
|
|
|
|
//
|
|
|
|
|
this.txtdeliverdate.EditValue = null;
|
|
|
|
|
this.txtdeliverdate.ImeMode = System.Windows.Forms.ImeMode.Off;
|
|
|
|
|
this.txtdeliverdate.Location = new System.Drawing.Point(75, 60);
|
|
|
|
|
this.txtdeliverdate.Name = "txtdeliverdate";
|
|
|
|
|
this.txtdeliverdate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
|
|
this.txtdeliverdate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton()});
|
|
|
|
|
this.txtdeliverdate.Properties.DisplayFormat.FormatString = "G";
|
|
|
|
|
this.txtdeliverdate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
|
|
|
|
this.txtdeliverdate.Properties.EditFormat.FormatString = "G";
|
|
|
|
|
this.txtdeliverdate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
2021-07-05 18:26:37 +08:00
|
|
|
this.txtdeliverdate.Properties.Mask.EditMask = "G";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.txtdeliverdate.Size = new System.Drawing.Size(407, 20);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.txtdeliverdate.StyleController = this.layoutControl1;
|
|
|
|
|
this.txtdeliverdate.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// txtcreatorId
|
|
|
|
|
//
|
|
|
|
|
this.txtcreatorId.EditValue = "";
|
|
|
|
|
this.txtcreatorId.Location = new System.Drawing.Point(75, 84);
|
|
|
|
|
this.txtcreatorId.Name = "txtcreatorId";
|
|
|
|
|
this.txtcreatorId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
|
|
this.txtcreatorId.Properties.DisplayMember = "Name";
|
|
|
|
|
this.txtcreatorId.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains;
|
|
|
|
|
this.txtcreatorId.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
|
|
|
|
|
this.txtcreatorId.Properties.ValueMember = "ID";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.txtcreatorId.Size = new System.Drawing.Size(407, 20);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.txtcreatorId.StyleController = this.layoutControl1;
|
|
|
|
|
this.txtcreatorId.TabIndex = 6;
|
|
|
|
|
//
|
|
|
|
|
// txttotalprice
|
|
|
|
|
//
|
2021-07-09 08:59:14 +08:00
|
|
|
this.txttotalprice.Location = new System.Drawing.Point(549, 60);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.txttotalprice.Name = "txttotalprice";
|
2021-07-05 18:26:37 +08:00
|
|
|
this.txttotalprice.Size = new System.Drawing.Size(410, 20);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.txttotalprice.StyleController = this.layoutControl1;
|
|
|
|
|
this.txttotalprice.TabIndex = 7;
|
|
|
|
|
//
|
|
|
|
|
// txtremark
|
|
|
|
|
//
|
2021-07-09 08:59:14 +08:00
|
|
|
this.txtremark.Location = new System.Drawing.Point(549, 84);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.txtremark.Name = "txtremark";
|
2021-07-05 18:26:37 +08:00
|
|
|
this.txtremark.Size = new System.Drawing.Size(410, 20);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.txtremark.StyleController = this.layoutControl1;
|
|
|
|
|
this.txtremark.TabIndex = 8;
|
|
|
|
|
//
|
|
|
|
|
// layoutControlGroup1
|
|
|
|
|
//
|
|
|
|
|
this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1";
|
|
|
|
|
this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
|
|
|
|
this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
|
|
|
this.layoutControlItem1,
|
|
|
|
|
this.layoutControlItem5,
|
|
|
|
|
this.layoutControlItem6,
|
|
|
|
|
this.layoutControlItem9,
|
|
|
|
|
this.layoutControlItem2,
|
|
|
|
|
this.layoutControlItem4,
|
|
|
|
|
this.layoutControlItem7,
|
|
|
|
|
this.layoutControlItem8,
|
|
|
|
|
this.layoutControlItem3});
|
|
|
|
|
this.layoutControlGroup1.Name = "layoutControlGroup1";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.layoutControlGroup1.Size = new System.Drawing.Size(971, 653);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlGroup1.TextVisible = false;
|
|
|
|
|
//
|
|
|
|
|
// layoutControlItem1
|
|
|
|
|
//
|
|
|
|
|
this.layoutControlItem1.Control = this.txtid;
|
|
|
|
|
this.layoutControlItem1.CustomizationFormText = "id";
|
|
|
|
|
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.layoutControlItem1.Name = "layoutControlItem1";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.layoutControlItem1.Size = new System.Drawing.Size(474, 24);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlItem1.Text = "id";
|
|
|
|
|
this.layoutControlItem1.TextSize = new System.Drawing.Size(60, 14);
|
|
|
|
|
//
|
|
|
|
|
// layoutControlItem5
|
|
|
|
|
//
|
|
|
|
|
this.layoutControlItem5.Control = this.txtdeliverdate;
|
|
|
|
|
this.layoutControlItem5.CustomizationFormText = "交货日期";
|
|
|
|
|
this.layoutControlItem5.Location = new System.Drawing.Point(0, 48);
|
|
|
|
|
this.layoutControlItem5.Name = "layoutControlItem5";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.layoutControlItem5.Size = new System.Drawing.Size(474, 24);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlItem5.Text = "交货日期";
|
|
|
|
|
this.layoutControlItem5.TextSize = new System.Drawing.Size(60, 14);
|
|
|
|
|
//
|
|
|
|
|
// layoutControlItem6
|
|
|
|
|
//
|
|
|
|
|
this.layoutControlItem6.Control = this.txtcreatorId;
|
|
|
|
|
this.layoutControlItem6.CustomizationFormText = "制单人";
|
|
|
|
|
this.layoutControlItem6.Location = new System.Drawing.Point(0, 72);
|
|
|
|
|
this.layoutControlItem6.Name = "layoutControlItem6";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.layoutControlItem6.Size = new System.Drawing.Size(474, 24);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlItem6.Text = "制单人";
|
|
|
|
|
this.layoutControlItem6.TextSize = new System.Drawing.Size(60, 14);
|
|
|
|
|
//
|
|
|
|
|
// layoutControlItem9
|
|
|
|
|
//
|
|
|
|
|
this.layoutControlItem9.Control = this.xtraTabControl2;
|
|
|
|
|
this.layoutControlItem9.Location = new System.Drawing.Point(0, 96);
|
|
|
|
|
this.layoutControlItem9.Name = "layoutControlItem9";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.layoutControlItem9.Size = new System.Drawing.Size(951, 537);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0);
|
|
|
|
|
this.layoutControlItem9.TextVisible = false;
|
|
|
|
|
//
|
|
|
|
|
// layoutControlItem2
|
|
|
|
|
//
|
|
|
|
|
this.layoutControlItem2.Control = this.txtrequisitioncode;
|
|
|
|
|
this.layoutControlItem2.CustomizationFormText = "请购单编号";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.layoutControlItem2.Location = new System.Drawing.Point(474, 0);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlItem2.Name = "layoutControlItem2";
|
2021-07-05 18:26:37 +08:00
|
|
|
this.layoutControlItem2.Size = new System.Drawing.Size(477, 24);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlItem2.Text = "请购单编号";
|
|
|
|
|
this.layoutControlItem2.TextSize = new System.Drawing.Size(60, 14);
|
|
|
|
|
//
|
|
|
|
|
// layoutControlItem4
|
|
|
|
|
//
|
|
|
|
|
this.layoutControlItem4.Control = this.txtrequisitiondate;
|
|
|
|
|
this.layoutControlItem4.CustomizationFormText = "请购日期";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.layoutControlItem4.Location = new System.Drawing.Point(474, 24);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlItem4.Name = "layoutControlItem4";
|
2021-07-05 18:26:37 +08:00
|
|
|
this.layoutControlItem4.Size = new System.Drawing.Size(477, 24);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlItem4.Text = "请购日期";
|
|
|
|
|
this.layoutControlItem4.TextSize = new System.Drawing.Size(60, 14);
|
|
|
|
|
//
|
|
|
|
|
// layoutControlItem7
|
|
|
|
|
//
|
|
|
|
|
this.layoutControlItem7.Control = this.txttotalprice;
|
|
|
|
|
this.layoutControlItem7.CustomizationFormText = "金额";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.layoutControlItem7.Location = new System.Drawing.Point(474, 48);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlItem7.Name = "layoutControlItem7";
|
2021-07-05 18:26:37 +08:00
|
|
|
this.layoutControlItem7.Size = new System.Drawing.Size(477, 24);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlItem7.Text = "金额";
|
|
|
|
|
this.layoutControlItem7.TextSize = new System.Drawing.Size(60, 14);
|
|
|
|
|
//
|
|
|
|
|
// layoutControlItem8
|
|
|
|
|
//
|
|
|
|
|
this.layoutControlItem8.Control = this.txtremark;
|
|
|
|
|
this.layoutControlItem8.CustomizationFormText = "备注";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.layoutControlItem8.Location = new System.Drawing.Point(474, 72);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlItem8.Name = "layoutControlItem8";
|
2021-07-05 18:26:37 +08:00
|
|
|
this.layoutControlItem8.Size = new System.Drawing.Size(477, 24);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlItem8.Text = "备注";
|
|
|
|
|
this.layoutControlItem8.TextSize = new System.Drawing.Size(60, 14);
|
|
|
|
|
//
|
|
|
|
|
// layoutControlItem3
|
|
|
|
|
//
|
|
|
|
|
this.layoutControlItem3.Control = this.txtdeptid;
|
|
|
|
|
this.layoutControlItem3.Location = new System.Drawing.Point(0, 24);
|
|
|
|
|
this.layoutControlItem3.Name = "layoutControlItem3";
|
2021-07-09 08:59:14 +08:00
|
|
|
this.layoutControlItem3.Size = new System.Drawing.Size(474, 24);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.layoutControlItem3.Text = "请购部门";
|
|
|
|
|
this.layoutControlItem3.TextSize = new System.Drawing.Size(60, 14);
|
|
|
|
|
//
|
|
|
|
|
// Frmrequisition
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
2021-07-05 18:26:37 +08:00
|
|
|
this.ClientSize = new System.Drawing.Size(981, 720);
|
2021-06-05 17:08:16 +08:00
|
|
|
this.Controls.Add(this.xtraTabControl1);
|
|
|
|
|
this.Name = "Frmrequisition";
|
|
|
|
|
this.Text = "请购单";
|
|
|
|
|
this.Load += new System.EventHandler(this.Frmrequisition_Load);
|
|
|
|
|
this.Controls.SetChildIndex(this.xtraTabControl1, 0);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtdeptid)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcreatorId)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
|
|
|
|
|
this.xtraTabControl1.ResumeLayout(false);
|
|
|
|
|
this.tabDataList.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.grdList)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.grdListView)).EndInit();
|
|
|
|
|
this.tabDataDetail.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
|
|
|
|
|
this.panelControl2.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
|
|
|
|
this.layoutControl1.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtdeptid.Properties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.treeListLookUpEdit1TreeList)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).EndInit();
|
|
|
|
|
this.xtraTabControl2.ResumeLayout(false);
|
|
|
|
|
this.xtraTabPage2.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
|
|
|
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditmaterialid)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditmaterialunit)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditwarehouse)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtid.Properties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtrequisitioncode.Properties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtrequisitiondate.Properties.CalendarTimeProperties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtrequisitiondate.Properties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtdeliverdate.Properties.CalendarTimeProperties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtdeliverdate.Properties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtcreatorId.Properties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txttotalprice.Properties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtremark.Properties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private XtraTabControl xtraTabControl1;
|
|
|
|
|
private XtraTabPage tabDataList;
|
|
|
|
|
private XtraTabPage tabDataDetail;
|
|
|
|
|
private DevExpress.XtraGrid.GridControl grdList;
|
|
|
|
|
private DevExpress.XtraGrid.Views.Grid.GridView grdListView;
|
|
|
|
|
private PanelControl panelControl2;
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControl layoutControl1;
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
|
|
|
|
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn8;
|
|
|
|
|
///////////////////////////////
|
|
|
|
|
private DevExpress.XtraEditors.TextEdit txtid;
|
|
|
|
|
///////////////////////////////
|
|
|
|
|
private DevExpress.XtraEditors.TextEdit txtrequisitioncode;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtdeptid;
|
|
|
|
|
///////////////////////////////
|
|
|
|
|
private DevExpress.XtraEditors.DateEdit txtrequisitiondate;
|
|
|
|
|
///////////////////////////////
|
|
|
|
|
private DevExpress.XtraEditors.DateEdit txtdeliverdate;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtcreatorId;
|
|
|
|
|
|
|
|
|
|
private DevExpress.XtraEditors.LookUpEdit txtcreatorId;
|
|
|
|
|
///////////////////////////////
|
|
|
|
|
private DevExpress.XtraEditors.TextEdit txttotalprice;
|
|
|
|
|
///////////////////////////////
|
|
|
|
|
private DevExpress.XtraEditors.TextEdit txtremark;
|
|
|
|
|
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
|
|
|
|
|
private XtraTabControl xtraTabControl2;
|
|
|
|
|
private XtraTabPage xtraTabPage2;
|
|
|
|
|
private LayoutControlItem layoutControlItem9;
|
|
|
|
|
private DevExpress.XtraGrid.GridControl gridControl1;
|
|
|
|
|
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn9;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn10;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn11;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn12;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn13;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn14;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn15;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn16;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn17;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn18;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn19;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn20;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEditmaterialid;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEditmaterialunit;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEditwarehouse;
|
|
|
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemAdd;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemDel;
|
|
|
|
|
private TreeListLookUpEdit txtdeptid;
|
|
|
|
|
private DevExpress.XtraTreeList.TreeList treeListLookUpEdit1TreeList;
|
|
|
|
|
private LayoutControlItem layoutControlItem3;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn21;
|
|
|
|
|
}
|
|
|
|
|
}
|