diff --git a/BBWY.Client/Views/PackTask/CerControl.xaml b/BBWY.Client/Views/PackTask/CerControl.xaml
index 6c8c0df3..8da8a66b 100644
--- a/BBWY.Client/Views/PackTask/CerControl.xaml
+++ b/BBWY.Client/Views/PackTask/CerControl.xaml
@@ -5,18 +5,9 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:BBWY.Client.Views.PackTask"
mc:Ignorable="d"
- d:DesignHeight="340" d:DesignWidth="382">
+ d:DesignHeight="300" d:DesignWidth="382">
-
-
-
-
-
-
-
-
-
+
@@ -106,7 +97,7 @@
Height="44" Text="{Binding CerData.ProductAdress}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="63,241,0,0"/>
-
+
diff --git a/BBWY.Client/Views/PackTask/SetCerControl.xaml b/BBWY.Client/Views/PackTask/SetCerControl.xaml
index f7a317ca..37bd4d01 100644
--- a/BBWY.Client/Views/PackTask/SetCerControl.xaml
+++ b/BBWY.Client/Views/PackTask/SetCerControl.xaml
@@ -8,7 +8,7 @@
xmlns:cmodel="clr-namespace:BBWY.Client.Models"
mc:Ignorable="d"
d:DesignHeight="700" d:DesignWidth="820">
-
+
@@ -19,7 +19,7 @@
-
+
@@ -42,9 +42,9 @@
-
+
-
+
@@ -59,7 +59,7 @@
-
+
@@ -74,7 +74,7 @@
-
+
diff --git a/BBWY.Client/Views/PackTask/SetCerControl.xaml.cs b/BBWY.Client/Views/PackTask/SetCerControl.xaml.cs
index cf49f2e6..de951363 100644
--- a/BBWY.Client/Views/PackTask/SetCerControl.xaml.cs
+++ b/BBWY.Client/Views/PackTask/SetCerControl.xaml.cs
@@ -14,20 +14,21 @@ using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
+using WebSocketSharp;
namespace BBWY.Client.Views.PackTask
{
///
/// SetCerControl.xaml 的交互逻辑
///
- public partial class SetCerControl : UserControl,INotifyPropertyChanged
+ public partial class SetCerControl : UserControl, INotifyPropertyChanged
{
public SetCerControl()
{
InitializeComponent();
}
-
+
//CertificateModel
@@ -63,7 +64,7 @@ namespace BBWY.Client.Views.PackTask
{
-
+
var control = d as SetCerControl;
var newValue = e.NewValue as CertificateModel;
@@ -75,12 +76,21 @@ namespace BBWY.Client.Views.PackTask
//control.OnPropertyChanged(e);
}
-
-
+
+
}
-
-
+ private void RadioButton_Checked(object sender, RoutedEventArgs e)
+ {
+ var rabtn = sender as RadioButton;
+ if (rabtn != null && rabtn.CommandParameter != null) {
+ var labModel = Enum.Parse(rabtn.CommandParameter.ToString()) ;
+ model.LabelModel = labModel ;
+ model.IsLogo = labModel == CertificateLabelModel.标准有3c ? 1 : 0;
+ }
+
+ var data = e.Source as string ;
+ }
}
-
+
}
diff --git a/BBWY.Client/Views/PackTask/SetCerWindow.xaml b/BBWY.Client/Views/PackTask/SetCerWindow.xaml
index d4b5c868..986b6a00 100644
--- a/BBWY.Client/Views/PackTask/SetCerWindow.xaml
+++ b/BBWY.Client/Views/PackTask/SetCerWindow.xaml
@@ -41,7 +41,7 @@
-
+
+ IsChecked="{Binding IsLogo,Converter={StaticResource objConverter},ConverterParameter=0:true:false}"
@@ -76,7 +76,7 @@
-
+ IsChecked="{Binding IsLogo,Converter={StaticResource objConverter},ConverterParameter=1:true:false}"
@@ -106,7 +106,7 @@
-
+ IsChecked="{Binding IsLogo,Converter={StaticResource objConverter},ConverterParameter=0:true:false}"
@@ -128,8 +128,8 @@
-
-
+ -->
+
+
-
+
+ IsChecked="{Binding IsLogo,Converter={StaticResource objConverter},ConverterParameter=0:true:false}"
@@ -65,7 +66,7 @@
-
+ IsChecked="{Binding IsLogo,Converter={StaticResource objConverter},ConverterParameter=1:true:false}"
@@ -95,7 +96,7 @@
-
+ IsChecked="{Binding IsLogo,Converter={StaticResource objConverter},ConverterParameter=0:true:false}"
@@ -117,7 +118,7 @@
-
+ -->
diff --git a/BBWY.Server.Business/PlatformSDK/LogisticsCompanyConverter.cs b/BBWY.Server.Business/PlatformSDK/LogisticsCompanyConverter.cs
index 8ed49268..50717732 100644
--- a/BBWY.Server.Business/PlatformSDK/LogisticsCompanyConverter.cs
+++ b/BBWY.Server.Business/PlatformSDK/LogisticsCompanyConverter.cs
@@ -17,10 +17,10 @@ namespace BBWY.Server.Business
converterDictionary = new Dictionary>();
converterDictionary.Add($"{Enums.Platform.阿里巴巴}_{Enums.Platform.京东}", new List()
{
- new LogisticsCompanyRelationship(){SourceName="中通快递(ZTO)",TargetName="中通速递"},
+ //new LogisticsCompanyRelationship(){SourceName="中通快递(ZTO)",TargetName="中通速递"},
new LogisticsCompanyRelationship(){SourceName="圆通速递(YTO)",TargetName="圆通快递"},
new LogisticsCompanyRelationship(){SourceName="邮政国内小包",TargetName="邮政快递包裹"},
- new LogisticsCompanyRelationship(){SourceName="韵达快递",TargetName="韵达快递"},
+ // new LogisticsCompanyRelationship(){SourceName="韵达快递",TargetName="韵达快递"},
new LogisticsCompanyRelationship(){SourceName="申通快递(STO)",TargetName="申通快递",SecondTargetName="厂家自送"},
new LogisticsCompanyRelationship(){SourceName="顺丰速运",TargetName="顺丰快递"},
new LogisticsCompanyRelationship(){SourceName="百世快递",TargetName="厂家自送"},