From 12746711f3f83519be4de2c7db06d960684e5257 Mon Sep 17 00:00:00 2001 From: ZhaoGang <15196688790@163.com> Date: Wed, 7 Jun 2023 15:09:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=85=8D=E6=96=B9=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E5=8F=8A=E9=85=8D=E6=96=B9=E6=93=8D=E4=BD=9C=E4=BA=8C?= =?UTF-8?q?=E6=AC=A1=E7=A1=AE=E8=AE=A4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BPASmartClient.JXJFoodBigStation/App.xaml | 27 ++ .../Model/RawMaterial/RecipeData.cs | 8 + .../View/RecipeInfosView.xaml | 330 ++++++++++++++---- .../ViewModel/ManualFlowViewModel.cs | 18 +- .../ViewModel/RecipeInfosViewModel.cs | 34 +- .../ViewModel/RecipeReceiveViewModel.cs | 14 + .../ViewModel/RecipeSendDownViewModel.cs | 8 + 7 files changed, 358 insertions(+), 81 deletions(-) diff --git a/BPASmartClient.JXJFoodBigStation/App.xaml b/BPASmartClient.JXJFoodBigStation/App.xaml index 5d64b9c2..368efbca 100644 --- a/BPASmartClient.JXJFoodBigStation/App.xaml +++ b/BPASmartClient.JXJFoodBigStation/App.xaml @@ -32,6 +32,33 @@ + + diff --git a/BPASmartClient.JXJFoodBigStation/Model/RawMaterial/RecipeData.cs b/BPASmartClient.JXJFoodBigStation/Model/RawMaterial/RecipeData.cs index 9d1a21c9..01adfb87 100644 --- a/BPASmartClient.JXJFoodBigStation/Model/RawMaterial/RecipeData.cs +++ b/BPASmartClient.JXJFoodBigStation/Model/RawMaterial/RecipeData.cs @@ -16,6 +16,14 @@ namespace BPASmartClient.JXJFoodBigStation.Model public string RecipeName { get { return _mRecipeName; } set { _mRecipeName = value; OnPropertyChanged(); } } private string _mRecipeName; + + /// + /// 配方类别 + /// + public string RecipeCategory { get { return _RecipeCategory; } set { _RecipeCategory = value; OnPropertyChanged(); } } + private string _RecipeCategory; + + /// /// 配方ID /// diff --git a/BPASmartClient.JXJFoodBigStation/View/RecipeInfosView.xaml b/BPASmartClient.JXJFoodBigStation/View/RecipeInfosView.xaml index 4d21eab2..6692a88d 100644 --- a/BPASmartClient.JXJFoodBigStation/View/RecipeInfosView.xaml +++ b/BPASmartClient.JXJFoodBigStation/View/RecipeInfosView.xaml @@ -255,76 +255,212 @@ --> - + - + - - - - + + + + - - - - - - + + + + + + - - + + + + + + - - + + - - - + + + - + + + BorderBrush="#e69519" + FontSize="14" + Foreground="LightGray" + Text="{Binding RawMaterialWeight}" /> + + +