правки
This commit is contained in:
parent
d93dd5adf3
commit
aaa9486e2e
@ -13,17 +13,17 @@ namespace SushiBarContracts.ViewModels
|
|||||||
{
|
{
|
||||||
[DisplayName("Номер")]
|
[DisplayName("Номер")]
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
public int SushiId { get; set; }
|
||||||
public int ClientId { get; set; }
|
public int ClientId { get; set; }
|
||||||
[DisplayName("ФИО клиента")]
|
|
||||||
public string ClientFIO { get; set; } = string.Empty;
|
|
||||||
public int? ImplementerId { get; set; }
|
public int? ImplementerId { get; set; }
|
||||||
|
[DisplayName("Клиент")]
|
||||||
|
public string ClientFIO { get; set; } = string.Empty;
|
||||||
|
[DisplayName("Изделие")]
|
||||||
|
public string SushiName { get; set; } = string.Empty;
|
||||||
[DisplayName("Исполнитель")]
|
[DisplayName("Исполнитель")]
|
||||||
public string? ImplementerFIO { get; set; } = null;
|
public string? ImplementerFIO { get; set; } = null;
|
||||||
public int SushiId { get; set; }
|
[DisplayName("Количество")]
|
||||||
[DisplayName("Изделие")]
|
public int Count { get; set; }
|
||||||
public string SushiName { get; set; } = string.Empty;
|
|
||||||
[DisplayName("Количество")]
|
|
||||||
public int Count { get; set; }
|
|
||||||
[DisplayName("Сумма")]
|
[DisplayName("Сумма")]
|
||||||
public double Sum { get; set; }
|
public double Sum { get; set; }
|
||||||
[DisplayName("Статус")]
|
[DisplayName("Статус")]
|
||||||
|
37
SushiBar/SushiBarView/FormMain.Designer.cs
generated
37
SushiBar/SushiBarView/FormMain.Designer.cs
generated
@ -39,28 +39,29 @@
|
|||||||
componentsToolStripMenuItem = new ToolStripMenuItem();
|
componentsToolStripMenuItem = new ToolStripMenuItem();
|
||||||
sushiToolStripMenuItem = new ToolStripMenuItem();
|
sushiToolStripMenuItem = new ToolStripMenuItem();
|
||||||
clientToolStripMenuItem = new ToolStripMenuItem();
|
clientToolStripMenuItem = new ToolStripMenuItem();
|
||||||
|
employersToolStripMenuItem = new ToolStripMenuItem();
|
||||||
ReportsToolStripMenuItem = new ToolStripMenuItem();
|
ReportsToolStripMenuItem = new ToolStripMenuItem();
|
||||||
ComponentsListToolStripMenuItem = new ToolStripMenuItem();
|
ComponentsListToolStripMenuItem = new ToolStripMenuItem();
|
||||||
ComponentSushisToolStripMenuItem = new ToolStripMenuItem();
|
ComponentSushisToolStripMenuItem = new ToolStripMenuItem();
|
||||||
OrdersToolStripMenuItem = new ToolStripMenuItem();
|
OrdersToolStripMenuItem = new ToolStripMenuItem();
|
||||||
startWorkToolStripMenuItem = new ToolStripMenuItem();
|
startWorkToolStripMenuItem = new ToolStripMenuItem();
|
||||||
employersToolStripMenuItem = new ToolStripMenuItem();
|
|
||||||
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
||||||
menuStrip.SuspendLayout();
|
menuStrip.SuspendLayout();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// dataGridView
|
// dataGridView
|
||||||
//
|
//
|
||||||
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
||||||
dataGridView.BackgroundColor = SystemColors.Window;
|
dataGridView.BackgroundColor = SystemColors.Window;
|
||||||
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
dataGridView.Location = new Point(1, 29);
|
dataGridView.Location = new Point(1, 29);
|
||||||
dataGridView.Name = "dataGridView";
|
dataGridView.Name = "dataGridView";
|
||||||
dataGridView.Size = new Size(1080, 307);
|
dataGridView.Size = new Size(1206, 307);
|
||||||
dataGridView.TabIndex = 0;
|
dataGridView.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// ButtonCreateOrder
|
// ButtonCreateOrder
|
||||||
//
|
//
|
||||||
ButtonCreateOrder.Location = new Point(1087, 41);
|
ButtonCreateOrder.Location = new Point(1213, 41);
|
||||||
ButtonCreateOrder.Name = "ButtonCreateOrder";
|
ButtonCreateOrder.Name = "ButtonCreateOrder";
|
||||||
ButtonCreateOrder.Size = new Size(147, 33);
|
ButtonCreateOrder.Size = new Size(147, 33);
|
||||||
ButtonCreateOrder.TabIndex = 1;
|
ButtonCreateOrder.TabIndex = 1;
|
||||||
@ -70,7 +71,7 @@
|
|||||||
//
|
//
|
||||||
// ButtonTakeOrderInWork
|
// ButtonTakeOrderInWork
|
||||||
//
|
//
|
||||||
ButtonTakeOrderInWork.Location = new Point(1087, 80);
|
ButtonTakeOrderInWork.Location = new Point(1213, 80);
|
||||||
ButtonTakeOrderInWork.Name = "ButtonTakeOrderInWork";
|
ButtonTakeOrderInWork.Name = "ButtonTakeOrderInWork";
|
||||||
ButtonTakeOrderInWork.Size = new Size(147, 33);
|
ButtonTakeOrderInWork.Size = new Size(147, 33);
|
||||||
ButtonTakeOrderInWork.TabIndex = 2;
|
ButtonTakeOrderInWork.TabIndex = 2;
|
||||||
@ -80,7 +81,7 @@
|
|||||||
//
|
//
|
||||||
// ButtonOrderReady
|
// ButtonOrderReady
|
||||||
//
|
//
|
||||||
ButtonOrderReady.Location = new Point(1087, 119);
|
ButtonOrderReady.Location = new Point(1213, 119);
|
||||||
ButtonOrderReady.Name = "ButtonOrderReady";
|
ButtonOrderReady.Name = "ButtonOrderReady";
|
||||||
ButtonOrderReady.Size = new Size(147, 33);
|
ButtonOrderReady.Size = new Size(147, 33);
|
||||||
ButtonOrderReady.TabIndex = 3;
|
ButtonOrderReady.TabIndex = 3;
|
||||||
@ -90,7 +91,7 @@
|
|||||||
//
|
//
|
||||||
// ButtonIssuedOrder
|
// ButtonIssuedOrder
|
||||||
//
|
//
|
||||||
ButtonIssuedOrder.Location = new Point(1087, 158);
|
ButtonIssuedOrder.Location = new Point(1213, 158);
|
||||||
ButtonIssuedOrder.Name = "ButtonIssuedOrder";
|
ButtonIssuedOrder.Name = "ButtonIssuedOrder";
|
||||||
ButtonIssuedOrder.Size = new Size(147, 33);
|
ButtonIssuedOrder.Size = new Size(147, 33);
|
||||||
ButtonIssuedOrder.TabIndex = 4;
|
ButtonIssuedOrder.TabIndex = 4;
|
||||||
@ -100,7 +101,7 @@
|
|||||||
//
|
//
|
||||||
// ButtonRef
|
// ButtonRef
|
||||||
//
|
//
|
||||||
ButtonRef.Location = new Point(1087, 197);
|
ButtonRef.Location = new Point(1213, 197);
|
||||||
ButtonRef.Name = "ButtonRef";
|
ButtonRef.Name = "ButtonRef";
|
||||||
ButtonRef.Size = new Size(147, 33);
|
ButtonRef.Size = new Size(147, 33);
|
||||||
ButtonRef.TabIndex = 5;
|
ButtonRef.TabIndex = 5;
|
||||||
@ -113,7 +114,7 @@
|
|||||||
menuStrip.Items.AddRange(new ToolStripItem[] { toolStripMenuItem, ReportsToolStripMenuItem, startWorkToolStripMenuItem });
|
menuStrip.Items.AddRange(new ToolStripItem[] { toolStripMenuItem, ReportsToolStripMenuItem, startWorkToolStripMenuItem });
|
||||||
menuStrip.Location = new Point(0, 0);
|
menuStrip.Location = new Point(0, 0);
|
||||||
menuStrip.Name = "menuStrip";
|
menuStrip.Name = "menuStrip";
|
||||||
menuStrip.Size = new Size(1265, 24);
|
menuStrip.Size = new Size(1381, 24);
|
||||||
menuStrip.TabIndex = 6;
|
menuStrip.TabIndex = 6;
|
||||||
menuStrip.Text = "menuStrip1";
|
menuStrip.Text = "menuStrip1";
|
||||||
//
|
//
|
||||||
@ -127,24 +128,30 @@
|
|||||||
// componentsToolStripMenuItem
|
// componentsToolStripMenuItem
|
||||||
//
|
//
|
||||||
componentsToolStripMenuItem.Name = "componentsToolStripMenuItem";
|
componentsToolStripMenuItem.Name = "componentsToolStripMenuItem";
|
||||||
componentsToolStripMenuItem.Size = new Size(180, 22);
|
componentsToolStripMenuItem.Size = new Size(149, 22);
|
||||||
componentsToolStripMenuItem.Text = "Компоненты";
|
componentsToolStripMenuItem.Text = "Компоненты";
|
||||||
componentsToolStripMenuItem.Click += componentsToolStripMenuItem_Click;
|
componentsToolStripMenuItem.Click += componentsToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// sushiToolStripMenuItem
|
// sushiToolStripMenuItem
|
||||||
//
|
//
|
||||||
sushiToolStripMenuItem.Name = "sushiToolStripMenuItem";
|
sushiToolStripMenuItem.Name = "sushiToolStripMenuItem";
|
||||||
sushiToolStripMenuItem.Size = new Size(180, 22);
|
sushiToolStripMenuItem.Size = new Size(149, 22);
|
||||||
sushiToolStripMenuItem.Text = "Суши";
|
sushiToolStripMenuItem.Text = "Суши";
|
||||||
sushiToolStripMenuItem.Click += sushiToolStripMenuItem_Click;
|
sushiToolStripMenuItem.Click += sushiToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// clientToolStripMenuItem
|
// clientToolStripMenuItem
|
||||||
//
|
//
|
||||||
clientToolStripMenuItem.Name = "clientToolStripMenuItem";
|
clientToolStripMenuItem.Name = "clientToolStripMenuItem";
|
||||||
clientToolStripMenuItem.Size = new Size(180, 22);
|
clientToolStripMenuItem.Size = new Size(149, 22);
|
||||||
clientToolStripMenuItem.Text = "Клиент";
|
clientToolStripMenuItem.Text = "Клиент";
|
||||||
clientToolStripMenuItem.Click += clientToolStripMenuItem_Click;
|
clientToolStripMenuItem.Click += clientToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
|
// employersToolStripMenuItem
|
||||||
|
//
|
||||||
|
employersToolStripMenuItem.Name = "employersToolStripMenuItem";
|
||||||
|
employersToolStripMenuItem.Size = new Size(149, 22);
|
||||||
|
employersToolStripMenuItem.Text = "Исполнители";
|
||||||
|
//
|
||||||
// ReportsToolStripMenuItem
|
// ReportsToolStripMenuItem
|
||||||
//
|
//
|
||||||
ReportsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { ComponentsListToolStripMenuItem, ComponentSushisToolStripMenuItem, OrdersToolStripMenuItem });
|
ReportsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { ComponentsListToolStripMenuItem, ComponentSushisToolStripMenuItem, OrdersToolStripMenuItem });
|
||||||
@ -179,17 +186,11 @@
|
|||||||
startWorkToolStripMenuItem.Size = new Size(92, 20);
|
startWorkToolStripMenuItem.Size = new Size(92, 20);
|
||||||
startWorkToolStripMenuItem.Text = "Запуск работ";
|
startWorkToolStripMenuItem.Text = "Запуск работ";
|
||||||
//
|
//
|
||||||
// employersToolStripMenuItem
|
|
||||||
//
|
|
||||||
employersToolStripMenuItem.Name = "employersToolStripMenuItem";
|
|
||||||
employersToolStripMenuItem.Size = new Size(180, 22);
|
|
||||||
employersToolStripMenuItem.Text = "Исполнители";
|
|
||||||
//
|
|
||||||
// FormMain
|
// FormMain
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
ClientSize = new Size(1265, 337);
|
ClientSize = new Size(1381, 337);
|
||||||
Controls.Add(ButtonRef);
|
Controls.Add(ButtonRef);
|
||||||
Controls.Add(ButtonIssuedOrder);
|
Controls.Add(ButtonIssuedOrder);
|
||||||
Controls.Add(ButtonOrderReady);
|
Controls.Add(ButtonOrderReady);
|
||||||
|
@ -43,8 +43,7 @@ namespace SushiBarView
|
|||||||
dataGridView.DataSource = list;
|
dataGridView.DataSource = list;
|
||||||
dataGridView.Columns["SushiId"].Visible = false;
|
dataGridView.Columns["SushiId"].Visible = false;
|
||||||
dataGridView.Columns["ClientId"].Visible = false;
|
dataGridView.Columns["ClientId"].Visible = false;
|
||||||
dataGridView.Columns["SushiName"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
dataGridView.Columns["ImplementerId"].Visible = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
_logger.LogInformation("Загрузка заказов");
|
_logger.LogInformation("Загрузка заказов");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user