From b03753e0cfefa0e329337c4c8dffde335bed0a5f Mon Sep 17 00:00:00 2001 From: wule Date: Fri, 11 Sep 2026 11:41:54 +0800 Subject: [PATCH] =?UTF-8?q?1=E4=BC=98=E5=8C=96=E8=AE=A2=E5=8D=95=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=B1=95=E7=A4=BA=202=E6=8B=8D=E5=8D=95=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E4=BC=98=E5=8C=96=E8=B0=83=E6=95=B4=203=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=8B=8D=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 29WxOrderWpf/29WxOrderWpf.csproj | 5 + .../Converters/TextToVisibilityConverter.cs | 2 +- .../Ctrls/OrderCtrls/OrderListCtrl.xaml | 16 +- .../Ctrls/OrderCtrls/OrderListCtrl.xaml.cs | 18 +- .../OrderCtrls/OrderListRowItemCtrl.xaml | 60 +++++-- .../OrderCtrls/OrderListRowItemCtrl.xaml.cs | 77 +++------ .../Views/AutoBuyInstructionView.xaml.cs | 27 +++ .../Views/AutoBuyInstructionView.xaml‌ | 12 ++ .../Model/DBModel/oms_wei_order_item_info.cs | 26 ++- Work/_29Tools/Forms/PddMobileBuyOrderForm.cs | 161 ++++++++++++++++-- 10 files changed, 309 insertions(+), 95 deletions(-) create mode 100644 29WxOrderWpf/Views/AutoBuyInstructionView.xaml.cs create mode 100644 29WxOrderWpf/Views/AutoBuyInstructionView.xaml‌ diff --git a/29WxOrderWpf/29WxOrderWpf.csproj b/29WxOrderWpf/29WxOrderWpf.csproj index 45a19db..4d7e693 100644 --- a/29WxOrderWpf/29WxOrderWpf.csproj +++ b/29WxOrderWpf/29WxOrderWpf.csproj @@ -71,5 +71,10 @@ + + + MSBuild:Compile + + diff --git a/29WxOrderWpf/Converters/TextToVisibilityConverter.cs b/29WxOrderWpf/Converters/TextToVisibilityConverter.cs index 6451846..e9343fb 100644 --- a/29WxOrderWpf/Converters/TextToVisibilityConverter.cs +++ b/29WxOrderWpf/Converters/TextToVisibilityConverter.cs @@ -14,7 +14,7 @@ namespace _29WxOrderWpf.Converters { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { - if ( value == null) + if (value == null) return Visibility.Collapsed; return !value.ParseToString().Trim().IsNullOrEmpty() ? Visibility.Visible : Visibility.Collapsed; } diff --git a/29WxOrderWpf/Ctrls/OrderCtrls/OrderListCtrl.xaml b/29WxOrderWpf/Ctrls/OrderCtrls/OrderListCtrl.xaml index b3e4464..403bb8b 100644 --- a/29WxOrderWpf/Ctrls/OrderCtrls/OrderListCtrl.xaml +++ b/29WxOrderWpf/Ctrls/OrderCtrls/OrderListCtrl.xaml @@ -608,17 +608,29 @@ Content="已关联拍单" FontSize="12" />