파트리스트 기능 변경 및 수량 확정 기능 추가
This commit is contained in:
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
|
||||
// 지정되도록 할 수 있습니다.
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("20.06.05.1240")]
|
||||
[assembly: AssemblyFileVersion("20.06.05.1240")]
|
||||
[assembly: AssemblyVersion("20.06.12.0900")]
|
||||
[assembly: AssemblyFileVersion("20.06.12.0900")]
|
||||
|
||||
@@ -138,7 +138,6 @@ namespace FBS0000
|
||||
|
||||
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
var f = new fHolyday_Add();
|
||||
f.TopMost = true;
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
|
||||
@@ -731,7 +731,7 @@ namespace FEQ0000
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsPurchase.PurchaseRow;
|
||||
string buffer = string.Format("{0}_{1}_{2}_{3}_{4}", dr.pumname.Replace("_", "-"), dr.pumscale.Replace("_", "-"), dr.dept.Replace("_", "-"), dr.manuproc.Replace("_", "-"), dr.asset.Replace("_", "-"));
|
||||
string buffer = string.Format("{0}_{1}", dr.pumname.Replace("_", "-"), dr.pumscale.Replace("_", "-"), dr.dept.Replace("_", "-"), dr.manuproc.Replace("_", "-"), dr.asset.Replace("_", "-"));
|
||||
Clipboard.SetText(buffer);
|
||||
//FCOMMON.Util.MsgI("다음 데이터가 클립보드에 저장됨\n\n" + buffer); 190131
|
||||
}
|
||||
|
||||
@@ -234,6 +234,12 @@
|
||||
<Compile Include="Project\fProjectPartToPurchase.Designer.cs">
|
||||
<DependentUpon>fProjectPartToPurchase.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\fPartConfirm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\fPartConfirm.Designer.cs">
|
||||
<DependentUpon>fPartConfirm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\fSPMaster.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -340,6 +346,9 @@
|
||||
<EmbeddedResource Include="Project\fProjectPartToPurchase.resx">
|
||||
<DependentUpon>fProjectPartToPurchase.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\fPartConfirm.resx">
|
||||
<DependentUpon>fPartConfirm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\fSPMaster.resx">
|
||||
<DependentUpon>fSPMaster.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
@@ -31,8 +31,9 @@ namespace FPJ0000
|
||||
var strWidth = "100";
|
||||
if(col.DataField != "")
|
||||
{
|
||||
strWidth = ini.get_Data("colsize", col.DataField, ""); //필드명으로 읽어서 자료가 없다면 인덱스로 한다
|
||||
if (strWidth == "") strWidth = ini.get_Data("colsize", "index_" + col.Index.ToString(), "0");
|
||||
strWidth = ini.get_Data("colsize", col.DataField, "100"); //필드명으로 읽어서 자료가 없다면 인덱스로 한다
|
||||
if (string.IsNullOrEmpty(strWidth) == true) strWidth = "100";
|
||||
//if (strWidth == "") strWidth = ini.get_Data("colsize", "index_" + col.Index.ToString(), "100");
|
||||
}
|
||||
else strWidth = ini.get_Data("colsize", "index_" + col.Index.ToString(), "0");
|
||||
col.Width = float.Parse(strWidth);
|
||||
|
||||
@@ -450,6 +450,7 @@
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.EETGW_NoteTableAdapter = null;
|
||||
this.tam.JobReportTableAdapter = this.ta;
|
||||
this.tam.ProjectsHistoryTableAdapter = null;
|
||||
this.tam.ProjectsIOMapTableAdapter = null;
|
||||
@@ -457,6 +458,7 @@
|
||||
this.tam.ProjectsPartTableAdapter = null;
|
||||
this.tam.ProjectsScheduleTableAdapter = null;
|
||||
this.tam.ProjectsTableAdapter = null;
|
||||
this.tam.SPMasterTableAdapter = null;
|
||||
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// ta
|
||||
|
||||
@@ -216,6 +216,7 @@ namespace FPJ0000.JobReport
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
this.tbProject.Text = f.Title;
|
||||
this.tbProject.Tag = f.Title;
|
||||
this.tbProjectIndex.Text = f.Index.ToString();
|
||||
tbHrs.Focus();
|
||||
tbHrs.SelectAll();
|
||||
|
||||
966
SubProject/FPJ0000/Project/fPartConfirm.Designer.cs
generated
Normal file
966
SubProject/FPJ0000/Project/fPartConfirm.Designer.cs
generated
Normal file
@@ -0,0 +1,966 @@
|
||||
namespace FPJ0000
|
||||
{
|
||||
partial class fPartConfirm
|
||||
{
|
||||
/// <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();
|
||||
System.Windows.Forms.Label priceLabel;
|
||||
System.Windows.Forms.Label qtyLabel;
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPartConfirm));
|
||||
this.bsPMP = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsMSSQL = new FPJ0000.dsPRJ();
|
||||
this.taPMP = new FPJ0000.dsPRJTableAdapters.SPMasterTableAdapter();
|
||||
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.tbFind = new System.Windows.Forms.TextBox();
|
||||
this.btFind = new System.Windows.Forms.Button();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter();
|
||||
this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorCountItem1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorMoveFirstItem1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem1 = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator5 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.arDatagridView1 = new arCtl.arDatagridView();
|
||||
this.itemNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.textBox6 = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.textBox10 = new System.Windows.Forms.TextBox();
|
||||
this.textBox9 = new System.Windows.Forms.TextBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.textBox8 = new System.Windows.Forms.TextBox();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.linkLabel3 = new System.Windows.Forms.LinkLabel();
|
||||
this.textBox4 = new System.Windows.Forms.TextBox();
|
||||
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
|
||||
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||
this.qtyTextBox = new System.Windows.Forms.TextBox();
|
||||
this.priceTextBox = new System.Windows.Forms.TextBox();
|
||||
this.textBox7 = new System.Windows.Forms.TextBox();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.textBox3 = new System.Windows.Forms.TextBox();
|
||||
this.textBox5 = new System.Windows.Forms.TextBox();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.btConf = new System.Windows.Forms.Button();
|
||||
this.btPrev = new System.Windows.Forms.Button();
|
||||
this.btNext = new System.Windows.Forms.Button();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.panel7 = new System.Windows.Forms.Panel();
|
||||
this.panel6 = new System.Windows.Forms.Panel();
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
this.dvPMP = new arCtl.arDatagridView();
|
||||
this.sIDNoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.storageDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.partNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.partNoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.currentQtyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.divisionDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.locationDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.priceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.enrDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.enrolleeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.memoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.재고에적용합니다ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
priceLabel = new System.Windows.Forms.Label();
|
||||
qtyLabel = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsPMP)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
|
||||
this.bindingNavigator1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.arDatagridView1)).BeginInit();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.panel5.SuspendLayout();
|
||||
this.groupBox4.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dvPMP)).BeginInit();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// priceLabel
|
||||
//
|
||||
priceLabel.AutoSize = true;
|
||||
priceLabel.Location = new System.Drawing.Point(22, 158);
|
||||
priceLabel.Name = "priceLabel";
|
||||
priceLabel.Size = new System.Drawing.Size(29, 12);
|
||||
priceLabel.TabIndex = 11;
|
||||
priceLabel.Text = "단가";
|
||||
//
|
||||
// qtyLabel
|
||||
//
|
||||
qtyLabel.AutoSize = true;
|
||||
qtyLabel.Location = new System.Drawing.Point(22, 185);
|
||||
qtyLabel.Name = "qtyLabel";
|
||||
qtyLabel.Size = new System.Drawing.Size(29, 12);
|
||||
qtyLabel.TabIndex = 13;
|
||||
qtyLabel.Text = "수량";
|
||||
//
|
||||
// bsPMP
|
||||
//
|
||||
this.bsPMP.DataMember = "SPMaster";
|
||||
this.bsPMP.DataSource = this.dsMSSQL;
|
||||
this.bsPMP.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "DSMssql";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// taPMP
|
||||
//
|
||||
this.taPMP.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.EETGW_NoteTableAdapter = null;
|
||||
this.tam.JobReportTableAdapter = null;
|
||||
this.tam.ProjectsHistoryTableAdapter = null;
|
||||
this.tam.ProjectsIOMapTableAdapter = null;
|
||||
this.tam.ProjectsMailListTableAdapter = null;
|
||||
this.tam.ProjectsPartTableAdapter = null;
|
||||
this.tam.ProjectsScheduleTableAdapter = null;
|
||||
this.tam.ProjectsTableAdapter = null;
|
||||
this.tam.SPMasterTableAdapter = this.taPMP;
|
||||
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.tbFind);
|
||||
this.panel2.Controls.Add(this.btFind);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.panel2.Location = new System.Drawing.Point(10, 24);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1044, 52);
|
||||
this.panel2.TabIndex = 0;
|
||||
//
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbFind.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||
this.tbFind.Location = new System.Drawing.Point(0, 0);
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(931, 52);
|
||||
this.tbFind.TabIndex = 1;
|
||||
this.tbFind.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||
//
|
||||
// btFind
|
||||
//
|
||||
this.btFind.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btFind.Location = new System.Drawing.Point(931, 0);
|
||||
this.btFind.Name = "btFind";
|
||||
this.btFind.Size = new System.Drawing.Size(113, 52);
|
||||
this.btFind.TabIndex = 2;
|
||||
this.btFind.Text = "검색(&F)";
|
||||
this.btFind.UseVisualStyleBackColor = true;
|
||||
this.btFind.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "ProjectsPart";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged_1);
|
||||
//
|
||||
// taPart
|
||||
//
|
||||
this.taPart.ClearBeforeFill = true;
|
||||
//
|
||||
// bindingNavigator1
|
||||
//
|
||||
this.bindingNavigator1.AddNewItem = null;
|
||||
this.bindingNavigator1.BindingSource = this.bs;
|
||||
this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem1;
|
||||
this.bindingNavigator1.DeleteItem = null;
|
||||
this.bindingNavigator1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem1,
|
||||
this.bindingNavigatorMovePreviousItem1,
|
||||
this.bindingNavigatorSeparator3,
|
||||
this.bindingNavigatorPositionItem1,
|
||||
this.bindingNavigatorCountItem1,
|
||||
this.bindingNavigatorSeparator4,
|
||||
this.bindingNavigatorMoveNextItem1,
|
||||
this.bindingNavigatorMoveLastItem1,
|
||||
this.bindingNavigatorSeparator5});
|
||||
this.bindingNavigator1.Location = new System.Drawing.Point(5, 188);
|
||||
this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem1;
|
||||
this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem1;
|
||||
this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem1;
|
||||
this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem1;
|
||||
this.bindingNavigator1.Name = "bindingNavigator1";
|
||||
this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem1;
|
||||
this.bindingNavigator1.Size = new System.Drawing.Size(356, 25);
|
||||
this.bindingNavigator1.TabIndex = 4;
|
||||
this.bindingNavigator1.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorCountItem1
|
||||
//
|
||||
this.bindingNavigatorCountItem1.Name = "bindingNavigatorCountItem1";
|
||||
this.bindingNavigatorCountItem1.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem1.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem1.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem1
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem1.Image")));
|
||||
this.bindingNavigatorMoveFirstItem1.Name = "bindingNavigatorMoveFirstItem1";
|
||||
this.bindingNavigatorMoveFirstItem1.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem1.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem1.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem1
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem1.Image")));
|
||||
this.bindingNavigatorMovePreviousItem1.Name = "bindingNavigatorMovePreviousItem1";
|
||||
this.bindingNavigatorMovePreviousItem1.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem1.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem1.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator3
|
||||
//
|
||||
this.bindingNavigatorSeparator3.Name = "bindingNavigatorSeparator3";
|
||||
this.bindingNavigatorSeparator3.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem1
|
||||
//
|
||||
this.bindingNavigatorPositionItem1.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem1.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem1.Name = "bindingNavigatorPositionItem1";
|
||||
this.bindingNavigatorPositionItem1.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem1.Text = "0";
|
||||
this.bindingNavigatorPositionItem1.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator4
|
||||
//
|
||||
this.bindingNavigatorSeparator4.Name = "bindingNavigatorSeparator4";
|
||||
this.bindingNavigatorSeparator4.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem1
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem1.Image")));
|
||||
this.bindingNavigatorMoveNextItem1.Name = "bindingNavigatorMoveNextItem1";
|
||||
this.bindingNavigatorMoveNextItem1.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem1.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem1.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem1
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem1.Image")));
|
||||
this.bindingNavigatorMoveLastItem1.Name = "bindingNavigatorMoveLastItem1";
|
||||
this.bindingNavigatorMoveLastItem1.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem1.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem1.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator5
|
||||
//
|
||||
this.bindingNavigatorSeparator5.Name = "bindingNavigatorSeparator5";
|
||||
this.bindingNavigatorSeparator5.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// arDatagridView1
|
||||
//
|
||||
this.arDatagridView1.A_DelCurrentCell = true;
|
||||
this.arDatagridView1.A_EnterToTab = true;
|
||||
this.arDatagridView1.A_KoreanField = null;
|
||||
this.arDatagridView1.A_UpperField = null;
|
||||
this.arDatagridView1.A_ViewRownumOnHeader = true;
|
||||
this.arDatagridView1.AllowUserToAddRows = false;
|
||||
this.arDatagridView1.AllowUserToDeleteRows = false;
|
||||
this.arDatagridView1.AutoGenerateColumns = false;
|
||||
this.arDatagridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
this.arDatagridView1.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
|
||||
this.arDatagridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.arDatagridView1.ColumnHeadersVisible = false;
|
||||
this.arDatagridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.itemNameDataGridViewTextBoxColumn1});
|
||||
this.arDatagridView1.DataSource = this.bs;
|
||||
this.arDatagridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arDatagridView1.Location = new System.Drawing.Point(5, 19);
|
||||
this.arDatagridView1.Name = "arDatagridView1";
|
||||
this.arDatagridView1.ReadOnly = true;
|
||||
this.arDatagridView1.RowHeadersVisible = false;
|
||||
this.arDatagridView1.RowTemplate.Height = 23;
|
||||
this.arDatagridView1.Size = new System.Drawing.Size(356, 169);
|
||||
this.arDatagridView1.TabIndex = 5;
|
||||
//
|
||||
// itemNameDataGridViewTextBoxColumn1
|
||||
//
|
||||
this.itemNameDataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.itemNameDataGridViewTextBoxColumn1.DataPropertyName = "ItemName";
|
||||
this.itemNameDataGridViewTextBoxColumn1.HeaderText = "ItemName";
|
||||
this.itemNameDataGridViewTextBoxColumn1.Name = "itemNameDataGridViewTextBoxColumn1";
|
||||
this.itemNameDataGridViewTextBoxColumn1.ReadOnly = true;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.arDatagridView1);
|
||||
this.groupBox1.Controls.Add(this.bindingNavigator1);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox1.Location = new System.Drawing.Point(0, 0);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Padding = new System.Windows.Forms.Padding(5, 5, 5, 3);
|
||||
this.groupBox1.Size = new System.Drawing.Size(366, 216);
|
||||
this.groupBox1.TabIndex = 7;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "미 검토 목록";
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.groupBox3);
|
||||
this.panel1.Controls.Add(this.panel4);
|
||||
this.panel1.Controls.Add(this.groupBox2);
|
||||
this.panel1.Controls.Add(this.panel3);
|
||||
this.panel1.Controls.Add(this.groupBox1);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(10, 10);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1064, 216);
|
||||
this.panel1.TabIndex = 8;
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Controls.Add(this.textBox6);
|
||||
this.groupBox3.Controls.Add(this.label7);
|
||||
this.groupBox3.Controls.Add(this.textBox10);
|
||||
this.groupBox3.Controls.Add(this.textBox9);
|
||||
this.groupBox3.Controls.Add(this.label10);
|
||||
this.groupBox3.Controls.Add(this.textBox8);
|
||||
this.groupBox3.Controls.Add(this.label8);
|
||||
this.groupBox3.Controls.Add(this.label9);
|
||||
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox3.Location = new System.Drawing.Point(698, 0);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Padding = new System.Windows.Forms.Padding(5, 5, 5, 3);
|
||||
this.groupBox3.Size = new System.Drawing.Size(366, 216);
|
||||
this.groupBox3.TabIndex = 0;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "구매 수량 입력";
|
||||
//
|
||||
// textBox6
|
||||
//
|
||||
this.textBox6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||
this.textBox6.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qtyjago", true));
|
||||
this.textBox6.Font = new System.Drawing.Font("맑은 고딕", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.textBox6.Location = new System.Drawing.Point(119, 40);
|
||||
this.textBox6.Name = "textBox6";
|
||||
this.textBox6.Size = new System.Drawing.Size(120, 57);
|
||||
this.textBox6.TabIndex = 8;
|
||||
this.textBox6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(153, 22);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(53, 12);
|
||||
this.label7.TabIndex = 7;
|
||||
this.label7.Text = "기존재고";
|
||||
//
|
||||
// textBox10
|
||||
//
|
||||
this.textBox10.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true));
|
||||
this.textBox10.Location = new System.Drawing.Point(15, 122);
|
||||
this.textBox10.Multiline = true;
|
||||
this.textBox10.Name = "textBox10";
|
||||
this.textBox10.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.textBox10.Size = new System.Drawing.Size(336, 85);
|
||||
this.textBox10.TabIndex = 3;
|
||||
//
|
||||
// textBox9
|
||||
//
|
||||
this.textBox9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.textBox9.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qtybuy", true));
|
||||
this.textBox9.Font = new System.Drawing.Font("맑은 고딕", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.textBox9.Location = new System.Drawing.Point(245, 40);
|
||||
this.textBox9.Name = "textBox9";
|
||||
this.textBox9.Size = new System.Drawing.Size(106, 57);
|
||||
this.textBox9.TabIndex = 0;
|
||||
this.textBox9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(13, 103);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(29, 12);
|
||||
this.label10.TabIndex = 2;
|
||||
this.label10.Text = "비고";
|
||||
//
|
||||
// textBox8
|
||||
//
|
||||
this.textBox8.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qtyn", true));
|
||||
this.textBox8.Font = new System.Drawing.Font("맑은 고딕", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.textBox8.Location = new System.Drawing.Point(15, 40);
|
||||
this.textBox8.Name = "textBox8";
|
||||
this.textBox8.ReadOnly = true;
|
||||
this.textBox8.Size = new System.Drawing.Size(98, 57);
|
||||
this.textBox8.TabIndex = 1;
|
||||
this.textBox8.TabStop = false;
|
||||
this.textBox8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(262, 22);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(72, 12);
|
||||
this.label8.TabIndex = 2;
|
||||
this.label8.Text = "구매수량(&N)";
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(42, 22);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(41, 12);
|
||||
this.label9.TabIndex = 0;
|
||||
this.label9.Text = "필요량";
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panel4.Location = new System.Drawing.Point(690, 0);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(8, 216);
|
||||
this.panel4.TabIndex = 10;
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.linkLabel3);
|
||||
this.groupBox2.Controls.Add(this.textBox4);
|
||||
this.groupBox2.Controls.Add(this.linkLabel2);
|
||||
this.groupBox2.Controls.Add(this.linkLabel1);
|
||||
this.groupBox2.Controls.Add(qtyLabel);
|
||||
this.groupBox2.Controls.Add(this.qtyTextBox);
|
||||
this.groupBox2.Controls.Add(priceLabel);
|
||||
this.groupBox2.Controls.Add(this.priceTextBox);
|
||||
this.groupBox2.Controls.Add(this.textBox7);
|
||||
this.groupBox2.Controls.Add(this.textBox2);
|
||||
this.groupBox2.Controls.Add(this.label2);
|
||||
this.groupBox2.Controls.Add(this.textBox3);
|
||||
this.groupBox2.Controls.Add(this.textBox5);
|
||||
this.groupBox2.Controls.Add(this.textBox1);
|
||||
this.groupBox2.Controls.Add(this.label1);
|
||||
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox2.Location = new System.Drawing.Point(374, 0);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Padding = new System.Windows.Forms.Padding(5, 5, 5, 3);
|
||||
this.groupBox2.Size = new System.Drawing.Size(316, 216);
|
||||
this.groupBox2.TabIndex = 9;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "품목 정보";
|
||||
//
|
||||
// linkLabel3
|
||||
//
|
||||
this.linkLabel3.AutoSize = true;
|
||||
this.linkLabel3.Location = new System.Drawing.Point(22, 22);
|
||||
this.linkLabel3.Name = "linkLabel3";
|
||||
this.linkLabel3.Size = new System.Drawing.Size(29, 12);
|
||||
this.linkLabel3.TabIndex = 17;
|
||||
this.linkLabel3.TabStop = true;
|
||||
this.linkLabel3.Text = "품명";
|
||||
this.linkLabel3.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel3_LinkClicked);
|
||||
//
|
||||
// textBox4
|
||||
//
|
||||
this.textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemName", true));
|
||||
this.textBox4.Location = new System.Drawing.Point(57, 19);
|
||||
this.textBox4.Name = "textBox4";
|
||||
this.textBox4.ReadOnly = true;
|
||||
this.textBox4.Size = new System.Drawing.Size(252, 21);
|
||||
this.textBox4.TabIndex = 16;
|
||||
this.textBox4.TabStop = false;
|
||||
this.textBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// linkLabel2
|
||||
//
|
||||
this.linkLabel2.AutoSize = true;
|
||||
this.linkLabel2.Location = new System.Drawing.Point(22, 132);
|
||||
this.linkLabel2.Name = "linkLabel2";
|
||||
this.linkLabel2.Size = new System.Drawing.Size(29, 12);
|
||||
this.linkLabel2.TabIndex = 15;
|
||||
this.linkLabel2.TabStop = true;
|
||||
this.linkLabel2.Text = "규격";
|
||||
this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
|
||||
//
|
||||
// linkLabel1
|
||||
//
|
||||
this.linkLabel1.AutoSize = true;
|
||||
this.linkLabel1.Location = new System.Drawing.Point(27, 106);
|
||||
this.linkLabel1.Name = "linkLabel1";
|
||||
this.linkLabel1.Size = new System.Drawing.Size(24, 12);
|
||||
this.linkLabel1.TabIndex = 15;
|
||||
this.linkLabel1.TabStop = true;
|
||||
this.linkLabel1.Text = "SID";
|
||||
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
||||
//
|
||||
// qtyTextBox
|
||||
//
|
||||
this.qtyTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qty", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N0"));
|
||||
this.qtyTextBox.Location = new System.Drawing.Point(57, 182);
|
||||
this.qtyTextBox.Name = "qtyTextBox";
|
||||
this.qtyTextBox.ReadOnly = true;
|
||||
this.qtyTextBox.Size = new System.Drawing.Size(252, 21);
|
||||
this.qtyTextBox.TabIndex = 14;
|
||||
this.qtyTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// priceTextBox
|
||||
//
|
||||
this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "price", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N0"));
|
||||
this.priceTextBox.Location = new System.Drawing.Point(57, 155);
|
||||
this.priceTextBox.Name = "priceTextBox";
|
||||
this.priceTextBox.ReadOnly = true;
|
||||
this.priceTextBox.Size = new System.Drawing.Size(252, 21);
|
||||
this.priceTextBox.TabIndex = 12;
|
||||
this.priceTextBox.TabStop = false;
|
||||
this.priceTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// textBox7
|
||||
//
|
||||
this.textBox7.Location = new System.Drawing.Point(270, 128);
|
||||
this.textBox7.Name = "textBox7";
|
||||
this.textBox7.ReadOnly = true;
|
||||
this.textBox7.Size = new System.Drawing.Size(39, 21);
|
||||
this.textBox7.TabIndex = 1;
|
||||
this.textBox7.TabStop = false;
|
||||
this.textBox7.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "option1", true));
|
||||
this.textBox2.Location = new System.Drawing.Point(57, 76);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.ReadOnly = true;
|
||||
this.textBox2.Size = new System.Drawing.Size(252, 21);
|
||||
this.textBox2.TabIndex = 1;
|
||||
this.textBox2.TabStop = false;
|
||||
this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(10, 80);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(41, 12);
|
||||
this.label2.TabIndex = 0;
|
||||
this.label2.Text = "소분류";
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemSid", true));
|
||||
this.textBox3.Location = new System.Drawing.Point(57, 103);
|
||||
this.textBox3.Name = "textBox3";
|
||||
this.textBox3.ReadOnly = true;
|
||||
this.textBox3.Size = new System.Drawing.Size(252, 21);
|
||||
this.textBox3.TabIndex = 1;
|
||||
this.textBox3.TabStop = false;
|
||||
this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// textBox5
|
||||
//
|
||||
this.textBox5.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemModel", true));
|
||||
this.textBox5.Location = new System.Drawing.Point(57, 128);
|
||||
this.textBox5.Name = "textBox5";
|
||||
this.textBox5.ReadOnly = true;
|
||||
this.textBox5.Size = new System.Drawing.Size(207, 21);
|
||||
this.textBox5.TabIndex = 1;
|
||||
this.textBox5.TabStop = false;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemGroup", true));
|
||||
this.textBox1.Location = new System.Drawing.Point(57, 49);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.ReadOnly = true;
|
||||
this.textBox1.Size = new System.Drawing.Size(252, 21);
|
||||
this.textBox1.TabIndex = 1;
|
||||
this.textBox1.TabStop = false;
|
||||
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(10, 53);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(41, 12);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "중분류";
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panel3.Location = new System.Drawing.Point(366, 0);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(8, 216);
|
||||
this.panel3.TabIndex = 8;
|
||||
//
|
||||
// btConf
|
||||
//
|
||||
this.btConf.BackColor = System.Drawing.Color.Gold;
|
||||
this.btConf.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.btConf.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btConf.Location = new System.Drawing.Point(374, 5);
|
||||
this.btConf.Name = "btConf";
|
||||
this.btConf.Size = new System.Drawing.Size(316, 69);
|
||||
this.btConf.TabIndex = 4;
|
||||
this.btConf.Text = "구매수량 확정(F5)";
|
||||
this.btConf.UseVisualStyleBackColor = false;
|
||||
this.btConf.Click += new System.EventHandler(this.btConf_Click);
|
||||
//
|
||||
// btPrev
|
||||
//
|
||||
this.btPrev.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.btPrev.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btPrev.Location = new System.Drawing.Point(5, 5);
|
||||
this.btPrev.Name = "btPrev";
|
||||
this.btPrev.Size = new System.Drawing.Size(361, 69);
|
||||
this.btPrev.TabIndex = 5;
|
||||
this.btPrev.Text = "이전(F1)";
|
||||
this.btPrev.UseVisualStyleBackColor = true;
|
||||
this.btPrev.Click += new System.EventHandler(this.btPrev_Click);
|
||||
//
|
||||
// btNext
|
||||
//
|
||||
this.btNext.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btNext.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btNext.Location = new System.Drawing.Point(698, 5);
|
||||
this.btNext.Name = "btNext";
|
||||
this.btNext.Size = new System.Drawing.Size(361, 69);
|
||||
this.btNext.TabIndex = 6;
|
||||
this.btNext.Text = "다음(F9)";
|
||||
this.btNext.UseVisualStyleBackColor = true;
|
||||
this.btNext.Click += new System.EventHandler(this.btNext_Click);
|
||||
//
|
||||
// panel5
|
||||
//
|
||||
this.panel5.Controls.Add(this.btConf);
|
||||
this.panel5.Controls.Add(this.panel7);
|
||||
this.panel5.Controls.Add(this.panel6);
|
||||
this.panel5.Controls.Add(this.btPrev);
|
||||
this.panel5.Controls.Add(this.btNext);
|
||||
this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel5.Location = new System.Drawing.Point(10, 226);
|
||||
this.panel5.Name = "panel5";
|
||||
this.panel5.Padding = new System.Windows.Forms.Padding(5, 5, 5, 10);
|
||||
this.panel5.Size = new System.Drawing.Size(1064, 84);
|
||||
this.panel5.TabIndex = 9;
|
||||
//
|
||||
// panel7
|
||||
//
|
||||
this.panel7.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel7.Location = new System.Drawing.Point(690, 5);
|
||||
this.panel7.Name = "panel7";
|
||||
this.panel7.Size = new System.Drawing.Size(8, 69);
|
||||
this.panel7.TabIndex = 12;
|
||||
//
|
||||
// panel6
|
||||
//
|
||||
this.panel6.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panel6.Location = new System.Drawing.Point(366, 5);
|
||||
this.panel6.Name = "panel6";
|
||||
this.panel6.Size = new System.Drawing.Size(8, 69);
|
||||
this.panel6.TabIndex = 11;
|
||||
//
|
||||
// groupBox4
|
||||
//
|
||||
this.groupBox4.Controls.Add(this.dvPMP);
|
||||
this.groupBox4.Controls.Add(this.panel2);
|
||||
this.groupBox4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox4.Location = new System.Drawing.Point(10, 310);
|
||||
this.groupBox4.Name = "groupBox4";
|
||||
this.groupBox4.Padding = new System.Windows.Forms.Padding(10);
|
||||
this.groupBox4.Size = new System.Drawing.Size(1064, 341);
|
||||
this.groupBox4.TabIndex = 10;
|
||||
this.groupBox4.TabStop = false;
|
||||
this.groupBox4.Text = "PMP 재고 내역 (PMP에 재고가 있다면 사용여부를 확인하세요)";
|
||||
//
|
||||
// dvPMP
|
||||
//
|
||||
this.dvPMP.A_DelCurrentCell = true;
|
||||
this.dvPMP.A_EnterToTab = true;
|
||||
this.dvPMP.A_KoreanField = null;
|
||||
this.dvPMP.A_UpperField = null;
|
||||
this.dvPMP.A_ViewRownumOnHeader = true;
|
||||
this.dvPMP.AllowUserToAddRows = false;
|
||||
this.dvPMP.AllowUserToDeleteRows = false;
|
||||
this.dvPMP.AutoGenerateColumns = false;
|
||||
this.dvPMP.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dvPMP.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.sIDNoDataGridViewTextBoxColumn,
|
||||
this.storageDataGridViewTextBoxColumn,
|
||||
this.partNameDataGridViewTextBoxColumn,
|
||||
this.partNoDataGridViewTextBoxColumn,
|
||||
this.currentQtyDataGridViewTextBoxColumn,
|
||||
this.divisionDataGridViewTextBoxColumn,
|
||||
this.locationDataGridViewTextBoxColumn,
|
||||
this.priceDataGridViewTextBoxColumn,
|
||||
this.enrDateDataGridViewTextBoxColumn,
|
||||
this.enrolleeDataGridViewTextBoxColumn,
|
||||
this.memoDataGridViewTextBoxColumn});
|
||||
this.dvPMP.ContextMenuStrip = this.contextMenuStrip1;
|
||||
this.dvPMP.DataSource = this.bsPMP;
|
||||
this.dvPMP.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dvPMP.Location = new System.Drawing.Point(10, 76);
|
||||
this.dvPMP.Name = "dvPMP";
|
||||
this.dvPMP.ReadOnly = true;
|
||||
this.dvPMP.RowTemplate.Height = 23;
|
||||
this.dvPMP.Size = new System.Drawing.Size(1044, 255);
|
||||
this.dvPMP.TabIndex = 1;
|
||||
this.dvPMP.DoubleClick += new System.EventHandler(this.dvPMP_DoubleClick);
|
||||
//
|
||||
// sIDNoDataGridViewTextBoxColumn
|
||||
//
|
||||
this.sIDNoDataGridViewTextBoxColumn.DataPropertyName = "SIDNo";
|
||||
this.sIDNoDataGridViewTextBoxColumn.HeaderText = "SIDNo";
|
||||
this.sIDNoDataGridViewTextBoxColumn.Name = "sIDNoDataGridViewTextBoxColumn";
|
||||
this.sIDNoDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// storageDataGridViewTextBoxColumn
|
||||
//
|
||||
this.storageDataGridViewTextBoxColumn.DataPropertyName = "Storage";
|
||||
this.storageDataGridViewTextBoxColumn.HeaderText = "Storage";
|
||||
this.storageDataGridViewTextBoxColumn.Name = "storageDataGridViewTextBoxColumn";
|
||||
this.storageDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// partNameDataGridViewTextBoxColumn
|
||||
//
|
||||
this.partNameDataGridViewTextBoxColumn.DataPropertyName = "PartName";
|
||||
this.partNameDataGridViewTextBoxColumn.HeaderText = "PartName";
|
||||
this.partNameDataGridViewTextBoxColumn.Name = "partNameDataGridViewTextBoxColumn";
|
||||
this.partNameDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// partNoDataGridViewTextBoxColumn
|
||||
//
|
||||
this.partNoDataGridViewTextBoxColumn.DataPropertyName = "PartNo";
|
||||
this.partNoDataGridViewTextBoxColumn.HeaderText = "PartNo";
|
||||
this.partNoDataGridViewTextBoxColumn.Name = "partNoDataGridViewTextBoxColumn";
|
||||
this.partNoDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// currentQtyDataGridViewTextBoxColumn
|
||||
//
|
||||
this.currentQtyDataGridViewTextBoxColumn.DataPropertyName = "CurrentQty";
|
||||
this.currentQtyDataGridViewTextBoxColumn.HeaderText = "Qty";
|
||||
this.currentQtyDataGridViewTextBoxColumn.Name = "currentQtyDataGridViewTextBoxColumn";
|
||||
this.currentQtyDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// divisionDataGridViewTextBoxColumn
|
||||
//
|
||||
this.divisionDataGridViewTextBoxColumn.DataPropertyName = "Division";
|
||||
this.divisionDataGridViewTextBoxColumn.HeaderText = "Division";
|
||||
this.divisionDataGridViewTextBoxColumn.Name = "divisionDataGridViewTextBoxColumn";
|
||||
this.divisionDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// locationDataGridViewTextBoxColumn
|
||||
//
|
||||
this.locationDataGridViewTextBoxColumn.DataPropertyName = "Location";
|
||||
this.locationDataGridViewTextBoxColumn.HeaderText = "Location";
|
||||
this.locationDataGridViewTextBoxColumn.Name = "locationDataGridViewTextBoxColumn";
|
||||
this.locationDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// priceDataGridViewTextBoxColumn
|
||||
//
|
||||
this.priceDataGridViewTextBoxColumn.DataPropertyName = "Price";
|
||||
this.priceDataGridViewTextBoxColumn.HeaderText = "Price";
|
||||
this.priceDataGridViewTextBoxColumn.Name = "priceDataGridViewTextBoxColumn";
|
||||
this.priceDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// enrDateDataGridViewTextBoxColumn
|
||||
//
|
||||
this.enrDateDataGridViewTextBoxColumn.DataPropertyName = "EnrDate";
|
||||
this.enrDateDataGridViewTextBoxColumn.HeaderText = "EnrDate";
|
||||
this.enrDateDataGridViewTextBoxColumn.Name = "enrDateDataGridViewTextBoxColumn";
|
||||
this.enrDateDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// enrolleeDataGridViewTextBoxColumn
|
||||
//
|
||||
this.enrolleeDataGridViewTextBoxColumn.DataPropertyName = "Enrollee";
|
||||
this.enrolleeDataGridViewTextBoxColumn.HeaderText = "Enrollee";
|
||||
this.enrolleeDataGridViewTextBoxColumn.Name = "enrolleeDataGridViewTextBoxColumn";
|
||||
this.enrolleeDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// memoDataGridViewTextBoxColumn
|
||||
//
|
||||
this.memoDataGridViewTextBoxColumn.DataPropertyName = "Memo";
|
||||
this.memoDataGridViewTextBoxColumn.HeaderText = "Memo";
|
||||
this.memoDataGridViewTextBoxColumn.Name = "memoDataGridViewTextBoxColumn";
|
||||
this.memoDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.재고에적용합니다ToolStripMenuItem});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(244, 34);
|
||||
//
|
||||
// 재고에적용합니다ToolStripMenuItem
|
||||
//
|
||||
this.재고에적용합니다ToolStripMenuItem.Name = "재고에적용합니다ToolStripMenuItem";
|
||||
this.재고에적용합니다ToolStripMenuItem.Size = new System.Drawing.Size(243, 30);
|
||||
this.재고에적용합니다ToolStripMenuItem.Text = "재고에 적용합니다";
|
||||
this.재고에적용합니다ToolStripMenuItem.Click += new System.EventHandler(this.재고에적용합니다ToolStripMenuItem_Click);
|
||||
//
|
||||
// fPartConfirm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(1084, 661);
|
||||
this.Controls.Add(this.groupBox4);
|
||||
this.Controls.Add(this.panel5);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "fPartConfirm";
|
||||
this.Padding = new System.Windows.Forms.Padding(10);
|
||||
this.Text = "PartList Item Confirm";
|
||||
this.UseFormSetting = false;
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsPMP)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
|
||||
this.bindingNavigator1.ResumeLayout(false);
|
||||
this.bindingNavigator1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.arDatagridView1)).EndInit();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
this.groupBox3.PerformLayout();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
this.panel5.ResumeLayout(false);
|
||||
this.groupBox4.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dvPMP)).EndInit();
|
||||
this.contextMenuStrip1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private dsPRJ dsMSSQL;
|
||||
private System.Windows.Forms.BindingSource bsPMP;
|
||||
private dsPRJTableAdapters.SPMasterTableAdapter taPMP;
|
||||
private dsPRJTableAdapters.TableAdapterManager tam;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn idxDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn stimeDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn titleDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn placeDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn mainDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn projectDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Button btFind;
|
||||
private System.Windows.Forms.TextBox tbFind;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsPRJTableAdapters.ProjectsPartTableAdapter taPart;
|
||||
private System.Windows.Forms.BindingNavigator bindingNavigator1;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem1;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator3;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem1;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator4;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem1;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator5;
|
||||
private arCtl.arDatagridView arDatagridView1;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
private System.Windows.Forms.GroupBox groupBox3;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox textBox8;
|
||||
private System.Windows.Forms.TextBox textBox7;
|
||||
private System.Windows.Forms.TextBox textBox2;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox textBox3;
|
||||
private System.Windows.Forms.TextBox textBox5;
|
||||
private System.Windows.Forms.TextBox textBox9;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.TextBox textBox10;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.TextBox priceTextBox;
|
||||
private System.Windows.Forms.TextBox qtyTextBox;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn itemNameDataGridViewTextBoxColumn1;
|
||||
private System.Windows.Forms.Button btConf;
|
||||
private System.Windows.Forms.Button btNext;
|
||||
private System.Windows.Forms.Button btPrev;
|
||||
private System.Windows.Forms.TextBox textBox6;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Panel panel5;
|
||||
private System.Windows.Forms.Panel panel7;
|
||||
private System.Windows.Forms.Panel panel6;
|
||||
private System.Windows.Forms.GroupBox groupBox4;
|
||||
private System.Windows.Forms.LinkLabel linkLabel2;
|
||||
private System.Windows.Forms.LinkLabel linkLabel1;
|
||||
private System.Windows.Forms.LinkLabel linkLabel3;
|
||||
private System.Windows.Forms.TextBox textBox4;
|
||||
private arCtl.arDatagridView dvPMP;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn sIDNoDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn storageDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn partNameDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn partNoDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn currentQtyDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn divisionDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn locationDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn priceDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn enrDateDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn enrolleeDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn memoDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 재고에적용합니다ToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
314
SubProject/FPJ0000/Project/fPartConfirm.cs
Normal file
314
SubProject/FPJ0000/Project/fPartConfirm.cs
Normal file
@@ -0,0 +1,314 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000
|
||||
{
|
||||
public partial class fPartConfirm : FCOMMON.fBase
|
||||
{
|
||||
string fn_fpcolsize = "";
|
||||
public int qty = 0;
|
||||
|
||||
string search = string.Empty;
|
||||
int idx = -1;
|
||||
public fPartConfirm(dsPRJ.ProjectsPartDataTable dt)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.bs.DataSource = dt;
|
||||
this.bs.Sort = "itemgroup,option1,no";
|
||||
this.bs.Filter = "isnull(bconfirm,0)=false";
|
||||
|
||||
fn_fpcolsize = System.IO.Path.Combine(
|
||||
AppDomain.CurrentDomain.BaseDirectory,
|
||||
"formSetting",
|
||||
"fp_" + this.Name + ".ini");
|
||||
|
||||
this.WindowState = FormWindowState.Normal;
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
else if (e1.KeyCode == Keys.F1) btPrev.PerformClick();
|
||||
else if (e1.KeyCode == Keys.F9) btNext.PerformClick();
|
||||
else if (e1.KeyCode == Keys.F5) btConf.PerformClick();
|
||||
};
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
btFind.PerformClick();
|
||||
}
|
||||
void refreshData(string div)
|
||||
{
|
||||
this.taPMP.Fill(this.dsMSSQL.SPMaster, "%" + div + "%");
|
||||
dvPMP.AutoResizeColumns();
|
||||
//FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
|
||||
tbFind.Focus();
|
||||
//tbFind.SelectAll();
|
||||
}
|
||||
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
idx = -1;
|
||||
var drv = bsPMP.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsPRJ.SPMasterRow;//.minutesRow;
|
||||
idx = dr.ID;
|
||||
}
|
||||
|
||||
private void toolStripButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
var cnt = this.taPMP.Update(this.dsMSSQL.SPMaster);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void 목록새로고침ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.refreshData(this.search);
|
||||
}
|
||||
|
||||
//void Find()
|
||||
//{
|
||||
// var txt = tbFind.Text.Trim();
|
||||
// if (txt == "")
|
||||
// {
|
||||
// if(bs.Filter != "")
|
||||
// {
|
||||
// bs.Filter = "";
|
||||
// tbFind.BackColor = Color.WhiteSmoke;
|
||||
// }
|
||||
// tbFind.Focus();
|
||||
// return;
|
||||
// }
|
||||
|
||||
// //검색어가 잇으므로 검색을 수행한다
|
||||
// var cols = new string[] { "SIDNo","Storage","Location",
|
||||
// "PartName","PartNo","Memo","CostCenter","Enrollee"};
|
||||
// string filter = "";
|
||||
// foreach(var col in cols)
|
||||
// {
|
||||
// if (filter != "") filter += " or ";
|
||||
// filter += col + " like '%"+ txt.Replace("'","''") +"%' ";
|
||||
// }
|
||||
// try
|
||||
// {
|
||||
// this.bs.Filter = filter;
|
||||
// tbFind.BackColor = Color.Lime;
|
||||
// tbFind.SelectAll();
|
||||
// }catch (Exception ex)
|
||||
// {
|
||||
// this.bs.Filter = "";
|
||||
// tbFind.BackColor = Color.Red;
|
||||
// FCOMMON.Util.MsgE(ex.Message);
|
||||
// }
|
||||
//}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
refreshData(tbFind.Text.Trim());
|
||||
}
|
||||
|
||||
private void tbFind_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
btFind.PerformClick();
|
||||
}
|
||||
|
||||
private void exportListToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveFileDialog sd = new SaveFileDialog();
|
||||
sd.Filter = "excel|*.xls";
|
||||
var fn = "pmplist";
|
||||
sd.FileName = fn + ".xls";
|
||||
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
dvPMP.SaveExcelXML(sd.FileName);
|
||||
//fpSpread1.SaveExcel(sd.FileName,
|
||||
// FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
// | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
// | FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
// | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
}
|
||||
}
|
||||
|
||||
//private void autoToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true;
|
||||
|
||||
// for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
|
||||
// this.fpSpread1.ActiveSheet.SetRowHeight(i, 25);
|
||||
// //dv1.AutoResizeColumns();
|
||||
//}
|
||||
|
||||
//private void resetToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
|
||||
// {
|
||||
// col.Width = 100;
|
||||
// }
|
||||
//}
|
||||
|
||||
//private void saveToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize);
|
||||
//}
|
||||
|
||||
//private void loadToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
//}
|
||||
|
||||
private void btConf_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
this.bsPMP.EndEdit();
|
||||
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsPRJ.ProjectsPartRow;
|
||||
dr.bconfirm = true;
|
||||
dr.EndEdit();
|
||||
|
||||
if (bs.Count < 1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("미 확정 데이터가 없습니다.\n화면이 닫힙니다.");
|
||||
this.Close();
|
||||
}
|
||||
else
|
||||
{
|
||||
textBox9.Focus();
|
||||
this.textBox9.SelectAll();//
|
||||
}
|
||||
}
|
||||
|
||||
private void btNext_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
this.bsPMP.EndEdit();
|
||||
|
||||
if (bs.Position < bs.Count - 1) bs.Position += 1;
|
||||
textBox9.Focus();
|
||||
this.textBox9.SelectAll();//
|
||||
}
|
||||
|
||||
private void btPrev_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
this.bsPMP.EndEdit();
|
||||
|
||||
if (bs.Position > 0) bs.Position -= 1;
|
||||
textBox9.Focus();
|
||||
this.textBox9.SelectAll();//
|
||||
}
|
||||
|
||||
private void bs_CurrentChanged_1(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null)
|
||||
{
|
||||
tbFind.Text = string.Empty;
|
||||
}
|
||||
else
|
||||
{
|
||||
var dr = drv.Row as dsPRJ.ProjectsPartRow;
|
||||
|
||||
if (dr.ItemSid.Length == 9) tbFind.Text = dr.ItemSid;
|
||||
else if (dr.ItemName.Length > 4) tbFind.Text = dr.ItemName.Substring(0, 4);
|
||||
else if (dr.ItemName.Length > 0) tbFind.Text = dr.ItemName;
|
||||
else tbFind.Text = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
if (string.IsNullOrEmpty(tbFind.Text) == true)
|
||||
{
|
||||
dsMSSQL.SPMaster.Clear();
|
||||
}
|
||||
else btFind.PerformClick();
|
||||
}
|
||||
|
||||
private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
finedata(textBox4.Text);
|
||||
}
|
||||
void finedata(string key)
|
||||
{
|
||||
tbFind.Text = key;
|
||||
if (string.IsNullOrEmpty(key) == false)
|
||||
btFind.PerformClick();
|
||||
}
|
||||
|
||||
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
finedata(textBox3.Text);
|
||||
}
|
||||
|
||||
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
finedata(textBox5.Text);
|
||||
}
|
||||
|
||||
private void label3_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void aplyjago()
|
||||
{
|
||||
var drv = this.bsPMP.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsPRJ.SPMasterRow;
|
||||
var qty = dr.CurrentQty;
|
||||
if (qty < 1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("현 재고가 없습니다");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
var drv2 = this.bs.Current as DataRowView;
|
||||
if (drv2 == null)
|
||||
{
|
||||
FCOMMON.Util.MsgE("미 확장 자료를 확인할 수 없습니다");
|
||||
return;
|
||||
}
|
||||
|
||||
var dr2 = drv2.Row as dsPRJ.ProjectsPartRow;
|
||||
var jagoqty = (int)Math.Min(dr2.qtyn, qty);
|
||||
dr2.qtyjago = jagoqty.ToString();
|
||||
dr2.jago = jagoqty;
|
||||
dr2.qtybuy = dr2.qtyn - jagoqty;
|
||||
var msg = "PMP재고 사용(" + jagoqty.ToString() + ")";
|
||||
if(dr2.memo.IndexOf(msg) == -1) dr2.memo += msg;
|
||||
dr2.EndEdit();
|
||||
}
|
||||
}
|
||||
private void 재고에적용합니다ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
aplyjago();
|
||||
}
|
||||
|
||||
private void dvPMP_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
aplyjago();
|
||||
}
|
||||
}
|
||||
}
|
||||
194
SubProject/FPJ0000/Project/fPartConfirm.resx
Normal file
194
SubProject/FPJ0000/Project/fPartConfirm.resx
Normal file
@@ -0,0 +1,194 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="priceLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="qtyLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="bsPMP.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>122, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="taPMP.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>212, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>300, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>373, 17</value>
|
||||
</metadata>
|
||||
<metadata name="taPart.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>437, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bindingNavigator1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>521, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorMoveFirstItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>677, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
481
SubProject/FPJ0000/Project/fPartList.Designer.cs
generated
481
SubProject/FPJ0000/Project/fPartList.Designer.cs
generated
@@ -55,15 +55,26 @@
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo1 = new FarPoint.Win.Spread.NoPrinterPrintInfo();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btConf = new System.Windows.Forms.Button();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.prb1 = new arCtl.arLabel();
|
||||
this.prb2 = new arCtl.arLabel();
|
||||
this.prb3 = new arCtl.arLabel();
|
||||
this.prb4 = new arCtl.arLabel();
|
||||
this.prb5 = new arCtl.arLabel();
|
||||
this.prb6 = new arCtl.arLabel();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.radSortGrp = new System.Windows.Forms.RadioButton();
|
||||
this.radSortNo = new System.Windows.Forms.RadioButton();
|
||||
@@ -121,6 +132,8 @@
|
||||
this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.검토목록모두구매등록상태로전환ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
pdateLabel = new System.Windows.Forms.Label();
|
||||
requestLabel = new System.Windows.Forms.Label();
|
||||
reqstaffLabel = new System.Windows.Forms.Label();
|
||||
@@ -132,6 +145,7 @@
|
||||
label1 = new System.Windows.Forms.Label();
|
||||
label2 = new System.Windows.Forms.Label();
|
||||
this.panel1.SuspendLayout();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
|
||||
this.cm1.SuspendLayout();
|
||||
@@ -235,6 +249,8 @@
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.btConf);
|
||||
this.panel1.Controls.Add(this.tableLayoutPanel1);
|
||||
this.panel1.Controls.Add(this.button2);
|
||||
this.panel1.Controls.Add(this.radSortGrp);
|
||||
this.panel1.Controls.Add(this.radSortNo);
|
||||
@@ -263,14 +279,328 @@
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1246, 97);
|
||||
this.panel1.Size = new System.Drawing.Size(1246, 148);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// btConf
|
||||
//
|
||||
this.btConf.Image = ((System.Drawing.Image)(resources.GetObject("btConf.Image")));
|
||||
this.btConf.Location = new System.Drawing.Point(952, 11);
|
||||
this.btConf.Name = "btConf";
|
||||
this.btConf.Size = new System.Drawing.Size(98, 78);
|
||||
this.btConf.TabIndex = 34;
|
||||
this.btConf.Text = "일괄 검토";
|
||||
this.btConf.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
this.btConf.UseVisualStyleBackColor = true;
|
||||
this.btConf.Click += new System.EventHandler(this.btConf_Click);
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 6;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.prb1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.prb2, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.prb3, 2, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.prb4, 3, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.prb5, 4, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.prb6, 5, 0);
|
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 97);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 1;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1246, 51);
|
||||
this.tableLayoutPanel1.TabIndex = 33;
|
||||
//
|
||||
// prb1
|
||||
//
|
||||
this.prb1.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.prb1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
|
||||
this.prb1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.prb1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.prb1.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.prb1.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
|
||||
this.prb1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.prb1.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.prb1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.prb1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.prb1.ForeColor = System.Drawing.Color.Black;
|
||||
this.prb1.GradientEnable = true;
|
||||
this.prb1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.prb1.GradientRepeatBG = false;
|
||||
this.prb1.isButton = false;
|
||||
this.prb1.Location = new System.Drawing.Point(5, 5);
|
||||
this.prb1.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.prb1.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.prb1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.prb1.msg = null;
|
||||
this.prb1.Name = "prb1";
|
||||
this.prb1.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
|
||||
this.prb1.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.prb1.ProgressColor1 = System.Drawing.Color.Yellow;
|
||||
this.prb1.ProgressColor2 = System.Drawing.Color.Gold;
|
||||
this.prb1.ProgressEnable = true;
|
||||
this.prb1.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
|
||||
this.prb1.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.prb1.ProgressMax = 100F;
|
||||
this.prb1.ProgressMin = 0F;
|
||||
this.prb1.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
|
||||
this.prb1.ProgressValue = 50F;
|
||||
this.prb1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.prb1.Sign = "";
|
||||
this.prb1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.prb1.SignColor = System.Drawing.Color.Yellow;
|
||||
this.prb1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.prb1.Size = new System.Drawing.Size(189, 41);
|
||||
this.prb1.TabIndex = 31;
|
||||
this.prb1.Text = "수량 검토";
|
||||
this.prb1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
this.prb1.TextShadow = false;
|
||||
this.prb1.TextVisible = true;
|
||||
//
|
||||
// prb2
|
||||
//
|
||||
this.prb2.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.prb2.BackColor2 = System.Drawing.Color.SkyBlue;
|
||||
this.prb2.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.prb2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.prb2.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.prb2.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
|
||||
this.prb2.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.prb2.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.prb2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.prb2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.prb2.ForeColor = System.Drawing.Color.Black;
|
||||
this.prb2.GradientEnable = true;
|
||||
this.prb2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.prb2.GradientRepeatBG = false;
|
||||
this.prb2.isButton = false;
|
||||
this.prb2.Location = new System.Drawing.Point(204, 5);
|
||||
this.prb2.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.prb2.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.prb2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.prb2.msg = null;
|
||||
this.prb2.Name = "prb2";
|
||||
this.prb2.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
|
||||
this.prb2.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.prb2.ProgressColor1 = System.Drawing.Color.Yellow;
|
||||
this.prb2.ProgressColor2 = System.Drawing.Color.Gold;
|
||||
this.prb2.ProgressEnable = true;
|
||||
this.prb2.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
|
||||
this.prb2.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.prb2.ProgressMax = 100F;
|
||||
this.prb2.ProgressMin = 0F;
|
||||
this.prb2.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
|
||||
this.prb2.ProgressValue = 50F;
|
||||
this.prb2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.prb2.Sign = "";
|
||||
this.prb2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.prb2.SignColor = System.Drawing.Color.Yellow;
|
||||
this.prb2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.prb2.Size = new System.Drawing.Size(189, 41);
|
||||
this.prb2.TabIndex = 32;
|
||||
this.prb2.Text = "구매 등록";
|
||||
this.prb2.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
this.prb2.TextShadow = false;
|
||||
this.prb2.TextVisible = true;
|
||||
//
|
||||
// prb3
|
||||
//
|
||||
this.prb3.BackColor = System.Drawing.Color.Magenta;
|
||||
this.prb3.BackColor2 = System.Drawing.Color.DarkMagenta;
|
||||
this.prb3.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.prb3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.prb3.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.prb3.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
|
||||
this.prb3.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.prb3.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.prb3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.prb3.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.prb3.ForeColor = System.Drawing.Color.Black;
|
||||
this.prb3.GradientEnable = true;
|
||||
this.prb3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.prb3.GradientRepeatBG = false;
|
||||
this.prb3.isButton = false;
|
||||
this.prb3.Location = new System.Drawing.Point(403, 5);
|
||||
this.prb3.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.prb3.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.prb3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.prb3.msg = null;
|
||||
this.prb3.Name = "prb3";
|
||||
this.prb3.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
|
||||
this.prb3.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.prb3.ProgressColor1 = System.Drawing.Color.Yellow;
|
||||
this.prb3.ProgressColor2 = System.Drawing.Color.Gold;
|
||||
this.prb3.ProgressEnable = true;
|
||||
this.prb3.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
|
||||
this.prb3.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.prb3.ProgressMax = 100F;
|
||||
this.prb3.ProgressMin = 0F;
|
||||
this.prb3.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
|
||||
this.prb3.ProgressValue = 50F;
|
||||
this.prb3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.prb3.Sign = "";
|
||||
this.prb3.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.prb3.SignColor = System.Drawing.Color.Yellow;
|
||||
this.prb3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.prb3.Size = new System.Drawing.Size(189, 41);
|
||||
this.prb3.TabIndex = 32;
|
||||
this.prb3.Text = "구매진행";
|
||||
this.prb3.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
this.prb3.TextShadow = false;
|
||||
this.prb3.TextVisible = true;
|
||||
this.toolTip1.SetToolTip(this.prb3, "구매대상 중 구매");
|
||||
//
|
||||
// prb4
|
||||
//
|
||||
this.prb4.BackColor = System.Drawing.Color.LightGreen;
|
||||
this.prb4.BackColor2 = System.Drawing.Color.Lime;
|
||||
this.prb4.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.prb4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.prb4.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.prb4.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
|
||||
this.prb4.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.prb4.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.prb4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.prb4.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.prb4.ForeColor = System.Drawing.Color.Black;
|
||||
this.prb4.GradientEnable = true;
|
||||
this.prb4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.prb4.GradientRepeatBG = false;
|
||||
this.prb4.isButton = false;
|
||||
this.prb4.Location = new System.Drawing.Point(602, 5);
|
||||
this.prb4.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.prb4.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.prb4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.prb4.msg = null;
|
||||
this.prb4.Name = "prb4";
|
||||
this.prb4.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
|
||||
this.prb4.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.prb4.ProgressColor1 = System.Drawing.Color.Yellow;
|
||||
this.prb4.ProgressColor2 = System.Drawing.Color.Gold;
|
||||
this.prb4.ProgressEnable = true;
|
||||
this.prb4.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
|
||||
this.prb4.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.prb4.ProgressMax = 100F;
|
||||
this.prb4.ProgressMin = 0F;
|
||||
this.prb4.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
|
||||
this.prb4.ProgressValue = 50F;
|
||||
this.prb4.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.prb4.Sign = "";
|
||||
this.prb4.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.prb4.SignColor = System.Drawing.Color.Yellow;
|
||||
this.prb4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.prb4.Size = new System.Drawing.Size(189, 41);
|
||||
this.prb4.TabIndex = 32;
|
||||
this.prb4.Text = "구매완료";
|
||||
this.prb4.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
this.prb4.TextShadow = false;
|
||||
this.prb4.TextVisible = true;
|
||||
this.toolTip1.SetToolTip(this.prb4, "구매대상 중 구매완료 율");
|
||||
//
|
||||
// prb5
|
||||
//
|
||||
this.prb5.BackColor = System.Drawing.Color.White;
|
||||
this.prb5.BackColor2 = System.Drawing.Color.Gainsboro;
|
||||
this.prb5.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.prb5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.prb5.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.prb5.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
|
||||
this.prb5.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.prb5.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.prb5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.prb5.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.prb5.ForeColor = System.Drawing.Color.Black;
|
||||
this.prb5.GradientEnable = true;
|
||||
this.prb5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.prb5.GradientRepeatBG = false;
|
||||
this.prb5.isButton = false;
|
||||
this.prb5.Location = new System.Drawing.Point(801, 5);
|
||||
this.prb5.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.prb5.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.prb5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.prb5.msg = null;
|
||||
this.prb5.Name = "prb5";
|
||||
this.prb5.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
|
||||
this.prb5.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.prb5.ProgressColor1 = System.Drawing.Color.Yellow;
|
||||
this.prb5.ProgressColor2 = System.Drawing.Color.Gold;
|
||||
this.prb5.ProgressEnable = true;
|
||||
this.prb5.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
|
||||
this.prb5.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.prb5.ProgressMax = 100F;
|
||||
this.prb5.ProgressMin = 0F;
|
||||
this.prb5.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
|
||||
this.prb5.ProgressValue = 50F;
|
||||
this.prb5.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.prb5.Sign = "";
|
||||
this.prb5.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.prb5.SignColor = System.Drawing.Color.Yellow;
|
||||
this.prb5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.prb5.Size = new System.Drawing.Size(189, 41);
|
||||
this.prb5.TabIndex = 32;
|
||||
this.prb5.Text = "비구매";
|
||||
this.prb5.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
this.prb5.TextShadow = false;
|
||||
this.prb5.TextVisible = true;
|
||||
this.toolTip1.SetToolTip(this.prb5, "전체 수량 중 구매 불필요 수량");
|
||||
//
|
||||
// prb6
|
||||
//
|
||||
this.prb6.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.prb6.BackColor2 = System.Drawing.Color.SkyBlue;
|
||||
this.prb6.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.prb6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.prb6.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.prb6.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
|
||||
this.prb6.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.prb6.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.prb6.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.prb6.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.prb6.ForeColor = System.Drawing.Color.Black;
|
||||
this.prb6.GradientEnable = true;
|
||||
this.prb6.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.prb6.GradientRepeatBG = false;
|
||||
this.prb6.isButton = false;
|
||||
this.prb6.Location = new System.Drawing.Point(1000, 5);
|
||||
this.prb6.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.prb6.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.prb6.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.prb6.msg = null;
|
||||
this.prb6.Name = "prb6";
|
||||
this.prb6.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
|
||||
this.prb6.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.prb6.ProgressColor1 = System.Drawing.Color.Yellow;
|
||||
this.prb6.ProgressColor2 = System.Drawing.Color.Gold;
|
||||
this.prb6.ProgressEnable = true;
|
||||
this.prb6.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
|
||||
this.prb6.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.prb6.ProgressMax = 100F;
|
||||
this.prb6.ProgressMin = 0F;
|
||||
this.prb6.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
|
||||
this.prb6.ProgressValue = 50F;
|
||||
this.prb6.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.prb6.Sign = "";
|
||||
this.prb6.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.prb6.SignColor = System.Drawing.Color.Yellow;
|
||||
this.prb6.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.prb6.Size = new System.Drawing.Size(241, 41);
|
||||
this.prb6.TabIndex = 32;
|
||||
this.prb6.Text = "전체 진행률";
|
||||
this.prb6.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
this.prb6.TextShadow = false;
|
||||
this.prb6.TextVisible = true;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
||||
this.button2.Image = ((System.Drawing.Image)(resources.GetObject("button2.Image")));
|
||||
this.button2.Location = new System.Drawing.Point(1090, 10);
|
||||
this.button2.Location = new System.Drawing.Point(1056, 11);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(98, 78);
|
||||
this.button2.TabIndex = 30;
|
||||
@@ -304,7 +634,7 @@
|
||||
// button1
|
||||
//
|
||||
this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image")));
|
||||
this.button1.Location = new System.Drawing.Point(986, 11);
|
||||
this.button1.Location = new System.Drawing.Point(848, 11);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(98, 78);
|
||||
this.button1.TabIndex = 26;
|
||||
@@ -319,7 +649,7 @@
|
||||
this.textBox1.Enabled = false;
|
||||
this.textBox1.Location = new System.Drawing.Point(651, 12);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(324, 21);
|
||||
this.textBox1.Size = new System.Drawing.Size(184, 21);
|
||||
this.textBox1.TabIndex = 25;
|
||||
//
|
||||
// bs
|
||||
@@ -415,7 +745,7 @@
|
||||
this.memoTextBox.Enabled = false;
|
||||
this.memoTextBox.Location = new System.Drawing.Point(651, 39);
|
||||
this.memoTextBox.Name = "memoTextBox";
|
||||
this.memoTextBox.Size = new System.Drawing.Size(324, 21);
|
||||
this.memoTextBox.Size = new System.Drawing.Size(184, 21);
|
||||
this.memoTextBox.TabIndex = 17;
|
||||
//
|
||||
// statusTextBox
|
||||
@@ -435,9 +765,10 @@
|
||||
this.columnSizeToolStripMenuItem,
|
||||
this.toolStripMenuItem1,
|
||||
this.pMP조회ToolStripMenuItem,
|
||||
this.exportListToolStripMenuItem});
|
||||
this.exportListToolStripMenuItem,
|
||||
this.검토목록모두구매등록상태로전환ToolStripMenuItem});
|
||||
this.cm1.Name = "cm1";
|
||||
this.cm1.Size = new System.Drawing.Size(243, 118);
|
||||
this.cm1.Size = new System.Drawing.Size(483, 176);
|
||||
//
|
||||
// columnSizeToolStripMenuItem
|
||||
//
|
||||
@@ -447,7 +778,7 @@
|
||||
this.saveToolStripMenuItem,
|
||||
this.loadToolStripMenuItem});
|
||||
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
|
||||
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
|
||||
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(482, 36);
|
||||
this.columnSizeToolStripMenuItem.Text = "열 너비 조정";
|
||||
//
|
||||
// autoToolStripMenuItem
|
||||
@@ -485,19 +816,19 @@
|
||||
// toolStripMenuItem1
|
||||
//
|
||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(239, 6);
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(479, 6);
|
||||
//
|
||||
// pMP조회ToolStripMenuItem
|
||||
//
|
||||
this.pMP조회ToolStripMenuItem.Name = "pMP조회ToolStripMenuItem";
|
||||
this.pMP조회ToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
|
||||
this.pMP조회ToolStripMenuItem.Size = new System.Drawing.Size(482, 36);
|
||||
this.pMP조회ToolStripMenuItem.Text = "PMP 조회";
|
||||
this.pMP조회ToolStripMenuItem.Click += new System.EventHandler(this.pMP조회ToolStripMenuItem_Click);
|
||||
//
|
||||
// exportListToolStripMenuItem
|
||||
//
|
||||
this.exportListToolStripMenuItem.Name = "exportListToolStripMenuItem";
|
||||
this.exportListToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
|
||||
this.exportListToolStripMenuItem.Size = new System.Drawing.Size(482, 36);
|
||||
this.exportListToolStripMenuItem.Text = "목록 내보내기";
|
||||
this.exportListToolStripMenuItem.Click += new System.EventHandler(this.exportListToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -767,11 +1098,11 @@
|
||||
this.fpSpread1.HorizontalScrollBar.Name = "";
|
||||
flatScrollBarRenderer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer1;
|
||||
this.fpSpread1.Location = new System.Drawing.Point(0, 97);
|
||||
this.fpSpread1.Location = new System.Drawing.Point(0, 148);
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(1246, 515);
|
||||
this.fpSpread1.Size = new System.Drawing.Size(1246, 464);
|
||||
this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Office2013;
|
||||
this.fpSpread1.TabIndex = 4;
|
||||
this.fpSpread1.TitleInfo.Text = "PartList";
|
||||
@@ -788,7 +1119,7 @@
|
||||
this.fpSpread1_Sheet1.SheetName = "Sheet1";
|
||||
// Formulas and custom names must be loaded with R1C1 reference style
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 20;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 23;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
@@ -811,11 +1142,14 @@
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "1대 금액";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "N대 금액";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "PMP재고";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "구매수량";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "제조사";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "공급사";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "납기일";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "비고";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "검토";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "구매수량";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "구매";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "입고수량";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "제조사";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "공급사";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "납기일";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "비고";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "ColumnHeaderFlat";
|
||||
@@ -934,49 +1268,70 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Label = "PMP재고";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Tag = "pmp";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = checkBoxCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "bconfirm";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Label = "검토";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Tag = "bconfirm";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
numberCellType7.DecimalPlaces = 0;
|
||||
numberCellType7.NegativeRed = true;
|
||||
numberCellType7.NullDisplay = "--";
|
||||
numberCellType7.Separator = ",";
|
||||
numberCellType7.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "qtybuy";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Label = "구매수량";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Tag = "buy";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "ItemManu";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Label = "제조사";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "qtybuy";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Label = "구매수량";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Tag = "buy";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "ItemSupply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Label = "공급사";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = checkBoxCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "bbuy";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Label = "구매";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Tag = "bbuy";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "option2";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Label = "납기일";
|
||||
numberCellType8.DecimalPlaces = 0;
|
||||
numberCellType8.NegativeRed = true;
|
||||
numberCellType8.NullDisplay = "0";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "qtyin";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Label = "입고수량";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Tag = "qtyin";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "memo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "ItemManu";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Label = "비고";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Label = "제조사";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "Item";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Tag = "item";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "ItemSupplyidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "ItemSupply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Label = "공급사";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "option2";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Label = "납기일";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "memo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).Label = "비고";
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "Item";
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Tag = "item";
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "ItemSupplyidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).Visible = false;
|
||||
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bsPart;
|
||||
@@ -1005,6 +1360,13 @@
|
||||
this.fpSpread1_Sheet1.TitleInfo.Value = "Partlist";
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// 검토목록모두구매등록상태로전환ToolStripMenuItem
|
||||
//
|
||||
this.검토목록모두구매등록상태로전환ToolStripMenuItem.Name = "검토목록모두구매등록상태로전환ToolStripMenuItem";
|
||||
this.검토목록모두구매등록상태로전환ToolStripMenuItem.Size = new System.Drawing.Size(482, 36);
|
||||
this.검토목록모두구매등록상태로전환ToolStripMenuItem.Text = "검토목록 모두 구매등록 상태로 전환";
|
||||
this.검토목록모두구매등록상태로전환ToolStripMenuItem.Click += new System.EventHandler(this.검토목록모두구매등록상태로전환ToolStripMenuItem_Click);
|
||||
//
|
||||
// fPartList
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -1018,6 +1380,7 @@
|
||||
this.Load += new System.EventHandler(this.fPartList_Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
|
||||
this.cm1.ResumeLayout(false);
|
||||
@@ -1089,8 +1452,18 @@
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton5;
|
||||
private System.Windows.Forms.ToolStripMenuItem pMP조회ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton7;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private arCtl.arLabel prb1;
|
||||
private arCtl.arLabel prb2;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private arCtl.arLabel prb3;
|
||||
private arCtl.arLabel prb4;
|
||||
private arCtl.arLabel prb5;
|
||||
private arCtl.arLabel prb6;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private System.Windows.Forms.Button btConf;
|
||||
private System.Windows.Forms.ToolStripMenuItem 검토목록모두구매등록상태로전환ToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
@@ -157,40 +157,167 @@ namespace FPJ0000
|
||||
{
|
||||
//삭제컬럼인덱스
|
||||
this.fpSpread1.SuspendLayout();
|
||||
var delindex = this.fpSpread1.ActiveSheet.Columns["sid"].Index;
|
||||
var col_sid = this.fpSpread1.ActiveSheet.Columns["sid"].Index;
|
||||
var col_pmp = this.fpSpread1.ActiveSheet.Columns["pmp"].Index;
|
||||
var col_buy = this.fpSpread1.ActiveSheet.Columns["buy"].Index;
|
||||
var col_buy = this.fpSpread1.ActiveSheet.Columns["buy"].Index; //구매수량
|
||||
var col_amt = this.fpSpread1.ActiveSheet.Columns["amt"].Index;
|
||||
var col_amtn = this.fpSpread1.ActiveSheet.Columns["amtn"].Index;
|
||||
var col_qtyin = this.fpSpread1.ActiveSheet.Columns["qtyin"].Index;
|
||||
var col_qtyn = this.fpSpread1.ActiveSheet.Columns["qtyn"].Index; //N대수량(전체수량)
|
||||
var col_bbuy = this.fpSpread1.ActiveSheet.Columns["bbuy"].Index;
|
||||
var col_bconf = this.fpSpread1.ActiveSheet.Columns["bconfirm"].Index;
|
||||
|
||||
var 전체건수 = 0;
|
||||
var 비구매건수 = 0;
|
||||
var 구매진행건수 = 0;
|
||||
var 구매완료건수 = 0;
|
||||
var 구매등록건수 = 0;
|
||||
var 검토완료건수 = 0;
|
||||
|
||||
for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
|
||||
{
|
||||
var value = this.fpSpread1.ActiveSheet.GetValue(i, delindex);
|
||||
var str_crcf = string.Empty;
|
||||
if (value != null) str_crcf = value.ToString();
|
||||
var row = this.fpSpread1.ActiveSheet.Rows[i];
|
||||
|
||||
if (string.IsNullOrEmpty(str_crcf))
|
||||
|
||||
var value = this.fpSpread1.ActiveSheet.GetValue(i, col_sid); //sid값을 확인한다
|
||||
var value_buy = this.fpSpread1.ActiveSheet.GetValue(i, col_buy);
|
||||
var value_in = this.fpSpread1.ActiveSheet.GetValue(i, col_qtyin);
|
||||
var value_bbuy = this.fpSpread1.ActiveSheet.GetValue(i, col_bbuy);
|
||||
var value_bconf = this.fpSpread1.ActiveSheet.GetValue(i, col_bconf);
|
||||
|
||||
Boolean bbuy = false;
|
||||
Boolean bconf = false;
|
||||
|
||||
if (value_bbuy != null) bbuy = (Boolean)value_bbuy;
|
||||
if (value_bconf != null) bconf = (Boolean)value_bconf;
|
||||
|
||||
전체건수 += 1;
|
||||
|
||||
|
||||
|
||||
int qty_in = 0;
|
||||
int qty_buy = 0;
|
||||
if (value_in != null) qty_in = (int)value_in;
|
||||
if (value_buy != null) qty_buy = (int)value_buy;
|
||||
|
||||
//확정이되었는데 구매수량이 없다면 구매 진행한것으로 한다
|
||||
if (bconf == true && bbuy == false && qty_buy == 0)
|
||||
{
|
||||
//sid값이 없다
|
||||
this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.FromArgb(240, 240, 240);
|
||||
bbuy = true;
|
||||
this.fpSpread1.ActiveSheet.SetValue(i, col_bbuy, true);
|
||||
}
|
||||
|
||||
if (bbuy) 구매등록건수 += 1;
|
||||
if (bconf) 검토완료건수 += 1;
|
||||
|
||||
if (bbuy)
|
||||
{
|
||||
|
||||
|
||||
//구매진행중인데 수량이 다르면 색상 변경
|
||||
if (qty_in == 0 && qty_buy == 0)
|
||||
{
|
||||
row.ForeColor = Color.Black;
|
||||
row.BackColor = Color.White;
|
||||
비구매건수 += 1;
|
||||
}
|
||||
else if (qty_in != qty_buy)
|
||||
{
|
||||
row.ForeColor = Color.White;
|
||||
row.BackColor = Color.DarkMagenta;
|
||||
구매진행건수 += 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
구매완료건수 += 1;
|
||||
row.ForeColor = Color.Black;
|
||||
row.BackColor = Color.LimeGreen;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.White;
|
||||
// this.fpSpread1.ActiveSheet.Cells[i, col_bbuy].BackColor = bbuy ? Color.Green : Color.Orange; // Color.FromArgb(240, 240, 250);
|
||||
if (bconf == true)
|
||||
{
|
||||
//검토는 됬지만 구매가 안되고 있다
|
||||
row.ForeColor = Color.Black;
|
||||
row.BackColor = Color.SkyBlue;
|
||||
}
|
||||
else
|
||||
{
|
||||
// this.fpSpread1.ActiveSheet.Cells[i, col_bconf].BackColor = bconf ? Color.Green : Color.Orange; // Color.FromArgb(240, 240, 250);
|
||||
|
||||
//확정이 안된 경우
|
||||
row.ForeColor = Color.Black;
|
||||
row.BackColor = Color.FromArgb(240, 240, 240);
|
||||
}
|
||||
}
|
||||
this.fpSpread1.ActiveSheet.Cells[i, delindex].BackColor = Color.FromArgb(240,240, 250);
|
||||
this.fpSpread1.ActiveSheet.Cells[i, col_pmp].BackColor = Color.FromArgb(240, 240, 240);
|
||||
this.fpSpread1.ActiveSheet.Cells[i, col_buy].BackColor = Color.FromArgb(200,200,255);
|
||||
this.fpSpread1.ActiveSheet.Cells[i, col_amt].BackColor = Color.WhiteSmoke;
|
||||
this.fpSpread1.ActiveSheet.Cells[i, col_amtn].BackColor = Color.WhiteSmoke;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// var str_crcf = string.Empty;
|
||||
//if (value != null) str_crcf = value.ToString();
|
||||
|
||||
|
||||
//if (string.IsNullOrEmpty(str_crcf))
|
||||
//{
|
||||
// //sid값이 없다
|
||||
// this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.FromArgb(240, 240, 240);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.White;
|
||||
//}
|
||||
//this.fpSpread1.ActiveSheet.Cells[i, col_sid].BackColor = Color.FromArgb(240,240, 250);
|
||||
//this.fpSpread1.ActiveSheet.Cells[i, col_pmp].BackColor = Color.FromArgb(240, 240, 240);
|
||||
//this.fpSpread1.ActiveSheet.Cells[i, col_buy].BackColor = Color.FromArgb(200,200,255);
|
||||
//this.fpSpread1.ActiveSheet.Cells[i, col_amt].BackColor = Color.WhiteSmoke;
|
||||
//this.fpSpread1.ActiveSheet.Cells[i, col_amtn].BackColor = Color.WhiteSmoke;
|
||||
|
||||
|
||||
}
|
||||
|
||||
//프로그레시브입력
|
||||
prb6.Text = string.Format("전체 진행 ({0}/{1})", 비구매건수 + 구매완료건수, 전체건수);
|
||||
prb6.ProgressMax = 전체건수;
|
||||
prb6.ProgressValue = 비구매건수 + 구매완료건수;
|
||||
|
||||
prb5.Text = string.Format("비 구매 ({0}/{1})", 비구매건수, 전체건수);
|
||||
prb5.ProgressMax = 전체건수;
|
||||
prb5.ProgressValue = 비구매건수;
|
||||
|
||||
prb4.Text = string.Format("구매 완료 ({0}/{1})", 구매완료건수, 구매등록건수);
|
||||
prb4.ProgressMax = 구매등록건수;
|
||||
prb4.ProgressValue = 구매완료건수;
|
||||
|
||||
prb3.Text = string.Format("구매 진행 ({0}/{1})", 구매진행건수, 구매등록건수);
|
||||
prb3.ProgressMax = 구매등록건수;
|
||||
prb3.ProgressValue = 구매진행건수;
|
||||
|
||||
prb2.Text = string.Format("구매 등록 ({0}/{1})", 구매등록건수, 전체건수);
|
||||
prb2.ProgressMax = 전체건수;
|
||||
prb2.ProgressValue = 구매등록건수;
|
||||
|
||||
prb1.Text = string.Format("수량 검토 ({0}/{1})", 검토완료건수, 전체건수);
|
||||
prb1.ProgressMax = 전체건수;
|
||||
prb1.ProgressValue = 검토완료건수;
|
||||
|
||||
//var 전체건수 = 0;
|
||||
//var 비구매건수 = 0;
|
||||
//var 구매진행건수 = 0;
|
||||
//var 구매완료건수 = 0;
|
||||
//var 구매등록건수 = 0;
|
||||
//var 검토완료건수 = 0;
|
||||
|
||||
|
||||
this.fpSpread1.ResumeLayout();
|
||||
}
|
||||
|
||||
void RefreshSum()
|
||||
{
|
||||
decimal sum = this.dsPRJ.ProjectsPart.Where(t => t.RowState != DataRowState.Deleted && t.RowState != DataRowState.Detached).Sum(t => t.amt);
|
||||
decimal sum = this.dsPRJ.ProjectsPart.Where(t => t.RowState != DataRowState.Deleted && t.RowState != DataRowState.Detached).Sum(t => t.amt);
|
||||
decimal sumN = this.dsPRJ.ProjectsPart.Where(t => t.RowState != DataRowState.Deleted && t.RowState != DataRowState.Detached).Sum(t => t.amtn);
|
||||
|
||||
|
||||
@@ -479,7 +606,7 @@ namespace FPJ0000
|
||||
var cnt_ok = 0;
|
||||
var cnt_no = 0;
|
||||
var cnt_ng = 0;
|
||||
// var cnt_reduce = 0;
|
||||
// var cnt_reduce = 0;
|
||||
foreach (dsPRJ.ProjectsPartRow dr in this.dsPRJ.ProjectsPart.Rows)
|
||||
{
|
||||
if (dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Deleted) continue;
|
||||
@@ -521,11 +648,11 @@ namespace FPJ0000
|
||||
}
|
||||
else if (db.Count == 1 && db[0].qty != 0)
|
||||
{
|
||||
cnt_ok += 1;
|
||||
dr.qtyjago = db[0].qty.ToString(); //재고수량
|
||||
//dr.qtybuy = Math.Max(qty - db[0].qty, 0);
|
||||
//cnt_reduce += (qty - dr.qtybuy);
|
||||
|
||||
cnt_ok += 1;
|
||||
dr.qtyjago = db[0].qty.ToString(); //재고수량
|
||||
//dr.qtybuy = Math.Max(qty - db[0].qty, 0);
|
||||
//cnt_reduce += (qty - dr.qtybuy);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -547,7 +674,7 @@ namespace FPJ0000
|
||||
var msg = string.Format("PMP 검색결과 현황\n" +
|
||||
"검색완료 : {0}\n" +
|
||||
"복수확인 : {1}\n" +
|
||||
"확인불가 : {2}" , cnt_ok, cnt_ng, cnt_no);
|
||||
"확인불가 : {2}", cnt_ok, cnt_ng, cnt_no);
|
||||
FCOMMON.Util.MsgI(msg);
|
||||
}
|
||||
|
||||
@@ -593,5 +720,34 @@ namespace FPJ0000
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void btConf_Click(object sender, EventArgs e)
|
||||
{
|
||||
var f = new fPartConfirm(this.dsPRJ.ProjectsPart);
|
||||
f.ShowDialog();
|
||||
FormattingData();
|
||||
}
|
||||
|
||||
private void 검토목록모두구매등록상태로전환ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
//검토는 되어있지만 구매등록이 안된 목록 가져온다
|
||||
var list = this.dsPRJ.ProjectsPart.Where(t => t.bconfirm == true && t.bbuy == false);
|
||||
var cnt = list.Count();
|
||||
if(cnt < 1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("검토목록 전체가 구매등록된 상태 입니다");
|
||||
return;
|
||||
}
|
||||
var dlg = FCOMMON.Util.MsgQ(string.Format("{0}건의 자료가 구매등록 대기 상태입니다\n\n구맹 등록상태로 전환 하시겠습니까?",cnt));
|
||||
if(dlg == DialogResult.Yes)
|
||||
{
|
||||
foreach (var dr in list)
|
||||
{
|
||||
dr.bbuy = true;
|
||||
dr.EndEdit();
|
||||
}
|
||||
this.FormattingData();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -148,6 +148,28 @@
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="btConf.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAAwNJREFUaEPt
|
||||
mEtv00AQx1MQFY8bXIEzhwInHkdOSEDcC5hjbCtV70gJCCW2lgs0XrcFbhzgA/AlErjCgYdEz5QGPsYy
|
||||
s/67cR07DpUTN8I/adR2dmZ3Z72zO9taRUVFRSqqXVdxgXpxqAIomyqA+aOW7M7mTcf1n9mu/JgMwPbk
|
||||
BxLhuPIG28KpfIQQx2hiBk36M4mKZCyAWJvVld8t12+Y5vvj6KYcnM7mBb2yo8ntkmzbXf/uWACksz3/
|
||||
JWwi+8Ga6J1Hd/Nlff3NCZrADk/EcuUv2/Vt1qE5MwfYxvGkQ357CGIn7jcXogGbQq7QdnjXFFtndUOM
|
||||
rAAi2Cf0lSv899yC4E8ervzWZahSyQsgji2CS5TcPxpi4yJUswEJiz0fvIU6lX8KgPrCdhrwGFAXD+31
|
||||
hzwQ7/m0bRNHtVavqEfmKS30O9SpcF/Ur84Jpxs8gLpo6Jzvyq/hSvk2lIVhebIZ9i2/8FhQFwdfUhjg
|
||||
5ywSzhRiOTzNpGp0etehLg7csBzANlSFY3vBax7DcgMPquKIkrfhBXegykQJc5kSt6ceG7/p51C1jA3W
|
||||
oTkT2kb3sEh9qA5H/PSYShJJqic8ZmNsoFmjkzxpkyNwzSfNeaKIWyfhqsHKJ+3+oFmjT6dxm4kC13zS
|
||||
nCcKTQauGtINx2za9T00a1Tr9pkUm4kC13zSnCfKNFuoXX+BZo16Ur+aYjNR4Ho49m9gqiqhykQncRgE
|
||||
f4mpk9jp+vVCkjgNCkCg8wU9RkcX2e5CXmS0MfZLCa7noSwMxw3WsECzKSUYelGZPMjUxZwwTmvJKeYa
|
||||
T5+fo351MWd5/n2oi0eX01Ty8kAzKqf7My2nmYV+0EQkn5S8BXRDjLwA2KeUJ2UEDxh+Cf3ph1zP80mC
|
||||
5swA2AYJO4Tv/B/1EdhOyIkwuWkrvOKqMhmAvqTonI+OSki/tH+rjKDj1ZMGTfpTbGIHJs8Sb6MX3bcj
|
||||
8Y+tg6glvoD4FqVJDlICGIRtwTW2hdPRJRkA1ItDFUDZVAFUVFT8D9RqfwE5bBq0JSR6DQAAAABJRU5E
|
||||
rkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>766, 18</value>
|
||||
</metadata>
|
||||
<data name="button2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAG
|
||||
@@ -311,21 +333,21 @@
|
||||
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANHSURBVDhPtZBdTFN3GIdJvFu4ULMaVIjxIyEhORcyDUQq
|
||||
HeMjWiCGWAqGYlmnBQkVaDGICIe6olBThNKVVhkClVpxBEGrFQxGTRjFrtUzRqBqLaj9oFaqh6kkxJ+k
|
||||
1uiy3e65fd/n+ef/hn2NaoIMP2WtqiV/F49W3i1eKr3101KhMW80vy+7Jru3d4Vw8MU3odV/o6BqWPWW
|
||||
SseNx9cw5LwF48xN3J+zQm+9gL06trq0Z+ZQUcdjx49aOyukfEFuO5Zl+KsTw84hdNovosxaA8kfJPqm
|
||||
ryCzi+3P6dRsLup45O+464Ok+wk4cltWSF1+eYJcfcJcQY/MjKBxQgXB+GEUmA+jbbID6jutSFMnHTrQ
|
||||
7lA3XXPD+CcNzbAX7DoznVY+ujoYIMckMqP9Ks5OdYM/LkLuqBBHLHXQWXVIU+60FWgmY/fLJpYGH76B
|
||||
4qYPveYAytqnsLNkWBYMHLlTaDM9HYLIcgz7lmXhmBg6uwEiQxESGuKYecrJe01GF36zBFCufwHZgBcN
|
||||
/c8QKxiwBQPFpoLFAed1lFqq0UgpcWm6D6dNjdjx8/Zf81qmuGnkw7eXxuYh0btQeG4WQs0szlx1I4Z3
|
||||
ORAM5PdzA2OecVye7ofqthKskzv88dJttYNi8ltVxfmIdNJMtd5wo1LvRn6zE7wmBxr6XNjAPk8HA9ye
|
||||
TFvr7Wb80MqaS5THiU3inKj3fH71u0yun969h0iquEedvvIcovZn4NQ/QaF6FqI2OzZltH36QromRZLc
|
||||
whTayvevXzx4ULHA49F07XEs5O4DnZhMJJSYKKlhBgeUTmRUTUNmcINdNoL1qc2fjoijR1e9LynWzgkE
|
||||
iwv1MswbdPD3dOJ1xh7QsfHENsEgVdXlQF6jA+TyHXinHiAyVU5HMOsZwcAHkYixwOfTb7S/4FVvD1zS
|
||||
avjOtmH++xT4owkiJuciVaZ9BPKCCzl197E1W48IZgMnKH/m7ywOhxYI8IqsgU+rgrdFgZdxCfBERhNb
|
||||
srooQdMkkoUmrEtSOBjMk7tC2j8JJCSmvo6Nd/i4uXCLSuAlvoNnTSSxIV1NRaU0m9cmyaUMFhkeWv9v
|
||||
vDEx4b6N0VLv2k1mDyMKnpVriNDo/yIs7CPVx+Er9qKrZAAAAABJRU5ErkJggg==
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANGSURBVDhPtZBvTNJ5HMfdenbzQbVoVrp21ebm9nuQddMl
|
||||
yZl/Vqhr7hBtYnhcoTlJBZuZ6U8KS2mYIiF0nmkkkeVMi4u02arNEyOoX+aUitCKPxFJ/ewuN9f7HHG7
|
||||
Wj3t9fTzeb2++37CPkc1ToYft1bVkn+JRypvFy+U3vhtodCYN5Lfm12T3dOzRDjw8ofQ6tcoqBpWvaXS
|
||||
ce3JVQw6b8A4fR13X1mht57DLzq2urR7el9RxxPHr1o7K6T8j9x2KMvwqBNDzkF02s+jzFoDyT0SvVOX
|
||||
kdnF9ud0atYXdTz2d9z2QXL2KThyW1ZIXXx5nFx+xFxBD08Po3FcBcHYfhSY96NtogPqW61IUyft29Pu
|
||||
UDdddcP4kIZmyAt2nZlOKx9ZHgyQoxKZ0X4FpyfPgj8mQu6IEAcsddBZdUhTbrUVaCZid9eNLww8eAfF
|
||||
dR96zAGUtU9ia8mQLBg4cKvQZno2CJHlEHYtysJRMXR2A0SGIiQ0xDHzlBN3mowuXLIEUK5/CVm/Fw19
|
||||
zxEr6LcFA8Wmgvl+558otVSjkVLiwlQvTpgaseXoT3/ktUxy08gHf18YnYVE70Lh7zMQamZw8oobMbyL
|
||||
gWAgv48bGPWM4eJUH1Q3lWAd2+KPl26uHRCTK1QVZyLSSTPVes2NSr0b+c1O8JocaOh1YS37DB0McLsz
|
||||
ba03m7GtlfUqUR4nNolzoj7w+dX/ZHL99I6dRFLFHerE5RcQtT8Hp/4pCtUzELXZsS6j7dMX0jUpkuQW
|
||||
ptBWvnvN/N69ijkej6ZrD2MudxfoxGQiocRESQ3T2KN0IqNqCjKDG+yyYaxJbf50RBw8uOxDSbHWKxDM
|
||||
z9XLMGvQwd/dibcZO0HHxhObBQNUVZcDeY0OkIt34B2/j8hUOR3BrGcEAx9FIsYcn0+/057Cm55uuKTV
|
||||
8J1uw+zPKfBHE0RMznmqTPsY5DkXcuruYmO2HhHMBk5Q/o/3WRwOLRDgDVkDn1YFb4sCr+MS4ImMJjZk
|
||||
dVGCpgkkC01YnaRwMJjHtoe0LwkkJKa+jY13+Li5cItK4CU2wbMyklibrqaiUprNq5LkUgaLDA+tfxtv
|
||||
TEy478doqXfVOrOHEQXP0pVEaPS9CAv7F8iy4SaECYkZAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
@@ -348,20 +370,20 @@
|
||||
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL1SURBVDhPhZLrS1NhHMf3qv6EsF70UojSyqioF6WpTQ3s
|
||||
Zipm3uYUTZfowiBbTCPzEpqoUCFK0YsKtdKpTc05pxvO0DRTm/dLTZ2XXc7RnTO/PedsOQOhH3x4Xjzn
|
||||
++H8vucIuAm4r4q9VKhVhhZpVwJlWoqcNE8xd+ro0MIeOviJZuisVF16KOztHj60c4IedakXzfTy5LyR
|
||||
NVk3YLK4WTZz0PixYEbOxxlEFo3YhGmKva6oc0LyNYuzv5bYnik7dNMMdDMMtFMMNJObUP3cQPOwFRsM
|
||||
0DBCIad+GgnPhqh/JIGyZmrdtom+WRZfZxlyMujlJZvoNGzg87CNCBzoW2Chm7cjTzEDv3vtb/hwRLHv
|
||||
xA1Z2Ja44hoSyq+jvKUGubXF8JN5wZcgzDuDAPlJlDSU8KtYaAbGVRsCJJ0MLwgv9HvfPtiIxrGXKNdm
|
||||
8ZKYsmBkvY5Gek0kRJWXEV8Zj4YBIxqHLPj0bR1rpKdAeRfNC4Slwr3+MgmrHe3Aq0E5ClRpvCS2IoSE
|
||||
ryD5eRLUBiu/StsYBSXpYdVqR2But1PATVB+J51RFQe9QYNK3V08bs1ERPEFxJaFQT9lg54UyxWsHnd2
|
||||
YiKCAPkOwbkHMvup7IOILhWib7wHeR0pkCsyEPnUHzWqD+ifY6AnxfZM2tFNWDTb4ffQJTgu9RD7SA8g
|
||||
vToKNyuCEFVykZdkKKIhrU0ib+IP7r5vhkUv94kJZlLkUYnGKfCR7pvzke4nD3nAJ8sDVwv8kfoiDuph
|
||||
JfKU2Uh5FwdRRTj0RKAj/4aWCGi7A94SlXuF85IuemGNxsAcy9M5Oo87VclIJEFxZSQyq29v33HYNlki
|
||||
qHcLONusyS34H1aygndSnVtwOuOLrd+wsLXbw7thXF5xHIlpsLjipMjk1onpdZu5f/y3Y2KJwsQiBYOL
|
||||
JYudh2veQrOYN5ocFEWted5q+u6KCwQnkltSvUXNrcfESpO3uI7eJtGJ119EdbSnqGn1cHxTm1ecIkEg
|
||||
EAj+ABQBoLtReJTrAAAAAElFTkSuQmCC
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALxSURBVDhPhZLrS1NhHMf3qv6EsF70UohSalFRL1JTmxrY
|
||||
zVTMvM0pmprowiBbTCPzEpqoUCFK0YsK7aJTm5pzTjeckWnmXTed5XSpu5yjO2d+e87ZUgOhH3x4Xjzn
|
||||
++H8vucIuAm6q4q/UKJVhpdqfwfLtBQ5aZ4y7tTR4SV9dOgjzfAZqbriUMTrPXxo54Q86FGbrfTyhMHE
|
||||
WuzrsNi2WbZy0PixYEX+ByOiS0cdogzFXk/UPWFFGvPM3E+2b9YJnYGBzshAO8tAM7MB1cQ6WkfsWGeA
|
||||
plEK+e8MSHoyTP0jCZa1UmuODQzMsfgyx5CTQT8v2UD35Do+jTiIwIWBBRY6kxOFCiMC7nS+4sNRZf7T
|
||||
12QRm5LqK0iquoqqtnoUNJQhQOYDf4Ko8DSC5CdQ3lTOr2KjGSyuOBCU3s3wgsiSgLedQ81oHn+OKm0u
|
||||
L4mrDEXuy1hk1kdDXHMRiTWJaBpcRPOwDR+/rWGV9BQs76F5gahCtNdPlsVqx7rwYkiOYlUGL4mvDiPh
|
||||
S0h9mgL1pJ1fpWOcgpL0sGJ3Irig1y3gJqSom86uTYB+UoMa3W08bM9BVNk5xFdGQD/rgJ4UyxWsnnJ3
|
||||
YiGCIPkOwdl7MufJvIOIrRBhYKoPhV1pkCuyEf04EPWq9/g6z0BPiu2bcaKXYLY6EXDfIzgm9ZIIpQeQ
|
||||
WReD69UhiCk/z0uyFbGQNqSQNwkEdz9gZNHPfWKClRTpm6VxC4TSffNC6X7ykBeEuV64XByI9GcJUI8o
|
||||
UajMQ9qbBIirI6EnAh35N7REQDtdRKDaXsEvq4deWKUxOM/ydI+ZcKs2FckkKKmJRk7dza07DscGSwSN
|
||||
2wLONmfZFvwPO7dCyg7BqezPDv2ocXO3h3fD9MvsOhLXZPPESZGp7dOGNYdVPzbvml6iMG2mMOlhyebk
|
||||
4Zq30SwMpkUXRVGr3jdavnviAsHx1LZ0X3Fr+1GJ0uIraaS3SHbj8xdxI+0tblk5nNjS4ZOgSBIIBII/
|
||||
jEqgaRqp4qMAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
||||
256
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
256
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
@@ -2409,6 +2409,12 @@ namespace FPJ0000 {
|
||||
|
||||
private global::System.Data.DataColumn columnamtn;
|
||||
|
||||
private global::System.Data.DataColumn columnqtyin;
|
||||
|
||||
private global::System.Data.DataColumn columnbbuy;
|
||||
|
||||
private global::System.Data.DataColumn columnbconfirm;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public ProjectsPartDataTable() {
|
||||
@@ -2666,6 +2672,30 @@ namespace FPJ0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn qtyinColumn {
|
||||
get {
|
||||
return this.columnqtyin;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn bbuyColumn {
|
||||
get {
|
||||
return this.columnbbuy;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn bconfirmColumn {
|
||||
get {
|
||||
return this.columnbconfirm;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -2730,7 +2760,10 @@ namespace FPJ0000 {
|
||||
string qtyjago,
|
||||
int qtybuy,
|
||||
int qtyn,
|
||||
decimal amtn) {
|
||||
decimal amtn,
|
||||
int qtyin,
|
||||
bool bbuy,
|
||||
bool bconfirm) {
|
||||
ProjectsPartRow rowProjectsPartRow = ((ProjectsPartRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -2760,7 +2793,10 @@ namespace FPJ0000 {
|
||||
qtyjago,
|
||||
qtybuy,
|
||||
qtyn,
|
||||
amtn};
|
||||
amtn,
|
||||
qtyin,
|
||||
bbuy,
|
||||
bconfirm};
|
||||
rowProjectsPartRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowProjectsPartRow);
|
||||
return rowProjectsPartRow;
|
||||
@@ -2818,6 +2854,9 @@ namespace FPJ0000 {
|
||||
this.columnqtybuy = base.Columns["qtybuy"];
|
||||
this.columnqtyn = base.Columns["qtyn"];
|
||||
this.columnamtn = base.Columns["amtn"];
|
||||
this.columnqtyin = base.Columns["qtyin"];
|
||||
this.columnbbuy = base.Columns["bbuy"];
|
||||
this.columnbconfirm = base.Columns["bconfirm"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -2883,6 +2922,12 @@ namespace FPJ0000 {
|
||||
base.Columns.Add(this.columnqtyn);
|
||||
this.columnamtn = new global::System.Data.DataColumn("amtn", typeof(decimal), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnamtn);
|
||||
this.columnqtyin = new global::System.Data.DataColumn("qtyin", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnqtyin);
|
||||
this.columnbbuy = new global::System.Data.DataColumn("bbuy", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnbbuy);
|
||||
this.columnbconfirm = new global::System.Data.DataColumn("bconfirm", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnbconfirm);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidx}, true));
|
||||
this.columnidx.AutoIncrement = true;
|
||||
@@ -7333,6 +7378,54 @@ namespace FPJ0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public int qtyin {
|
||||
get {
|
||||
if (this.IsqtyinNull()) {
|
||||
return 0;
|
||||
}
|
||||
else {
|
||||
return ((int)(this[this.tableProjectsPart.qtyinColumn]));
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableProjectsPart.qtyinColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool bbuy {
|
||||
get {
|
||||
if (this.IsbbuyNull()) {
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
return ((bool)(this[this.tableProjectsPart.bbuyColumn]));
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableProjectsPart.bbuyColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool bconfirm {
|
||||
get {
|
||||
if (this.IsbconfirmNull()) {
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
return ((bool)(this[this.tableProjectsPart.bconfirmColumn]));
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableProjectsPart.bconfirmColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsProjectNull() {
|
||||
@@ -7632,6 +7725,42 @@ namespace FPJ0000 {
|
||||
public void SetamtnNull() {
|
||||
this[this.tableProjectsPart.amtnColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsqtyinNull() {
|
||||
return this.IsNull(this.tableProjectsPart.qtyinColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetqtyinNull() {
|
||||
this[this.tableProjectsPart.qtyinColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsbbuyNull() {
|
||||
return this.IsNull(this.tableProjectsPart.bbuyColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetbbuyNull() {
|
||||
this[this.tableProjectsPart.bbuyColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsbconfirmNull() {
|
||||
return this.IsNull(this.tableProjectsPart.bconfirmColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetbconfirmNull() {
|
||||
this[this.tableProjectsPart.bconfirmColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -12069,6 +12198,9 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects
|
||||
tableMapping.ColumnMappings.Add("qtybuy", "qtybuy");
|
||||
tableMapping.ColumnMappings.Add("qtyn", "qtyn");
|
||||
tableMapping.ColumnMappings.Add("amtn", "amtn");
|
||||
tableMapping.ColumnMappings.Add("qtyin", "qtyin");
|
||||
tableMapping.ColumnMappings.Add("bbuy", "bbuy");
|
||||
tableMapping.ColumnMappings.Add("bconfirm", "bconfirm");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.DeleteCommand.Connection = this.Connection;
|
||||
@@ -12077,43 +12209,50 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.InsertCommand.Connection = this.Connection;
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [ProjectsPart] ([Project], [Item], [qty], [price], [amt], [jago], [memo], [wuid], [wdate], [ItemName], [ItemModel], [ItemGroup], [ItemSid], [ItemSupply], [ItemManu], [option1], [option2], [option3], [remark], [ItemSupplyidx], [no], [ItemUnit], [import], [qtyjago], [qtybuy], [qtyn], [amtn]) VALUES (@Project, @Item, @qty, @price, @amt, @jago, @memo, @wuid, @wdate, @ItemName, @ItemModel, @ItemGroup, @ItemSid, @ItemSupply, @ItemManu, @option1, @option2, @option3, @remark, @ItemSupplyidx, @no, @ItemUnit, @import, @qtyjago, @qtybuy, @qtyn, @amtn);
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO ProjectsPart
|
||||
(Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit,
|
||||
import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm)
|
||||
VALUES (@Project,@Item,@qty,@price,@amt,@jago,@memo,@wuid,@wdate,@ItemName,@ItemModel,@ItemGroup,@ItemSid,@ItemSupply,@ItemManu,@option1,@option2,@option3,@remark,@ItemSupplyidx,@no,@ItemUnit,@import,@qtyjago,@qtybuy,@qtyn,@amtn,@qtyin,@bbuy,@bconfirm);
|
||||
SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn FROM ProjectsPart WHERE (idx = SCOPE_IDENTITY()) ORDER BY Project, no, ItemGroup, option1, ItemName";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Item", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@price", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@jago", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "jago", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemModel", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemGroup", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupply", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemManu", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemUnit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemUnit", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyjago", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyjago", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtybuy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtybuy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@amtn", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "amtn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Project", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Item", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Item", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@price", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@amt", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@jago", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "jago", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemName", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemModel", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemGroup", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupply", global::System.Data.SqlDbType.NChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemManu", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option1", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option2", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option3", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupplyidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemUnit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemUnit", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyjago", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "qtyjago", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtybuy", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtybuy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyn", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtyn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@amtn", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "amtn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bbuy", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bconfirm", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bconfirm", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.UpdateCommand.Connection = this.Connection;
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE ProjectsPart
|
||||
SET Project = @Project, Item = @Item, qty = @qty, price = @price, amt = @amt, jago = @jago, memo = @memo, wuid = @wuid, wdate = @wdate, ItemName = @ItemName,
|
||||
ItemModel = @ItemModel, ItemGroup = @ItemGroup, ItemSid = @ItemSid, ItemSupply = @ItemSupply, ItemManu = @ItemManu, option1 = @option1, option2 = @option2, option3 = @option3,
|
||||
remark = @remark, ItemSupplyidx = @ItemSupplyidx, no = @no, ItemUnit = @ItemUnit, import = @import, qtyjago = @qtyjago, qtybuy = @qtybuy, qtyn = @qtyn, amtn = @amtn
|
||||
WHERE (idx = @Original_idx);
|
||||
remark = @remark, ItemSupplyidx = @ItemSupplyidx, no = @no, ItemUnit = @ItemUnit, import = @import, qtyjago = @qtyjago, qtybuy = @qtybuy, qtyn = @qtyn, amtn = @amtn,
|
||||
qtyin = @qtyin, bbuy = @bbuy, bconfirm = @bconfirm
|
||||
WHERE (idx = @Original_idx);
|
||||
SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn FROM ProjectsPart WHERE (idx = @idx) ORDER BY Project, no, ItemGroup, option1, ItemName";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Project", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -12143,6 +12282,9 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtybuy", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtybuy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyn", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtyn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@amtn", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "amtn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bbuy", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bconfirm", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bconfirm", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
}
|
||||
@@ -12161,7 +12303,7 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = @"SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit,
|
||||
import, qtyjago, qtybuy, qtyn, amtn
|
||||
import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm
|
||||
FROM ProjectsPart
|
||||
WHERE (Project = @prj)
|
||||
ORDER BY Project, no, ItemGroup, option1, ItemName";
|
||||
@@ -12297,7 +12439,10 @@ ORDER BY Project, no, ItemGroup, option1, ItemName";
|
||||
string qtyjago,
|
||||
global::System.Nullable<int> qtybuy,
|
||||
global::System.Nullable<int> qtyn,
|
||||
global::System.Nullable<decimal> amtn) {
|
||||
global::System.Nullable<decimal> amtn,
|
||||
global::System.Nullable<int> qtyin,
|
||||
global::System.Nullable<bool> bbuy,
|
||||
global::System.Nullable<bool> bconfirm) {
|
||||
if ((Project.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(Project.Value));
|
||||
}
|
||||
@@ -12455,6 +12600,24 @@ ORDER BY Project, no, ItemGroup, option1, ItemName";
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((qtyin.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[27].Value = ((int)(qtyin.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((bbuy.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[28].Value = ((bool)(bbuy.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((bconfirm.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[29].Value = ((bool)(bconfirm.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
||||
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -12503,6 +12666,9 @@ ORDER BY Project, no, ItemGroup, option1, ItemName";
|
||||
global::System.Nullable<int> qtybuy,
|
||||
global::System.Nullable<int> qtyn,
|
||||
global::System.Nullable<decimal> amtn,
|
||||
global::System.Nullable<int> qtyin,
|
||||
global::System.Nullable<bool> bbuy,
|
||||
global::System.Nullable<bool> bconfirm,
|
||||
int Original_idx,
|
||||
int idx) {
|
||||
if ((Project.HasValue == true)) {
|
||||
@@ -12662,8 +12828,26 @@ ORDER BY Project, no, ItemGroup, option1, ItemName";
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_idx));
|
||||
this.Adapter.UpdateCommand.Parameters[28].Value = ((int)(idx));
|
||||
if ((qtyin.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(qtyin.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((bbuy.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[28].Value = ((bool)(bbuy.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((bconfirm.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[29].Value = ((bool)(bconfirm.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_idx));
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(idx));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
||||
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
|
||||
@@ -435,53 +435,59 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.ProjectsPart" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM ProjectsPart
|
||||
WHERE (idx = @Original_idx)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [ProjectsPart] ([Project], [Item], [qty], [price], [amt], [jago], [memo], [wuid], [wdate], [ItemName], [ItemModel], [ItemGroup], [ItemSid], [ItemSupply], [ItemManu], [option1], [option2], [option3], [remark], [ItemSupplyidx], [no], [ItemUnit], [import], [qtyjago], [qtybuy], [qtyn], [amtn]) VALUES (@Project, @Item, @qty, @price, @amt, @jago, @memo, @wuid, @wdate, @ItemName, @ItemModel, @ItemGroup, @ItemSid, @ItemSupply, @ItemManu, @option1, @option2, @option3, @remark, @ItemSupplyidx, @no, @ItemUnit, @import, @qtyjago, @qtybuy, @qtyn, @amtn);
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>INSERT INTO ProjectsPart
|
||||
(Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit,
|
||||
import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm)
|
||||
VALUES (@Project,@Item,@qty,@price,@amt,@jago,@memo,@wuid,@wdate,@ItemName,@ItemModel,@ItemGroup,@ItemSid,@ItemSupply,@ItemManu,@option1,@option2,@option3,@remark,@ItemSupplyidx,@no,@ItemUnit,@import,@qtyjago,@qtybuy,@qtyn,@amtn,@qtyin,@bbuy,@bconfirm);
|
||||
SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn FROM ProjectsPart WHERE (idx = SCOPE_IDENTITY()) ORDER BY Project, no, ItemGroup, option1, ItemName</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Item" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@amt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="amt" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@jago" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="jago" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemSid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemSid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ItemSupply" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ItemSupply" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemManu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemManu" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@option1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="option1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@option2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="option2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@option3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="option3" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemSupplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemSupplyidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@no" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="no" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemUnit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemUnit" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@qtyjago" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="qtyjago" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@qtybuy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtybuy" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@qtyn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtyn" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@amtn" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="amtn" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Project" ColumnName="Project" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Project" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Item" ColumnName="Item" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Item" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Item" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="qty" ColumnName="qty" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qty" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="price" ColumnName="price" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="amt" ColumnName="amt" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@amt" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="amt" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="jago" ColumnName="jago" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@jago" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="jago" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="memo" ColumnName="memo" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ItemName" ColumnName="ItemName" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ItemModel" ColumnName="ItemModel" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ItemGroup" ColumnName="ItemGroup" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ItemSid" ColumnName="ItemSid" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemSid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ItemSid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ItemSupply" ColumnName="ItemSupply" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nchar(10)" DbType="String" Direction="Input" ParameterName="@ItemSupply" Precision="0" ProviderType="NChar" Scale="0" Size="10" SourceColumn="ItemSupply" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ItemManu" ColumnName="ItemManu" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemManu" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ItemManu" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="option1" ColumnName="option1" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option1" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="option2" ColumnName="option2" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option2" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="option3" ColumnName="option3" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option3" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option3" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="remark" ColumnName="remark" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ItemSupplyidx" ColumnName="ItemSupplyidx" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemSupplyidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ItemSupplyidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="no" ColumnName="no" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@no" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="no" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ItemUnit" ColumnName="ItemUnit" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemUnit" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ItemUnit" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="import" ColumnName="import" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="qtyjago" ColumnName="qtyjago" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@qtyjago" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="qtyjago" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="qtybuy" ColumnName="qtybuy" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtybuy" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtybuy" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="qtyn" ColumnName="qtyn" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtyn" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtyn" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="amtn" ColumnName="amtn" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@amtn" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="amtn" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="qtyin" ColumnName="qtyin" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtyin" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtyin" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="bbuy" ColumnName="bbuy" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bbuy" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bbuy" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="bconfirm" ColumnName="bconfirm" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bconfirm" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bconfirm" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit,
|
||||
import, qtyjago, qtybuy, qtyn, amtn
|
||||
import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm
|
||||
FROM ProjectsPart
|
||||
WHERE (Project = @prj)
|
||||
ORDER BY Project, no, ItemGroup, option1, ItemName</CommandText>
|
||||
@@ -495,8 +501,9 @@ ORDER BY Project, no, ItemGroup, option1, ItemName</CommandText>
|
||||
<CommandText>UPDATE ProjectsPart
|
||||
SET Project = @Project, Item = @Item, qty = @qty, price = @price, amt = @amt, jago = @jago, memo = @memo, wuid = @wuid, wdate = @wdate, ItemName = @ItemName,
|
||||
ItemModel = @ItemModel, ItemGroup = @ItemGroup, ItemSid = @ItemSid, ItemSupply = @ItemSupply, ItemManu = @ItemManu, option1 = @option1, option2 = @option2, option3 = @option3,
|
||||
remark = @remark, ItemSupplyidx = @ItemSupplyidx, no = @no, ItemUnit = @ItemUnit, import = @import, qtyjago = @qtyjago, qtybuy = @qtybuy, qtyn = @qtyn, amtn = @amtn
|
||||
WHERE (idx = @Original_idx);
|
||||
remark = @remark, ItemSupplyidx = @ItemSupplyidx, no = @no, ItemUnit = @ItemUnit, import = @import, qtyjago = @qtyjago, qtybuy = @qtybuy, qtyn = @qtyn, amtn = @amtn,
|
||||
qtyin = @qtyin, bbuy = @bbuy, bconfirm = @bconfirm
|
||||
WHERE (idx = @Original_idx);
|
||||
SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn FROM ProjectsPart WHERE (idx = @idx) ORDER BY Project, no, ItemGroup, option1, ItemName</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Project" ColumnName="Project" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Project" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -526,6 +533,9 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="qtybuy" ColumnName="qtybuy" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtybuy" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtybuy" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="qtyn" ColumnName="qtyn" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtyn" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtyn" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="amtn" ColumnName="amtn" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@amtn" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="amtn" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="qtyin" ColumnName="qtyin" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtyin" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtyin" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="bbuy" ColumnName="bbuy" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bbuy" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bbuy" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="bconfirm" ColumnName="bconfirm" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bconfirm" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bconfirm" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
@@ -562,6 +572,9 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
|
||||
<Mapping SourceColumn="qtybuy" DataSetColumn="qtybuy" />
|
||||
<Mapping SourceColumn="qtyn" DataSetColumn="qtyn" />
|
||||
<Mapping SourceColumn="amtn" DataSetColumn="amtn" />
|
||||
<Mapping SourceColumn="qtyin" DataSetColumn="qtyin" />
|
||||
<Mapping SourceColumn="bbuy" DataSetColumn="bbuy" />
|
||||
<Mapping SourceColumn="bconfirm" DataSetColumn="bconfirm" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteImport">
|
||||
@@ -1729,6 +1742,9 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO
|
||||
<xs:element name="qtybuy" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="qtybuy" msprop:Generator_ColumnVarNameInTable="columnqtybuy" msprop:Generator_ColumnPropNameInTable="qtybuyColumn" msprop:Generator_UserColumnName="qtybuy" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="qtyn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="qtyn" msprop:Generator_ColumnVarNameInTable="columnqtyn" msprop:Generator_ColumnPropNameInTable="qtynColumn" msprop:Generator_UserColumnName="qtyn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="amtn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="amtn" msprop:Generator_ColumnVarNameInTable="columnamtn" msprop:Generator_ColumnPropNameInTable="amtnColumn" msprop:Generator_UserColumnName="amtn" type="xs:decimal" minOccurs="0" />
|
||||
<xs:element name="qtyin" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="qtyin" msprop:Generator_ColumnVarNameInTable="columnqtyin" msprop:Generator_ColumnPropNameInTable="qtyinColumn" msprop:Generator_UserColumnName="qtyin" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="bbuy" msprop:Generator_ColumnVarNameInTable="columnbbuy" msprop:Generator_ColumnPropNameInRow="bbuy" msprop:nullValue="0" msprop:Generator_ColumnPropNameInTable="bbuyColumn" msprop:Generator_UserColumnName="bbuy" type="xs:boolean" minOccurs="0" />
|
||||
<xs:element name="bconfirm" msprop:Generator_ColumnVarNameInTable="columnbconfirm" msprop:Generator_ColumnPropNameInRow="bconfirm" msprop:nullValue="0" msprop:Generator_ColumnPropNameInTable="bconfirmColumn" msprop:Generator_UserColumnName="bconfirm" type="xs:boolean" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<Shape ID="DesignTable:Projects" ZOrder="10" X="70" Y="70" Height="514" Width="275" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="389" />
|
||||
<Shape ID="DesignTable:ProjectsIOMap" ZOrder="9" X="366" Y="70" Height="229" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:ProjectsMailList" ZOrder="8" X="667" Y="70" Height="248" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:ProjectsPart" ZOrder="7" X="974" Y="70" Height="343" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:ProjectsPart" ZOrder="7" X="973" Y="68" Height="343" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:JobReport" ZOrder="6" X="1258" Y="68" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:ProjectsSchedule" ZOrder="5" X="1629" Y="70" Height="267" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:ProjectsHistory" ZOrder="4" X="1943" Y="70" Height="267" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
|
||||
Reference in New Issue
Block a user