| | |
| | | this.gcMain = new DevExpress.XtraGrid.GridControl(); |
| | | this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.是否可用 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_chk = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv2 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_salesOrderId = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_orderLineId = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_itemId = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_purchaseUnit = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_purchaseQty = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); |
| | | this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); |
| | | this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); |
| | | this.btnIn = new DevExpress.XtraEditors.SimpleButton(); |
| | | this.pageBar1 = new UserControls.Data.UcPageBar(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); |
| | |
| | | // gcMain |
| | | // |
| | | this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.gcMain.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gcMain.Location = new System.Drawing.Point(0, 0); |
| | | this.gcMain.MainView = this.gridView1; |
| | | this.gcMain.Name = "gcMain"; |
| | | this.gcMain.Size = new System.Drawing.Size(941, 607); |
| | | this.gcMain.Size = new System.Drawing.Size(1112, 609); |
| | | this.gcMain.TabIndex = 1; |
| | | this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
| | | this.gridView1}); |
| | | // |
| | | // gridView1 |
| | | // |
| | | this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; |
| | | this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; |
| | | |
| | | this.gridView1.Appearance.Row.Options.UseFont = true; |
| | | this.gridView1.ColumnPanelRowHeight = 50; |
| | | this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { |
| | | this.gv_guid, |
| | | this.是否可用, |
| | | this.gv_chk, |
| | | this.gridColumn1, |
| | | this.gv2, |
| | | this.gv_salesOrderId, |
| | | this.gv_orderLineId, |
| | | this.gv_itemId, |
| | | this.gv_purchaseUnit, |
| | | this.gv_purchaseQty}); |
| | | this.gridColumn2}); |
| | | this.gridView1.GridControl = this.gcMain; |
| | | this.gridView1.IndicatorWidth = 50; |
| | | this.gridView1.Name = "gridView1"; |
| | |
| | | // |
| | | // gv_guid |
| | | // |
| | | this.gv_guid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_guid.AppearanceCell.Options.UseFont = true; |
| | | this.gv_guid.Caption = "主键不能删除"; |
| | | this.gv_guid.FieldName = "guid"; |
| | |
| | | this.gv_guid.Tag = "query_a.guid"; |
| | | this.gv_guid.Width = 94; |
| | | // |
| | | // 是否可用 |
| | | // gv_chk |
| | | // |
| | | this.是否可用.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.是否可用.AppearanceCell.Options.UseFont = true; |
| | | this.是否可用.Caption = "采购单号 "; |
| | | this.是否可用.FieldName = "isEnabled"; |
| | | this.是否可用.MinWidth = 100; |
| | | this.是否可用.Name = "是否可用"; |
| | | this.是否可用.OptionsColumn.AllowEdit = false; |
| | | this.是否可用.Tag = "query_a.BILL_NO"; |
| | | this.是否可用.Visible = true; |
| | | this.是否可用.VisibleIndex = 0; |
| | | this.是否可用.Width = 100; |
| | | this.gv_chk.Caption = "选择"; |
| | | this.gv_chk.FieldName = "gvChk"; |
| | | this.gv_chk.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Left; |
| | | this.gv_chk.MaxWidth = 40; |
| | | this.gv_chk.MinWidth = 40; |
| | | this.gv_chk.Name = "gv_chk"; |
| | | this.gv_chk.Tag = "edit"; |
| | | this.gv_chk.Visible = true; |
| | | this.gv_chk.VisibleIndex = 0; |
| | | this.gv_chk.Width = 40; |
| | | // |
| | | // gridColumn1 |
| | | // |
| | | this.gridColumn1.Caption = "使用组织"; |
| | | this.gridColumn1.FieldName = "fSubsidiary"; |
| | | this.gridColumn1.Name = "gridColumn1"; |
| | | this.gridColumn1.Tag = "org.FNumber"; |
| | | this.gridColumn1.Visible = true; |
| | | this.gridColumn1.VisibleIndex = 1; |
| | | this.gridColumn1.Width = 250; |
| | | // |
| | | // gv2 |
| | | // |
| | | |
| | | this.gv2.AppearanceCell.Options.UseFont = true; |
| | | this.gv2.Caption = "物料ID"; |
| | | this.gv2.FieldName = "id"; |
| | | this.gv2.Name = "gv2"; |
| | | this.gv2.OptionsColumn.AllowEdit = false; |
| | | this.gv2.Tag = "query_a.id"; |
| | | this.gv2.Visible = true; |
| | | this.gv2.VisibleIndex = 2; |
| | | this.gv2.Width = 100; |
| | | // |
| | | // gv_salesOrderId |
| | | // |
| | | this.gv_salesOrderId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_salesOrderId.AppearanceCell.Options.UseFont = true; |
| | | this.gv_salesOrderId.Caption = "审批标志"; |
| | | this.gv_salesOrderId.FieldName = "fOneChecked"; |
| | | this.gv_salesOrderId.MinWidth = 100; |
| | | this.gv_salesOrderId.Caption = "物料编号"; |
| | | this.gv_salesOrderId.FieldName = "itemNo"; |
| | | this.gv_salesOrderId.Name = "gv_salesOrderId"; |
| | | this.gv_salesOrderId.OptionsColumn.AllowEdit = false; |
| | | this.gv_salesOrderId.Tag = "query_a.SALES_ORDER_ID"; |
| | | this.gv_salesOrderId.Tag = "query_a.item_no"; |
| | | this.gv_salesOrderId.Visible = true; |
| | | this.gv_salesOrderId.VisibleIndex = 1; |
| | | this.gv_salesOrderId.VisibleIndex = 3; |
| | | this.gv_salesOrderId.Width = 100; |
| | | // |
| | | // gv_orderLineId |
| | | // |
| | | this.gv_orderLineId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_orderLineId.AppearanceCell.Options.UseFont = true; |
| | | this.gv_orderLineId.Caption = "批准标记"; |
| | | this.gv_orderLineId.FieldName = "fTwoChecked"; |
| | | this.gv_orderLineId.MinWidth = 100; |
| | | this.gv_orderLineId.Caption = "物料名称"; |
| | | this.gv_orderLineId.FieldName = "itemName"; |
| | | this.gv_orderLineId.Name = "gv_orderLineId"; |
| | | this.gv_orderLineId.OptionsColumn.AllowEdit = false; |
| | | this.gv_orderLineId.Tag = "query_a.ORDER_LINE_ID"; |
| | | this.gv_orderLineId.Tag = "query_a.item_name"; |
| | | this.gv_orderLineId.Visible = true; |
| | | this.gv_orderLineId.VisibleIndex = 2; |
| | | this.gv_orderLineId.Width = 100; |
| | | this.gv_orderLineId.VisibleIndex = 4; |
| | | this.gv_orderLineId.Width = 200; |
| | | // |
| | | // gv_itemId |
| | | // |
| | | this.gv_itemId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_itemId.AppearanceCell.Options.UseFont = true; |
| | | this.gv_itemId.Caption = "物料编码 "; |
| | | this.gv_itemId.FieldName = "itemNo"; |
| | | this.gv_itemId.MinWidth = 100; |
| | | this.gv_itemId.Caption = "物料规格"; |
| | | this.gv_itemId.FieldName = "itemModel"; |
| | | this.gv_itemId.Name = "gv_itemId"; |
| | | this.gv_itemId.OptionsColumn.AllowEdit = false; |
| | | this.gv_itemId.Tag = "query_a.ITEM_ID"; |
| | | this.gv_itemId.Tag = "query_a.item_model"; |
| | | this.gv_itemId.Visible = true; |
| | | this.gv_itemId.VisibleIndex = 3; |
| | | this.gv_itemId.Width = 100; |
| | | this.gv_itemId.VisibleIndex = 5; |
| | | this.gv_itemId.Width = 200; |
| | | // |
| | | // gv_purchaseUnit |
| | | // gridColumn2 |
| | | // |
| | | this.gv_purchaseUnit.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.gv_purchaseUnit.AppearanceCell.Options.UseFont = true; |
| | | this.gv_purchaseUnit.Caption = "物料名称"; |
| | | this.gv_purchaseUnit.FieldName = "itemName"; |
| | | this.gv_purchaseUnit.MinWidth = 100; |
| | | this.gv_purchaseUnit.Name = "gv_purchaseUnit"; |
| | | this.gv_purchaseUnit.OptionsColumn.AllowEdit = false; |
| | | this.gv_purchaseUnit.Tag = "query_a.PURCHASE_UNIT"; |
| | | this.gv_purchaseUnit.Visible = true; |
| | | this.gv_purchaseUnit.VisibleIndex = 4; |
| | | this.gv_purchaseUnit.Width = 100; |
| | | // |
| | | // gv_purchaseQty |
| | | // |
| | | this.gv_purchaseQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.gv_purchaseQty.AppearanceCell.Options.UseFont = true; |
| | | this.gv_purchaseQty.Caption = "物料规格"; |
| | | this.gv_purchaseQty.FieldName = "itemModel"; |
| | | this.gv_purchaseQty.MinWidth = 100; |
| | | this.gv_purchaseQty.Name = "gv_purchaseQty"; |
| | | this.gv_purchaseQty.OptionsColumn.AllowEdit = false; |
| | | this.gv_purchaseQty.Tag = "query_a.PURCHASE_QTY"; |
| | | this.gv_purchaseQty.Visible = true; |
| | | this.gv_purchaseQty.VisibleIndex = 5; |
| | | this.gv_purchaseQty.Width = 100; |
| | | this.gridColumn2.AppearanceCell.ForeColor = System.Drawing.Color.Red; |
| | | this.gridColumn2.AppearanceCell.Options.UseForeColor = true; |
| | | this.gridColumn2.AppearanceHeader.ForeColor = System.Drawing.Color.Red; |
| | | this.gridColumn2.AppearanceHeader.Options.UseForeColor = true; |
| | | this.gridColumn2.Caption = "配置情况"; |
| | | this.gridColumn2.FieldName = "yjxm"; |
| | | this.gridColumn2.MaxWidth = 50; |
| | | this.gridColumn2.MinWidth = 50; |
| | | this.gridColumn2.Name = "gridColumn2"; |
| | | this.gridColumn2.Visible = true; |
| | | this.gridColumn2.VisibleIndex = 6; |
| | | this.gridColumn2.Width = 50; |
| | | // |
| | | // xtraTabControl1 |
| | | // |
| | |
| | | this.xtraTabControl1.Location = new System.Drawing.Point(0, 0); |
| | | this.xtraTabControl1.Name = "xtraTabControl1"; |
| | | this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1; |
| | | this.xtraTabControl1.Size = new System.Drawing.Size(943, 682); |
| | | this.xtraTabControl1.Size = new System.Drawing.Size(1114, 682); |
| | | this.xtraTabControl1.TabIndex = 3; |
| | | this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { |
| | | this.xtraTabPage1}); |
| | |
| | | this.xtraTabPage1.Controls.Add(this.gcMain); |
| | | this.xtraTabPage1.Controls.Add(this.panelControl1); |
| | | this.xtraTabPage1.Name = "xtraTabPage1"; |
| | | this.xtraTabPage1.Size = new System.Drawing.Size(941, 650); |
| | | this.xtraTabPage1.Size = new System.Drawing.Size(1112, 650); |
| | | this.xtraTabPage1.Text = "请选择需要导入的数据"; |
| | | // |
| | | // panelControl1 |
| | | // |
| | | this.panelControl1.Controls.Add(this.btnIn); |
| | | this.panelControl1.Controls.Add(this.pageBar1); |
| | | this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom; |
| | | this.panelControl1.Location = new System.Drawing.Point(0, 607); |
| | | this.panelControl1.Location = new System.Drawing.Point(0, 609); |
| | | this.panelControl1.Name = "panelControl1"; |
| | | this.panelControl1.Size = new System.Drawing.Size(941, 43); |
| | | this.panelControl1.Size = new System.Drawing.Size(1112, 41); |
| | | this.panelControl1.TabIndex = 4; |
| | | // |
| | | // btnIn |
| | | // |
| | | this.btnIn.Dock = System.Windows.Forms.DockStyle.Left; |
| | | this.btnIn.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.checkbuttons_16x161; |
| | | this.btnIn.Location = new System.Drawing.Point(2, 2); |
| | | this.btnIn.Name = "btnIn"; |
| | | this.btnIn.Size = new System.Drawing.Size(94, 37); |
| | | this.btnIn.TabIndex = 6; |
| | | this.btnIn.Text = "确定导入"; |
| | | // |
| | | // pageBar1 |
| | | // |
| | | this.pageBar1.CurrentPage = 1; |
| | | this.pageBar1.Dock = System.Windows.Forms.DockStyle.Right; |
| | | this.pageBar1.Location = new System.Drawing.Point(-45, 2); |
| | | this.pageBar1.Location = new System.Drawing.Point(126, 2); |
| | | this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); |
| | | this.pageBar1.Name = "pageBar1"; |
| | | this.pageBar1.RecordCount = 0; |
| | | this.pageBar1.RowsCount = 50; |
| | | this.pageBar1.Size = new System.Drawing.Size(984, 39); |
| | | this.pageBar1.Size = new System.Drawing.Size(984, 37); |
| | | this.pageBar1.TabIndex = 3; |
| | | this.pageBar1.TotalPages = 0; |
| | | // |
| | |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(943, 682); |
| | | this.ClientSize = new System.Drawing.Size(1114, 682); |
| | | this.Controls.Add(this.xtraTabControl1); |
| | | this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black; |
| | | this.MaximizeBox = false; |
| | | this.MinimizeBox = false; |
| | | this.Name = "SelectCheckDt"; |
| | | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
| | | this.Text = "选择需要入导入的数据"; |
| | | this.Text = "选择需复制的物料"; |
| | | this.TopMost = true; |
| | | ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); |
| | |
| | | private DevExpress.XtraTab.XtraTabControl xtraTabControl1; |
| | | private DevExpress.XtraTab.XtraTabPage xtraTabPage1; |
| | | private UserControls.Data.UcPageBar pageBar1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_purchaseQty; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_purchaseUnit; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_itemId; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_orderLineId; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_salesOrderId; |
| | | private DevExpress.XtraGrid.Columns.GridColumn 是否可用; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv2; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_guid; |
| | | private DevExpress.XtraEditors.PanelControl panelControl1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_chk; |
| | | private DevExpress.XtraEditors.SimpleButton btnIn; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; |
| | | } |
| | | } |