修复关联失败问题 继续优化读单
This commit is contained in:
1 parent
a786ba6ce9
commit
7df2cc0957
4 files changed
+112
-32
No files matched your search
@@ -702,7 +702,7 @@
|
|||||||
BorderBrush="{Binding TransitRefundStatusBackColor}"
|
BorderBrush="{Binding TransitRefundStatusBackColor}"
|
||||||
BorderThickness="1"
|
BorderThickness="1"
|
||||||
CornerRadius="2"
|
CornerRadius="2"
|
||||||
Visibility="{Binding TransitRefundStatusStr, Converter={StaticResource HasTextVisibility}}">
|
Visibility="{Binding TransitRefundStatusStrVisibility}">
|
||||||
<TextBlock
|
<TextBlock
|
||||||
x:Name="txtRefundStatus"
|
x:Name="txtRefundStatus"
|
||||||
MinWidth="20"
|
MinWidth="20"
|
||||||
@@ -722,7 +722,7 @@
|
|||||||
Title="采购单号:"
|
Title="采购单号:"
|
||||||
Cursor="Hand"
|
Cursor="Hand"
|
||||||
Foreground="#0099ff"
|
Foreground="#0099ff"
|
||||||
Visibility="{Binding ItemTransitOrderWithVoid.OutOrderNumStr, Converter={StaticResource HasTextVisibility}}">
|
Visibility="{Binding ItemTransitOutOrderNoStrVisibility}">
|
||||||
<WrapPanel Orientation="Horizontal">
|
<WrapPanel Orientation="Horizontal">
|
||||||
<uc:UcWaterMarkTextBox1
|
<uc:UcWaterMarkTextBox1
|
||||||
x:Name="txtTransitOrderNumStr"
|
x:Name="txtTransitOrderNumStr"
|
||||||
@@ -746,8 +746,7 @@
|
|||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
Cursor="Hand"
|
Cursor="Hand"
|
||||||
MouseLeftButtonDown="Path_MouseLeftButtonDown"
|
MouseLeftButtonDown="Path_MouseLeftButtonDown"
|
||||||
Tag="{Binding order_id}"
|
Tag="{Binding order_id}">
|
||||||
Visibility="{Binding ElementName=txtTransitOrderBuyerStr, Path=Text, Converter={StaticResource HasTextVisibility}}">
|
|
||||||
<Path
|
<Path
|
||||||
Data="M80 432a128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128h-384a128 128 0 0 1-128-128v-384z m128-64a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64h-384z M816 144h-384a64 64 0 0 0-64 64 32 32 0 0 1-64 0 128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128 32 32 0 0 1 0-64 64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64z"
|
Data="M80 432a128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128h-384a128 128 0 0 1-128-128v-384z m128-64a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64h-384z M816 144h-384a64 64 0 0 0-64 64 32 32 0 0 1-64 0 128 128 0 0 1 128-128h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128 32 32 0 0 1 0-64 64 64 0 0 0 64-64v-384a64 64 0 0 0-64-64z"
|
||||||
Fill="{StaticResource PageLinkBrush}"
|
Fill="{StaticResource PageLinkBrush}"
|
||||||
@@ -762,7 +761,7 @@
|
|||||||
x:Name="wpBuyTime"
|
x:Name="wpBuyTime"
|
||||||
Title="采购时间:"
|
Title="采购时间:"
|
||||||
Foreground="{Binding OutOrderTimeQualifiedBrush}"
|
Foreground="{Binding OutOrderTimeQualifiedBrush}"
|
||||||
Visibility="{Binding ElementName=txtOutOrderTimeQualifiedStr, Path=Text, Converter={StaticResource HasTextVisibility}}">
|
Visibility="{Binding OutOrderTimeQualifiedStrVisibility}">
|
||||||
<uc:UcWaterMarkTextBox1
|
<uc:UcWaterMarkTextBox1
|
||||||
x:Name="txtOutOrderTimeQualifiedStr"
|
x:Name="txtOutOrderTimeQualifiedStr"
|
||||||
Margin="-2,0"
|
Margin="-2,0"
|
||||||
@@ -781,7 +780,7 @@
|
|||||||
<wpf:TitleContent
|
<wpf:TitleContent
|
||||||
Title="取号物流:"
|
Title="取号物流:"
|
||||||
Foreground="{StaticResource PageOkBrush}"
|
Foreground="{StaticResource PageOkBrush}"
|
||||||
Visibility="{Binding TransitOrderWaybillToWareHouseStr, Converter={StaticResource HasTextVisibility}}">
|
Visibility="{Binding TransitOrderWaybillToWareHouseStrVisibility}">
|
||||||
<uc:UcWaterMarkTextBox1
|
<uc:UcWaterMarkTextBox1
|
||||||
Margin="-2,0"
|
Margin="-2,0"
|
||||||
Padding="0"
|
Padding="0"
|
||||||
@@ -811,7 +810,7 @@
|
|||||||
</wpf:TitleContent>
|
</wpf:TitleContent>
|
||||||
|
|
||||||
<!-- 仓库物流 -->
|
<!-- 仓库物流 -->
|
||||||
<wpf:TitleContent Title="仓库物流:" Visibility="{Binding TransitOrderWaybillFromWareHouseStr, Converter={StaticResource HasTextVisibility}}">
|
<wpf:TitleContent Title="仓库物流:" Visibility="{Binding TransitOrderWaybillFromWareHouseStrVisibility}">
|
||||||
<WrapPanel>
|
<WrapPanel>
|
||||||
<uc:UcWaterMarkTextBox1
|
<uc:UcWaterMarkTextBox1
|
||||||
Margin="-2,0"
|
Margin="-2,0"
|
||||||
@@ -835,7 +834,7 @@
|
|||||||
</wpf:TitleContent>
|
</wpf:TitleContent>
|
||||||
|
|
||||||
<!-- 仓库物流 -->
|
<!-- 仓库物流 -->
|
||||||
<wpf:TitleContent Title="补发物流:" Visibility="{Binding TransitExtraPackageWaybillStr, Converter={StaticResource HasTextVisibility}}">
|
<wpf:TitleContent Title="补发物流:" Visibility="{Binding TransitExtraPackageWaybillStrVisibility}">
|
||||||
<WrapPanel>
|
<WrapPanel>
|
||||||
<uc:UcWaterMarkTextBox1
|
<uc:UcWaterMarkTextBox1
|
||||||
Margin="-2,0"
|
Margin="-2,0"
|
||||||
@@ -855,7 +854,7 @@
|
|||||||
Click="btnVoidTransitExtraOrder_Click"
|
Click="btnVoidTransitExtraOrder_Click"
|
||||||
Content="{Binding TransitExtraPackageWaybillBtnStr}"
|
Content="{Binding TransitExtraPackageWaybillBtnStr}"
|
||||||
Style="{StaticResource LinkButton}"
|
Style="{StaticResource LinkButton}"
|
||||||
Visibility="{Binding TransitExtraPackageWaybillBtnStr, Converter={StaticResource HasTextVisibility}}" />
|
Visibility="{Binding TransitExtraPackageWaybillBtnStrVisibility}" />
|
||||||
</WrapPanel>
|
</WrapPanel>
|
||||||
</wpf:TitleContent>
|
</wpf:TitleContent>
|
||||||
|
|
||||||
@@ -942,7 +941,7 @@
|
|||||||
<wpf:TitleContent
|
<wpf:TitleContent
|
||||||
x:Name="wpDirectBuyTime"
|
x:Name="wpDirectBuyTime"
|
||||||
Title="外采时间:"
|
Title="外采时间:"
|
||||||
Visibility="{Binding ElementName=txtDirectOrderBuyTimeStr, Path=Text, Converter={StaticResource HasTextVisibility}}">
|
Visibility="{Binding DirectOrderBuyTimeStrVisibility}">
|
||||||
<uc:UcWaterMarkTextBox1
|
<uc:UcWaterMarkTextBox1
|
||||||
x:Name="txtDirectOrderBuyTimeStr"
|
x:Name="txtDirectOrderBuyTimeStr"
|
||||||
Margin="-2,2"
|
Margin="-2,2"
|
||||||
@@ -1293,7 +1292,7 @@
|
|||||||
</wpf:TitleContent>
|
</wpf:TitleContent>
|
||||||
|
|
||||||
<!-- 总店地址 -->
|
<!-- 总店地址 -->
|
||||||
<wpf:TitleContent Title="总店地址:" Visibility="{Binding PddBuyerAfterSaleAddressStr, Converter={StaticResource HasTextVisibility}}">
|
<wpf:TitleContent Title="总店地址:" Visibility="{Binding PddBuyerAfterSaleAddressStrVisibility}">
|
||||||
<WrapPanel Orientation="Horizontal">
|
<WrapPanel Orientation="Horizontal">
|
||||||
<uc:UcWaterMarkTextBox1
|
<uc:UcWaterMarkTextBox1
|
||||||
x:Name="txtBuyerRefundAddress"
|
x:Name="txtBuyerRefundAddress"
|
||||||
@@ -1303,10 +1302,9 @@
|
|||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
BorderThickness="1"
|
BorderThickness="1"
|
||||||
IsReadOnly="True"
|
IsReadOnly="True"
|
||||||
Text="{Binding PddBuyerAfterSaleAddressStr, Converter={StaticResource TextEllipsisConverter}}"
|
Text="{Binding PddBuyerAfterSaleAddressShortStr}"
|
||||||
TextWrapping="Wrap"
|
TextWrapping="Wrap"
|
||||||
ToolTip="{Binding PddBuyerAfterSaleAddressStr}"
|
ToolTip="{Binding PddBuyerAfterSaleAddressStr}"
|
||||||
Visibility="{Binding Text, RelativeSource={RelativeSource Self}, Converter={StaticResource HasTextVisibility}}"
|
|
||||||
WaterMark="总店退货地址" />
|
WaterMark="总店退货地址" />
|
||||||
<Border
|
<Border
|
||||||
Width="12"
|
Width="12"
|
||||||
@@ -1326,7 +1324,7 @@
|
|||||||
</wpf:TitleContent>
|
</wpf:TitleContent>
|
||||||
|
|
||||||
<!-- 直发总店 -->
|
<!-- 直发总店 -->
|
||||||
<wpf:TitleContent Title="直发总店:" Visibility="{Binding DirectPddBuyerAfterSaleAddressStr, Converter={StaticResource HasTextVisibility}}">
|
<wpf:TitleContent Title="直发总店:" Visibility="{Binding DirectPddBuyerAfterSaleAddressStrVisibility}">
|
||||||
<WrapPanel Orientation="Horizontal">
|
<WrapPanel Orientation="Horizontal">
|
||||||
<uc:UcWaterMarkTextBox1
|
<uc:UcWaterMarkTextBox1
|
||||||
x:Name="txtDirectBuyerRefundAddress"
|
x:Name="txtDirectBuyerRefundAddress"
|
||||||
@@ -1336,10 +1334,9 @@
|
|||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
BorderThickness="1"
|
BorderThickness="1"
|
||||||
IsReadOnly="True"
|
IsReadOnly="True"
|
||||||
Text="{Binding DirectPddBuyerAfterSaleAddressStr, Converter={StaticResource TextEllipsisConverter}}"
|
Text="{Binding DirectPddBuyerAfterSaleAddressShortStr}"
|
||||||
TextWrapping="Wrap"
|
TextWrapping="Wrap"
|
||||||
ToolTip="{Binding DirectPddBuyerAfterSaleAddressStr}"
|
ToolTip="{Binding DirectPddBuyerAfterSaleAddressStr}"
|
||||||
Visibility="{Binding Text, RelativeSource={RelativeSource Self}, Converter={StaticResource HasTextVisibility}}"
|
|
||||||
WaterMark="总店退货地址" />
|
WaterMark="总店退货地址" />
|
||||||
<Border
|
<Border
|
||||||
Width="12"
|
Width="12"
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ using System.Drawing.Imaging;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Threading;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
|
|
||||||
@@ -388,11 +389,6 @@ namespace AllBase
|
|||||||
public static BitmapImage LoadBitmipImageFromUrl(string url, int? width = 0, int? height = 0)
|
public static BitmapImage LoadBitmipImageFromUrl(string url, int? width = 0, int? height = 0)
|
||||||
{
|
{
|
||||||
BitmapImage bitmap = new BitmapImage();
|
BitmapImage bitmap = new BitmapImage();
|
||||||
if (width != null && height != null)
|
|
||||||
{
|
|
||||||
bitmap.DecodePixelWidth = 100;
|
|
||||||
bitmap.DecodePixelHeight = 100;
|
|
||||||
}
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -403,6 +399,11 @@ namespace AllBase
|
|||||||
{
|
{
|
||||||
stream.Position = 0; // 重置流的位置到开始处
|
stream.Position = 0; // 重置流的位置到开始处
|
||||||
bitmap.BeginInit();
|
bitmap.BeginInit();
|
||||||
|
if (width != null && height != null)
|
||||||
|
{
|
||||||
|
bitmap.DecodePixelWidth = width.Value;
|
||||||
|
bitmap.DecodePixelHeight = height.Value;
|
||||||
|
}
|
||||||
bitmap.CreateOptions = BitmapCreateOptions.PreservePixelFormat;
|
bitmap.CreateOptions = BitmapCreateOptions.PreservePixelFormat;
|
||||||
bitmap.CacheOption = BitmapCacheOption.OnLoad; // 或者使用 BitmapCacheOption.OnLoad 以减少内存使用
|
bitmap.CacheOption = BitmapCacheOption.OnLoad; // 或者使用 BitmapCacheOption.OnLoad 以减少内存使用
|
||||||
bitmap.UriSource = null; // 清除可能的旧UriSource,防止缓存问题
|
bitmap.UriSource = null; // 清除可能的旧UriSource,防止缓存问题
|
||||||
|
|||||||
@@ -278,6 +278,11 @@ namespace AllBase.Model.DBModel
|
|||||||
get { return this.GetValue(x => x.ItemTransitOutOrderBuyerStrVisibility); }
|
get { return this.GetValue(x => x.ItemTransitOutOrderBuyerStrVisibility); }
|
||||||
set { this.SetValue(x => x.ItemTransitOutOrderBuyerStrVisibility, value); }
|
set { this.SetValue(x => x.ItemTransitOutOrderBuyerStrVisibility, value); }
|
||||||
}
|
}
|
||||||
|
public Visibility ItemTransitOutOrderNoStrVisibility
|
||||||
|
{
|
||||||
|
get { return this.GetValue(x => x.ItemTransitOutOrderNoStrVisibility); }
|
||||||
|
set { this.SetValue(x => x.ItemTransitOutOrderNoStrVisibility, value); }
|
||||||
|
}
|
||||||
public List<oms_wei_external_procurement_after_sale_info> ItemTransitOrderAfterSales { get; set; } = new List<oms_wei_external_procurement_after_sale_info>();
|
public List<oms_wei_external_procurement_after_sale_info> ItemTransitOrderAfterSales { get; set; } = new List<oms_wei_external_procurement_after_sale_info>();
|
||||||
public oms_wei_external_procurement_after_sale_info ItemTransitOrderAfterSale
|
public oms_wei_external_procurement_after_sale_info ItemTransitOrderAfterSale
|
||||||
{
|
{
|
||||||
@@ -309,12 +314,22 @@ namespace AllBase.Model.DBModel
|
|||||||
public string TransitExtraPackageWaybillStr
|
public string TransitExtraPackageWaybillStr
|
||||||
{
|
{
|
||||||
get { return this.GetValue(x => x.TransitExtraPackageWaybillStr); }
|
get { return this.GetValue(x => x.TransitExtraPackageWaybillStr); }
|
||||||
set { this.SetValue(x => x.TransitExtraPackageWaybillStr, value); }
|
set { this.SetValue(x => x.TransitExtraPackageWaybillStr, value); TransitExtraPackageWaybillStrVisibility = string.IsNullOrWhiteSpace(value) ? Visibility.Collapsed : Visibility.Visible; }
|
||||||
|
}
|
||||||
|
public Visibility TransitExtraPackageWaybillStrVisibility
|
||||||
|
{
|
||||||
|
get { return this.GetValue(x => x.TransitExtraPackageWaybillStrVisibility); }
|
||||||
|
set { this.SetValue(x => x.TransitExtraPackageWaybillStrVisibility, value); }
|
||||||
}
|
}
|
||||||
public string TransitExtraPackageWaybillBtnStr
|
public string TransitExtraPackageWaybillBtnStr
|
||||||
{
|
{
|
||||||
get { return this.GetValue(x => x.TransitExtraPackageWaybillBtnStr); }
|
get { return this.GetValue(x => x.TransitExtraPackageWaybillBtnStr); }
|
||||||
set { this.SetValue(x => x.TransitExtraPackageWaybillBtnStr, value); }
|
set { this.SetValue(x => x.TransitExtraPackageWaybillBtnStr, value); TransitExtraPackageWaybillBtnStrVisibility = string.IsNullOrWhiteSpace(value) ? Visibility.Collapsed : Visibility.Visible; }
|
||||||
|
}
|
||||||
|
public Visibility TransitExtraPackageWaybillBtnStrVisibility
|
||||||
|
{
|
||||||
|
get { return this.GetValue(x => x.TransitExtraPackageWaybillBtnStrVisibility); }
|
||||||
|
set { this.SetValue(x => x.TransitExtraPackageWaybillBtnStrVisibility, value); }
|
||||||
}
|
}
|
||||||
public List<order_pdd_buyer_order> PddBuyerOrders { get; set; } = new List<order_pdd_buyer_order>();
|
public List<order_pdd_buyer_order> PddBuyerOrders { get; set; } = new List<order_pdd_buyer_order>();
|
||||||
public order_pdd_buyer_order PddBuyerOrder
|
public order_pdd_buyer_order PddBuyerOrder
|
||||||
@@ -336,7 +351,26 @@ namespace AllBase.Model.DBModel
|
|||||||
public string PddBuyerAfterSaleAddressStr
|
public string PddBuyerAfterSaleAddressStr
|
||||||
{
|
{
|
||||||
get { return this.GetValue(x => x.PddBuyerAfterSaleAddressStr); }
|
get { return this.GetValue(x => x.PddBuyerAfterSaleAddressStr); }
|
||||||
set { this.SetValue(x => x.PddBuyerAfterSaleAddressStr, value); }
|
set
|
||||||
|
{
|
||||||
|
this.SetValue(x => x.PddBuyerAfterSaleAddressStr, value);
|
||||||
|
PddBuyerAfterSaleAddressStrVisibility = string.IsNullOrWhiteSpace(value) ? Visibility.Collapsed : Visibility.Visible;
|
||||||
|
|
||||||
|
if (value.ParseToString().Length > 19)
|
||||||
|
PddBuyerAfterSaleAddressShortStr = string.Join("", value.ParseToString().Take(19)) + "…";
|
||||||
|
else
|
||||||
|
PddBuyerAfterSaleAddressShortStr = value.ParseToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public string PddBuyerAfterSaleAddressShortStr
|
||||||
|
{
|
||||||
|
get { return this.GetValue(x => x.PddBuyerAfterSaleAddressShortStr); }
|
||||||
|
set { this.SetValue(x => x.PddBuyerAfterSaleAddressShortStr, value); }
|
||||||
|
}
|
||||||
|
public Visibility PddBuyerAfterSaleAddressStrVisibility
|
||||||
|
{
|
||||||
|
get { return this.GetValue(x => x.PddBuyerAfterSaleAddressStrVisibility); }
|
||||||
|
set { this.SetValue(x => x.PddBuyerAfterSaleAddressStrVisibility, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -541,7 +575,12 @@ namespace AllBase.Model.DBModel
|
|||||||
public string TransitOrderWaybillToWareHouseStr
|
public string TransitOrderWaybillToWareHouseStr
|
||||||
{
|
{
|
||||||
get { return this.GetValue(x => x.TransitOrderWaybillToWareHouseStr); }
|
get { return this.GetValue(x => x.TransitOrderWaybillToWareHouseStr); }
|
||||||
set { this.SetValue(x => x.TransitOrderWaybillToWareHouseStr, value); }
|
set { this.SetValue(x => x.TransitOrderWaybillToWareHouseStr, value); TransitOrderWaybillToWareHouseStrVisibility = string.IsNullOrWhiteSpace(value) ? Visibility.Collapsed : Visibility.Visible; }
|
||||||
|
}
|
||||||
|
public Visibility TransitOrderWaybillToWareHouseStrVisibility
|
||||||
|
{
|
||||||
|
get { return this.GetValue(x => x.TransitOrderWaybillToWareHouseStrVisibility); }
|
||||||
|
set { this.SetValue(x => x.TransitOrderWaybillToWareHouseStrVisibility, value); }
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 提前取号物流编号(虚拟)
|
/// 提前取号物流编号(虚拟)
|
||||||
@@ -557,7 +596,12 @@ namespace AllBase.Model.DBModel
|
|||||||
public string TransitOrderWaybillFromWareHouseStr
|
public string TransitOrderWaybillFromWareHouseStr
|
||||||
{
|
{
|
||||||
get { return this.GetValue(x => x.TransitOrderWaybillFromWareHouseStr); }
|
get { return this.GetValue(x => x.TransitOrderWaybillFromWareHouseStr); }
|
||||||
set { this.SetValue(x => x.TransitOrderWaybillFromWareHouseStr, value); }
|
set { this.SetValue(x => x.TransitOrderWaybillFromWareHouseStr, value); TransitOrderWaybillFromWareHouseStrVisibility = string.IsNullOrWhiteSpace(value) ? Visibility.Collapsed : Visibility.Visible; }
|
||||||
|
}
|
||||||
|
public Visibility TransitOrderWaybillFromWareHouseStrVisibility
|
||||||
|
{
|
||||||
|
get { return this.GetValue(x => x.TransitOrderWaybillFromWareHouseStrVisibility); }
|
||||||
|
set { this.SetValue(x => x.TransitOrderWaybillFromWareHouseStrVisibility, value); }
|
||||||
}
|
}
|
||||||
public string TransitWarehouseAfterSaleWayBillStr
|
public string TransitWarehouseAfterSaleWayBillStr
|
||||||
{
|
{
|
||||||
@@ -796,7 +840,12 @@ namespace AllBase.Model.DBModel
|
|||||||
public string TransitRefundStatusStr
|
public string TransitRefundStatusStr
|
||||||
{
|
{
|
||||||
get { return this.GetValue(x => x.TransitRefundStatusStr); }
|
get { return this.GetValue(x => x.TransitRefundStatusStr); }
|
||||||
set { this.SetValue(x => x.TransitRefundStatusStr, value); }
|
set { this.SetValue(x => x.TransitRefundStatusStr, value); TransitRefundStatusStrVisibility = string.IsNullOrWhiteSpace(value) ? Visibility.Collapsed : Visibility.Visible; }
|
||||||
|
}
|
||||||
|
public Visibility TransitRefundStatusStrVisibility
|
||||||
|
{
|
||||||
|
get { return this.GetValue(x => x.TransitRefundStatusStrVisibility); }
|
||||||
|
set { this.SetValue(x => x.TransitRefundStatusStrVisibility, value); }
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 中转仓表买手售后字段文字显示背景颜色
|
/// 中转仓表买手售后字段文字显示背景颜色
|
||||||
@@ -866,7 +915,12 @@ namespace AllBase.Model.DBModel
|
|||||||
public string OutOrderTimeQualifiedStr
|
public string OutOrderTimeQualifiedStr
|
||||||
{
|
{
|
||||||
get { return this.GetValue(x => x.OutOrderTimeQualifiedStr); }
|
get { return this.GetValue(x => x.OutOrderTimeQualifiedStr); }
|
||||||
set { this.SetValue(x => x.OutOrderTimeQualifiedStr, value); }
|
set { this.SetValue(x => x.OutOrderTimeQualifiedStr, value); OutOrderTimeQualifiedStrVisibility = string.IsNullOrWhiteSpace(value) ? Visibility.Collapsed : Visibility.Visible; }
|
||||||
|
}
|
||||||
|
public Visibility OutOrderTimeQualifiedStrVisibility
|
||||||
|
{
|
||||||
|
get { return this.GetValue(x => x.OutOrderTimeQualifiedStrVisibility); }
|
||||||
|
set { this.SetValue(x => x.OutOrderTimeQualifiedStrVisibility, value); }
|
||||||
}
|
}
|
||||||
void SetOutOrderTimeQualifiedStr()
|
void SetOutOrderTimeQualifiedStr()
|
||||||
{
|
{
|
||||||
@@ -1020,7 +1074,12 @@ namespace AllBase.Model.DBModel
|
|||||||
public string DirectOrderBuyTimeStr
|
public string DirectOrderBuyTimeStr
|
||||||
{
|
{
|
||||||
get { return this.GetValue(x => x.DirectOrderBuyTimeStr); }
|
get { return this.GetValue(x => x.DirectOrderBuyTimeStr); }
|
||||||
set { this.SetValue(x => x.DirectOrderBuyTimeStr, value); }
|
set { this.SetValue(x => x.DirectOrderBuyTimeStr, value); DirectOrderBuyTimeStrVisibility = string.IsNullOrWhiteSpace(value) ? Visibility.Collapsed : Visibility.Visible; }
|
||||||
|
}
|
||||||
|
public Visibility DirectOrderBuyTimeStrVisibility
|
||||||
|
{
|
||||||
|
get { return this.GetValue(x => x.DirectOrderBuyTimeStrVisibility); }
|
||||||
|
set { this.SetValue(x => x.DirectOrderBuyTimeStrVisibility, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1043,7 +1102,25 @@ namespace AllBase.Model.DBModel
|
|||||||
public string DirectPddBuyerAfterSaleAddressStr
|
public string DirectPddBuyerAfterSaleAddressStr
|
||||||
{
|
{
|
||||||
get { return this.GetValue(x => x.DirectPddBuyerAfterSaleAddressStr); }
|
get { return this.GetValue(x => x.DirectPddBuyerAfterSaleAddressStr); }
|
||||||
set { this.SetValue(x => x.DirectPddBuyerAfterSaleAddressStr, value); }
|
set
|
||||||
|
{
|
||||||
|
this.SetValue(x => x.DirectPddBuyerAfterSaleAddressStr, value);
|
||||||
|
if (value.ParseToString().Length > 19)
|
||||||
|
DirectPddBuyerAfterSaleAddressShortStr = string.Join("", value.ParseToString().Take(19)) + "…";
|
||||||
|
else
|
||||||
|
DirectPddBuyerAfterSaleAddressShortStr = value.ParseToString();
|
||||||
|
DirectPddBuyerAfterSaleAddressStrVisibility = string.IsNullOrWhiteSpace(value) ? Visibility.Collapsed : Visibility.Visible;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public string DirectPddBuyerAfterSaleAddressShortStr
|
||||||
|
{
|
||||||
|
get { return this.GetValue(x => x.DirectPddBuyerAfterSaleAddressShortStr); }
|
||||||
|
set { this.SetValue(x => x.DirectPddBuyerAfterSaleAddressShortStr, value); }
|
||||||
|
}
|
||||||
|
public Visibility DirectPddBuyerAfterSaleAddressStrVisibility
|
||||||
|
{
|
||||||
|
get { return this.GetValue(x => x.DirectPddBuyerAfterSaleAddressStrVisibility); }
|
||||||
|
set { this.SetValue(x => x.DirectPddBuyerAfterSaleAddressStrVisibility, value); }
|
||||||
}
|
}
|
||||||
public string DirectRefundStatusStr
|
public string DirectRefundStatusStr
|
||||||
{
|
{
|
||||||
@@ -1450,7 +1527,11 @@ namespace AllBase.Model.DBModel
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// sku属性JSON
|
/// sku属性JSON
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string sku_attrs { get; set; }
|
public string sku_attrs
|
||||||
|
{
|
||||||
|
get { return this.GetValue(x => x.sku_attrs); }
|
||||||
|
set { this.SetValue(x => x.sku_attrs, value); SetSkuAttrStr(); }
|
||||||
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// sku实付总价,取estimate_price和change_price中较小值
|
/// sku实付总价,取estimate_price和change_price中较小值
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -1572,7 +1653,6 @@ namespace AllBase.Model.DBModel
|
|||||||
// }));
|
// }));
|
||||||
//}
|
//}
|
||||||
|
|
||||||
this.SetSkuAttrStr();
|
|
||||||
this.SetItemRefund();
|
this.SetItemRefund();
|
||||||
this.SetTransitOrder();
|
this.SetTransitOrder();
|
||||||
this.SetDirectOrder();
|
this.SetDirectOrder();
|
||||||
@@ -1596,6 +1676,7 @@ namespace AllBase.Model.DBModel
|
|||||||
tOrder.SetOutOrderBuyerStr();
|
tOrder.SetOutOrderBuyerStr();
|
||||||
}
|
}
|
||||||
ItemTransitOutOrderBuyerStrVisibility = (ItemTransitOrderWithVoid?.OutOrderBuyerStr).IsNullOrEmpty() ? Visibility.Collapsed : Visibility.Visible;
|
ItemTransitOutOrderBuyerStrVisibility = (ItemTransitOrderWithVoid?.OutOrderBuyerStr).IsNullOrEmpty() ? Visibility.Collapsed : Visibility.Visible;
|
||||||
|
ItemTransitOutOrderNoStrVisibility = (ItemTransitOrderWithVoid?.OutOrderNumStr).IsNullOrEmpty() ? Visibility.Collapsed : Visibility.Visible;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1181,6 +1181,7 @@ namespace TemuKJD.ToolForms
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//time=1792314251&code=22107EDBDC132F485500B33B4C58CFDB&code_version=1&version=329&user_name=13367632144&path=29wx&spu_code=10001462916616&sku_code=%e7%bb%bf%e8%89%b2%e6%8c%8e%e5%8c%85%e5%b0%8f%e9%bb%91%e7%8c%ab%e6%8c%82%e4%bb%b6&main_user_name=13367632144&map_goods_name=超萌小黑猫挂件手工编织毛绒公仔多色礼物送朋友&map_spec_name=【大眼猫】挎包绿&map_goods_id=984310168545&map_sku_id=1941546612897&map_send_address=&transit_warehouse_id=XDYSHANDC
|
||||||
url = BaseClass.Build29WxObjString("order/wx_add_mdy_buy_prod_map");
|
url = BaseClass.Build29WxObjString("order/wx_add_mdy_buy_prod_map");
|
||||||
var result = await GetHtml.PostUtf8Async(url, data);
|
var result = await GetHtml.PostUtf8Async(url, data);
|
||||||
if (!result.Contains("\"code\":200"))
|
if (!result.Contains("\"code\":200"))
|
||||||
|
|||||||
Reference in new issue
Block a user