601 lines
34 KiB
C#
601 lines
34 KiB
C#
namespace WMS.FrmSC
|
|
{
|
|
partial class FrmGoodsMaterialDet
|
|
{
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmGoodsMaterialDet));
|
|
this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
|
|
this.LEPStoID = new WMS.Ctrl.LookUpEditSystem();
|
|
this.bsGoodsMaterial = new System.Windows.Forms.BindingSource();
|
|
this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
|
|
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
|
this.t_goodsNum = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.dicGoods = new WMS.Ctrl.CtrlDictonary();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.ctrlDicGoods = new WMS.Ctrl.CtrlDictonary();
|
|
this.label22 = new System.Windows.Forms.Label();
|
|
this.btnDelGoods = new WMS.Ctrl.CtrlButtons();
|
|
this.btnClose = new WMS.Ctrl.CtrlButtons();
|
|
this.btnSave = new WMS.Ctrl.CtrlButtons();
|
|
this.GCGoodsMaterial = new WMS.Ctrl.GridControlCustom();
|
|
this.GVGoodsMaterial = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
this.colGOODS_ID = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colMATERIAL_ID = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colSTAND_NUM = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.txt = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
|
|
this.colMAX_NUM = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colLOSS_PERCENT = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colOPERAT_MAN = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colOPERAT_DATE = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colREMARK = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colMATERIAL_NAME = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colPRICE = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colUNIT = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.lueUnit = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
|
this.Check = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
this.repositoryItemHyperLinkEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit();
|
|
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
|
|
this.splitContainerControl1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.LEPStoID.Properties)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsGoodsMaterial)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.GCGoodsMaterial)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.GVGoodsMaterial)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.txt)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.lueUnit)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.Check)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// splitContainerControl1
|
|
//
|
|
this.splitContainerControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
|
|
this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.splitContainerControl1.Horizontal = false;
|
|
this.splitContainerControl1.Location = new System.Drawing.Point(0, 0);
|
|
this.splitContainerControl1.Name = "splitContainerControl1";
|
|
this.splitContainerControl1.Panel1.Controls.Add(this.LEPStoID);
|
|
this.splitContainerControl1.Panel1.Controls.Add(this.labelControl17);
|
|
this.splitContainerControl1.Panel1.Controls.Add(this.checkBox1);
|
|
this.splitContainerControl1.Panel1.Controls.Add(this.t_goodsNum);
|
|
this.splitContainerControl1.Panel1.Controls.Add(this.label2);
|
|
this.splitContainerControl1.Panel1.Controls.Add(this.dicGoods);
|
|
this.splitContainerControl1.Panel1.Controls.Add(this.label1);
|
|
this.splitContainerControl1.Panel1.Controls.Add(this.ctrlDicGoods);
|
|
this.splitContainerControl1.Panel1.Controls.Add(this.label22);
|
|
this.splitContainerControl1.Panel1.Controls.Add(this.btnDelGoods);
|
|
this.splitContainerControl1.Panel1.Controls.Add(this.btnClose);
|
|
this.splitContainerControl1.Panel1.Controls.Add(this.btnSave);
|
|
this.splitContainerControl1.Panel1.Text = "Panel1";
|
|
this.splitContainerControl1.Panel2.Controls.Add(this.GCGoodsMaterial);
|
|
this.splitContainerControl1.Panel2.Text = "Panel2";
|
|
this.splitContainerControl1.Size = new System.Drawing.Size(934, 572);
|
|
this.splitContainerControl1.SplitterPosition = 227;
|
|
this.splitContainerControl1.TabIndex = 0;
|
|
this.splitContainerControl1.Text = "splitContainerControl1";
|
|
//
|
|
// LEPStoID
|
|
//
|
|
this.LEPStoID.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bsGoodsMaterial, "GOODS_UNIT", true));
|
|
this.LEPStoID.EditValue = "";
|
|
this.LEPStoID.Location = new System.Drawing.Point(382, 65);
|
|
this.LEPStoID.Name = "LEPStoID";
|
|
this.LEPStoID.Properties.Appearance.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.LEPStoID.Properties.Appearance.Options.UseFont = true;
|
|
this.LEPStoID.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
|
|
this.LEPStoID.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
this.LEPStoID.Properties.NullText = "";
|
|
this.LEPStoID.Size = new System.Drawing.Size(213, 22);
|
|
this.LEPStoID.TabIndex = 1361;
|
|
this.LEPStoID.EditValueChanged += new System.EventHandler(this.LEPStoID_EditValueChanged);
|
|
//
|
|
// bsGoodsMaterial
|
|
//
|
|
this.bsGoodsMaterial.DataSource = typeof(WMS.Model.SC.GoodsMaterialModel);
|
|
//
|
|
// labelControl17
|
|
//
|
|
this.labelControl17.Appearance.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.labelControl17.Appearance.Options.UseFont = true;
|
|
this.labelControl17.Location = new System.Drawing.Point(348, 70);
|
|
this.labelControl17.Name = "labelControl17";
|
|
this.labelControl17.Size = new System.Drawing.Size(28, 14);
|
|
this.labelControl17.TabIndex = 1362;
|
|
this.labelControl17.Text = "单位";
|
|
//
|
|
// checkBox1
|
|
//
|
|
this.checkBox1.AutoSize = true;
|
|
this.checkBox1.Location = new System.Drawing.Point(79, 109);
|
|
this.checkBox1.Name = "checkBox1";
|
|
this.checkBox1.Size = new System.Drawing.Size(50, 18);
|
|
this.checkBox1.TabIndex = 1360;
|
|
this.checkBox1.Text = "比例";
|
|
this.checkBox1.UseVisualStyleBackColor = true;
|
|
//
|
|
// t_goodsNum
|
|
//
|
|
this.t_goodsNum.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsGoodsMaterial, "GOODS_NUM", true));
|
|
this.t_goodsNum.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.t_goodsNum.Location = new System.Drawing.Point(84, 67);
|
|
this.t_goodsNum.Name = "t_goodsNum";
|
|
this.t_goodsNum.Size = new System.Drawing.Size(213, 23);
|
|
this.t_goodsNum.TabIndex = 1359;
|
|
this.t_goodsNum.Text = "1";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Font = new System.Drawing.Font("宋体", 11F);
|
|
this.label2.Location = new System.Drawing.Point(41, 69);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(37, 15);
|
|
this.label2.TabIndex = 1357;
|
|
this.label2.Text = "数量";
|
|
//
|
|
// dicGoods
|
|
//
|
|
this.dicGoods.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.dicGoods.Cursor = System.Windows.Forms.Cursors.Default;
|
|
this.dicGoods.DictonaryTableName = WMS.Ctrl.DictonaryType.商品资料t_Base_Goods;
|
|
this.dicGoods.ErrText = "无数据重新查询";
|
|
this.dicGoods.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.dicGoods.IsSqlWhere = true;
|
|
this.dicGoods.Location = new System.Drawing.Point(84, 22);
|
|
this.dicGoods.Margin = new System.Windows.Forms.Padding(4);
|
|
this.dicGoods.Name = "dicGoods";
|
|
this.dicGoods.Number = 0;
|
|
this.dicGoods.SelectType = WMS.Ctrl.DataSlectType.RadioSelect;
|
|
this.dicGoods.ShowColumns.AddRange(new WMS.Ctrl.ColumnsItem[] {
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("dicGoods.ShowColumns"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("dicGoods.ShowColumns1"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("dicGoods.ShowColumns2"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("dicGoods.ShowColumns3"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("dicGoods.ShowColumns4"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("dicGoods.ShowColumns5"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("dicGoods.ShowColumns6"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("dicGoods.ShowColumns7"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("dicGoods.ShowColumns8")))});
|
|
this.dicGoods.Size = new System.Drawing.Size(213, 22);
|
|
this.dicGoods.SqlStr = "where sc_flag = \'1\'";
|
|
this.dicGoods.TabIndex = 1355;
|
|
this.dicGoods.TextBoxFlag = "";
|
|
this.dicGoods.TextBoxValue = "";
|
|
this.dicGoods.Button_Click += new System.EventHandler(this.dicGoods_Button_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.label1.Location = new System.Drawing.Point(13, 26);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(63, 14);
|
|
this.label1.TabIndex = 1356;
|
|
this.label1.Text = "成品物料";
|
|
//
|
|
// ctrlDicGoods
|
|
//
|
|
this.ctrlDicGoods.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.ctrlDicGoods.Cursor = System.Windows.Forms.Cursors.Default;
|
|
this.ctrlDicGoods.DictonaryTableName = WMS.Ctrl.DictonaryType.商品资料t_Base_Goods;
|
|
this.ctrlDicGoods.ErrText = "无数据重新查询";
|
|
this.ctrlDicGoods.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.ctrlDicGoods.IsSqlWhere = false;
|
|
this.ctrlDicGoods.Location = new System.Drawing.Point(382, 24);
|
|
this.ctrlDicGoods.Margin = new System.Windows.Forms.Padding(4);
|
|
this.ctrlDicGoods.Name = "ctrlDicGoods";
|
|
this.ctrlDicGoods.Number = 0;
|
|
this.ctrlDicGoods.SelectType = WMS.Ctrl.DataSlectType.MultiSelect;
|
|
this.ctrlDicGoods.ShowColumns.AddRange(new WMS.Ctrl.ColumnsItem[] {
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("ctrlDicGoods.ShowColumns"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("ctrlDicGoods.ShowColumns1"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("ctrlDicGoods.ShowColumns2"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("ctrlDicGoods.ShowColumns3"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("ctrlDicGoods.ShowColumns4"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("ctrlDicGoods.ShowColumns5"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("ctrlDicGoods.ShowColumns6"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("ctrlDicGoods.ShowColumns7"))),
|
|
((WMS.Ctrl.ColumnsItem)(resources.GetObject("ctrlDicGoods.ShowColumns8")))});
|
|
this.ctrlDicGoods.Size = new System.Drawing.Size(213, 22);
|
|
this.ctrlDicGoods.SqlStr = "";
|
|
this.ctrlDicGoods.TabIndex = 1353;
|
|
this.ctrlDicGoods.TextBoxFlag = "";
|
|
this.ctrlDicGoods.TextBoxValue = "";
|
|
this.ctrlDicGoods.Button_Click += new System.EventHandler(this.ctrlDicGoods_Button_Click);
|
|
//
|
|
// label22
|
|
//
|
|
this.label22.AutoSize = true;
|
|
this.label22.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.label22.Location = new System.Drawing.Point(322, 27);
|
|
this.label22.Name = "label22";
|
|
this.label22.Size = new System.Drawing.Size(63, 14);
|
|
this.label22.TabIndex = 1354;
|
|
this.label22.Text = "选择原料";
|
|
//
|
|
// btnDelGoods
|
|
//
|
|
this.btnDelGoods.Appearance.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold);
|
|
this.btnDelGoods.Appearance.Options.UseFont = true;
|
|
this.btnDelGoods.BoolDiagFrm = false;
|
|
this.btnDelGoods.Image = ((System.Drawing.Image)(resources.GetObject("btnDelGoods.Image")));
|
|
this.btnDelGoods.ImageUri.Uri = "Delete;Office2013";
|
|
this.btnDelGoods.Location = new System.Drawing.Point(235, 155);
|
|
this.btnDelGoods.Name = "btnDelGoods";
|
|
this.btnDelGoods.Size = new System.Drawing.Size(150, 45);
|
|
this.btnDelGoods.TabIndex = 1348;
|
|
this.btnDelGoods.Text = " 删除 ";
|
|
this.btnDelGoods.typeButton = " 删除 ";
|
|
this.btnDelGoods.Click += new System.EventHandler(this.btnDel_Click);
|
|
//
|
|
// btnClose
|
|
//
|
|
this.btnClose.Appearance.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold);
|
|
this.btnClose.Appearance.Options.UseFont = true;
|
|
this.btnClose.BoolDiagFrm = false;
|
|
this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnClose.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
|
|
this.btnClose.ImageUri.Uri = "Close;Office2013";
|
|
this.btnClose.Location = new System.Drawing.Point(391, 155);
|
|
this.btnClose.Name = "btnClose";
|
|
this.btnClose.Size = new System.Drawing.Size(150, 45);
|
|
this.btnClose.TabIndex = 110;
|
|
this.btnClose.Text = " 关闭 ";
|
|
this.btnClose.typeButton = " 关闭 ";
|
|
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.Appearance.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold);
|
|
this.btnSave.Appearance.Options.UseFont = true;
|
|
this.btnSave.BoolDiagFrm = false;
|
|
this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
|
|
this.btnSave.ImageUri.Uri = "SaveAll;Office2013";
|
|
this.btnSave.Location = new System.Drawing.Point(79, 155);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(150, 45);
|
|
this.btnSave.TabIndex = 109;
|
|
this.btnSave.Text = " 保存 ";
|
|
this.btnSave.typeButton = " 保存 ";
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
//
|
|
// GCGoodsMaterial
|
|
//
|
|
this.GCGoodsMaterial.ColorApprove = System.Drawing.Color.Empty;
|
|
this.GCGoodsMaterial.ColorApproveValue = null;
|
|
this.GCGoodsMaterial.ColorPass = System.Drawing.Color.Empty;
|
|
this.GCGoodsMaterial.ColorPassValue = null;
|
|
this.GCGoodsMaterial.ColorRepeal = System.Drawing.Color.Empty;
|
|
this.GCGoodsMaterial.ColorRepealValue = null;
|
|
this.GCGoodsMaterial.ColorReWork = System.Drawing.Color.Empty;
|
|
this.GCGoodsMaterial.ColorReWorkValue = null;
|
|
this.GCGoodsMaterial.ColorSelectedRow = System.Drawing.Color.Empty;
|
|
this.GCGoodsMaterial.ColorShortage = System.Drawing.Color.Empty;
|
|
this.GCGoodsMaterial.ColorShortageFlagColumn = null;
|
|
this.GCGoodsMaterial.ColorShortageValue = null;
|
|
this.GCGoodsMaterial.ColorUnExecute = System.Drawing.Color.Empty;
|
|
this.GCGoodsMaterial.ColorUnExecuteValue = null;
|
|
this.GCGoodsMaterial.ColorUnPass = System.Drawing.Color.Empty;
|
|
this.GCGoodsMaterial.ColorUnPassValue = null;
|
|
this.GCGoodsMaterial.ColorVerify = System.Drawing.Color.Empty;
|
|
this.GCGoodsMaterial.ColorVerifyFlagColumn = null;
|
|
this.GCGoodsMaterial.ColorVerifyValue = null;
|
|
this.GCGoodsMaterial.ColorWarning = System.Drawing.Color.Empty;
|
|
this.GCGoodsMaterial.ColorWarningValue = null;
|
|
this.GCGoodsMaterial.DataSource = this.bsGoodsMaterial;
|
|
this.GCGoodsMaterial.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.GCGoodsMaterial.EnableAppearanceEvenRow = true;
|
|
this.GCGoodsMaterial.IndicatorWidth = 40;
|
|
this.GCGoodsMaterial.Location = new System.Drawing.Point(0, 0);
|
|
this.GCGoodsMaterial.MainView = this.GVGoodsMaterial;
|
|
this.GCGoodsMaterial.Name = "GCGoodsMaterial";
|
|
this.GCGoodsMaterial.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
this.Check,
|
|
this.repositoryItemHyperLinkEdit1,
|
|
this.lueUnit,
|
|
this.txt});
|
|
this.GCGoodsMaterial.ShowRowID = true;
|
|
this.GCGoodsMaterial.Size = new System.Drawing.Size(930, 329);
|
|
this.GCGoodsMaterial.TabIndex = 7;
|
|
this.GCGoodsMaterial.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
this.GVGoodsMaterial});
|
|
//
|
|
// GVGoodsMaterial
|
|
//
|
|
this.GVGoodsMaterial.Appearance.EvenRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(250)))));
|
|
this.GVGoodsMaterial.Appearance.EvenRow.Options.UseBackColor = true;
|
|
this.GVGoodsMaterial.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
this.colGOODS_ID,
|
|
this.colMATERIAL_ID,
|
|
this.colSTAND_NUM,
|
|
this.colMAX_NUM,
|
|
this.colLOSS_PERCENT,
|
|
this.colOPERAT_MAN,
|
|
this.colOPERAT_DATE,
|
|
this.colREMARK,
|
|
this.colMATERIAL_NAME,
|
|
this.colPRICE,
|
|
this.colUNIT,
|
|
this.gridColumn3,
|
|
this.gridColumn2});
|
|
this.GVGoodsMaterial.GridControl = this.GCGoodsMaterial;
|
|
this.GVGoodsMaterial.IndicatorWidth = 34;
|
|
this.GVGoodsMaterial.Name = "GVGoodsMaterial";
|
|
this.GVGoodsMaterial.OptionsView.ColumnAutoWidth = false;
|
|
this.GVGoodsMaterial.OptionsView.EnableAppearanceEvenRow = true;
|
|
this.GVGoodsMaterial.OptionsView.ShowFooter = true;
|
|
this.GVGoodsMaterial.OptionsView.ShowGroupPanel = false;
|
|
this.GVGoodsMaterial.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.GVGoodsMaterial_CellValueChanged);
|
|
this.GVGoodsMaterial.CustomColumnDisplayText += new DevExpress.XtraGrid.Views.Base.CustomColumnDisplayTextEventHandler(this.Unit_CustomColumnDisplayText);
|
|
//
|
|
// colGOODS_ID
|
|
//
|
|
this.colGOODS_ID.AppearanceCell.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.colGOODS_ID.AppearanceCell.Options.UseFont = true;
|
|
this.colGOODS_ID.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colGOODS_ID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colGOODS_ID.FieldName = "GOODS_ID";
|
|
this.colGOODS_ID.Name = "colGOODS_ID";
|
|
this.colGOODS_ID.OptionsColumn.AllowEdit = false;
|
|
//
|
|
// colMATERIAL_ID
|
|
//
|
|
this.colMATERIAL_ID.AppearanceCell.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.colMATERIAL_ID.AppearanceCell.Options.UseFont = true;
|
|
this.colMATERIAL_ID.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colMATERIAL_ID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colMATERIAL_ID.FieldName = "MATERIAL_ID";
|
|
this.colMATERIAL_ID.Name = "colMATERIAL_ID";
|
|
this.colMATERIAL_ID.OptionsColumn.AllowEdit = false;
|
|
this.colMATERIAL_ID.Visible = true;
|
|
this.colMATERIAL_ID.VisibleIndex = 0;
|
|
this.colMATERIAL_ID.Width = 123;
|
|
//
|
|
// colSTAND_NUM
|
|
//
|
|
this.colSTAND_NUM.AppearanceCell.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.colSTAND_NUM.AppearanceCell.Options.UseFont = true;
|
|
this.colSTAND_NUM.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colSTAND_NUM.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colSTAND_NUM.ColumnEdit = this.txt;
|
|
this.colSTAND_NUM.FieldName = "STAND_NUM";
|
|
this.colSTAND_NUM.Name = "colSTAND_NUM";
|
|
this.colSTAND_NUM.Visible = true;
|
|
this.colSTAND_NUM.VisibleIndex = 3;
|
|
//
|
|
// txt
|
|
//
|
|
this.txt.AutoHeight = false;
|
|
this.txt.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
|
|
this.txt.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
|
|
this.txt.Name = "txt";
|
|
//
|
|
// colMAX_NUM
|
|
//
|
|
this.colMAX_NUM.AppearanceCell.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.colMAX_NUM.AppearanceCell.Options.UseFont = true;
|
|
this.colMAX_NUM.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colMAX_NUM.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colMAX_NUM.ColumnEdit = this.txt;
|
|
this.colMAX_NUM.FieldName = "MAX_NUM";
|
|
this.colMAX_NUM.Name = "colMAX_NUM";
|
|
this.colMAX_NUM.Visible = true;
|
|
this.colMAX_NUM.VisibleIndex = 4;
|
|
//
|
|
// colLOSS_PERCENT
|
|
//
|
|
this.colLOSS_PERCENT.AppearanceCell.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.colLOSS_PERCENT.AppearanceCell.Options.UseFont = true;
|
|
this.colLOSS_PERCENT.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colLOSS_PERCENT.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colLOSS_PERCENT.FieldName = "LOSS_PERCENT";
|
|
this.colLOSS_PERCENT.Name = "colLOSS_PERCENT";
|
|
this.colLOSS_PERCENT.OptionsColumn.AllowEdit = false;
|
|
this.colLOSS_PERCENT.Visible = true;
|
|
this.colLOSS_PERCENT.VisibleIndex = 6;
|
|
//
|
|
// colOPERAT_MAN
|
|
//
|
|
this.colOPERAT_MAN.AppearanceCell.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.colOPERAT_MAN.AppearanceCell.Options.UseFont = true;
|
|
this.colOPERAT_MAN.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colOPERAT_MAN.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colOPERAT_MAN.FieldName = "OPERAT_MAN";
|
|
this.colOPERAT_MAN.Name = "colOPERAT_MAN";
|
|
this.colOPERAT_MAN.OptionsColumn.AllowEdit = false;
|
|
//
|
|
// colOPERAT_DATE
|
|
//
|
|
this.colOPERAT_DATE.AppearanceCell.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.colOPERAT_DATE.AppearanceCell.Options.UseFont = true;
|
|
this.colOPERAT_DATE.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colOPERAT_DATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colOPERAT_DATE.FieldName = "OPERAT_DATE";
|
|
this.colOPERAT_DATE.Name = "colOPERAT_DATE";
|
|
this.colOPERAT_DATE.OptionsColumn.AllowEdit = false;
|
|
//
|
|
// colREMARK
|
|
//
|
|
this.colREMARK.AppearanceCell.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.colREMARK.AppearanceCell.Options.UseFont = true;
|
|
this.colREMARK.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colREMARK.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colREMARK.ColumnEdit = this.txt;
|
|
this.colREMARK.FieldName = "REMARK";
|
|
this.colREMARK.Name = "colREMARK";
|
|
this.colREMARK.Width = 230;
|
|
//
|
|
// colMATERIAL_NAME
|
|
//
|
|
this.colMATERIAL_NAME.AppearanceCell.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.colMATERIAL_NAME.AppearanceCell.Options.UseFont = true;
|
|
this.colMATERIAL_NAME.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colMATERIAL_NAME.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colMATERIAL_NAME.FieldName = "MATERIAL_NAME";
|
|
this.colMATERIAL_NAME.Name = "colMATERIAL_NAME";
|
|
this.colMATERIAL_NAME.OptionsColumn.AllowEdit = false;
|
|
this.colMATERIAL_NAME.Visible = true;
|
|
this.colMATERIAL_NAME.VisibleIndex = 1;
|
|
this.colMATERIAL_NAME.Width = 210;
|
|
//
|
|
// colPRICE
|
|
//
|
|
this.colPRICE.AppearanceCell.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.colPRICE.AppearanceCell.Options.UseFont = true;
|
|
this.colPRICE.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colPRICE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colPRICE.DisplayFormat.FormatString = "¥{0}";
|
|
this.colPRICE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
|
|
this.colPRICE.FieldName = "PRICE";
|
|
this.colPRICE.Name = "colPRICE";
|
|
this.colPRICE.Visible = true;
|
|
this.colPRICE.VisibleIndex = 8;
|
|
this.colPRICE.Width = 94;
|
|
//
|
|
// colUNIT
|
|
//
|
|
this.colUNIT.AppearanceCell.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.colUNIT.AppearanceCell.Options.UseFont = true;
|
|
this.colUNIT.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colUNIT.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colUNIT.ColumnEdit = this.lueUnit;
|
|
this.colUNIT.FieldName = "UNIT";
|
|
this.colUNIT.Name = "colUNIT";
|
|
this.colUNIT.OptionsColumn.AllowEdit = false;
|
|
this.colUNIT.Visible = true;
|
|
this.colUNIT.VisibleIndex = 7;
|
|
//
|
|
// lueUnit
|
|
//
|
|
this.lueUnit.AutoHeight = false;
|
|
this.lueUnit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
this.lueUnit.Name = "lueUnit";
|
|
this.lueUnit.NullText = "";
|
|
//
|
|
// Check
|
|
//
|
|
this.Check.AutoHeight = false;
|
|
this.Check.Caption = "Check";
|
|
this.Check.Name = "Check";
|
|
this.Check.ValueChecked = false;
|
|
//
|
|
// repositoryItemHyperLinkEdit1
|
|
//
|
|
this.repositoryItemHyperLinkEdit1.AutoHeight = false;
|
|
this.repositoryItemHyperLinkEdit1.Name = "repositoryItemHyperLinkEdit1";
|
|
//
|
|
// gridColumn1
|
|
//
|
|
this.gridColumn1.Name = "gridColumn1";
|
|
//
|
|
// gridColumn2
|
|
//
|
|
this.gridColumn2.FieldName = "SCALING";
|
|
this.gridColumn2.Name = "gridColumn2";
|
|
this.gridColumn2.Visible = true;
|
|
this.gridColumn2.VisibleIndex = 5;
|
|
//
|
|
// gridColumn3
|
|
//
|
|
this.gridColumn3.FieldName = "GOODS_NUM";
|
|
this.gridColumn3.Name = "gridColumn3";
|
|
this.gridColumn3.Visible = true;
|
|
this.gridColumn3.VisibleIndex = 2;
|
|
//
|
|
// FrmGoodsMaterialDet
|
|
//
|
|
this.AcceptButton = this.btnSave;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.btnClose;
|
|
this.ClientSize = new System.Drawing.Size(934, 572);
|
|
this.Controls.Add(this.splitContainerControl1);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.MinimumSize = new System.Drawing.Size(820, 590);
|
|
this.Name = "FrmGoodsMaterialDet";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "商品原材料对应关系";
|
|
this.Load += new System.EventHandler(this.FrmGoodsMaterialDet_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
|
|
this.splitContainerControl1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.LEPStoID.Properties)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsGoodsMaterial)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.GCGoodsMaterial)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.GVGoodsMaterial)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.txt)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.lueUnit)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.Check)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DevExpress.XtraEditors.SplitContainerControl splitContainerControl1;
|
|
private System.Windows.Forms.BindingSource bsGoodsMaterial;
|
|
private Ctrl.CtrlButtons btnClose;
|
|
private Ctrl.CtrlButtons btnSave;
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
|
|
private Ctrl.GridControlCustom GCGoodsMaterial;
|
|
private DevExpress.XtraGrid.Views.Grid.GridView GVGoodsMaterial;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit Check;
|
|
private Ctrl.CtrlButtons btnDelGoods;
|
|
private Ctrl.CtrlDictonary ctrlDicGoods;
|
|
private System.Windows.Forms.Label label22;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit repositoryItemHyperLinkEdit1;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit lueUnit;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit txt;
|
|
private Ctrl.CtrlDictonary dicGoods;
|
|
private System.Windows.Forms.Label label1;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colGOODS_ID;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colMATERIAL_ID;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colSTAND_NUM;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colMAX_NUM;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colLOSS_PERCENT;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colOPERAT_MAN;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colOPERAT_DATE;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colREMARK;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colMATERIAL_NAME;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colPRICE;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colUNIT;
|
|
private System.Windows.Forms.CheckBox checkBox1;
|
|
private System.Windows.Forms.TextBox t_goodsNum;
|
|
private System.Windows.Forms.Label label2;
|
|
private Ctrl.LookUpEditSystem LEPStoID;
|
|
private DevExpress.XtraEditors.LabelControl labelControl17;
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
|
|
}
|
|
} |