记录关联商品所有sku并可以快速关联
This commit is contained in:
1 parent
66f1381950
commit
d77ec5cc2e
9 files changed
+460
-3927
No files matched your search
@@ -77,9 +77,13 @@ namespace AllBase.Helper
|
||||
//public static string dangerItemWords = "打火机,压力罐,刀具,铡刀,充电宝,罂粟,礼炮,煤气罐,仿制枪,暖手宝,灭火器,火炮,纸炮枪,手枪,毫安,喷漆,酒精,锂电,电池,火柴,气罐,气泡弹,喷雾";
|
||||
public static string dangerItemWords = "打火机,压力罐,刀具,铡刀,充电宝,罂粟,礼炮,煤气罐,仿制枪,暖手宝,灭火器,火炮,纸炮枪,手枪,毫安,喷漆,酒精,锂电,电池,火柴,气罐,气泡弹";
|
||||
public static List<string> lstDangerItemWord { get; set; } = dangerItemWords.Split(',').ToList();
|
||||
public static BuyConfig BuyConfig { get; set; }
|
||||
|
||||
#region 界面颜色
|
||||
public static System.Drawing.Color DefaultMainColor { get; set; } = System.Drawing.Color.FromArgb(63, 126, 255);
|
||||
public static ConcurrentList<WXBuyMapInfo> BuyMapList { get; set; } = new ConcurrentList<WXBuyMapInfo>();
|
||||
public static ConcurrentList<WXBuyMapSkusInfo> BuyMapSkusList { get; set; } = new ConcurrentList<WXBuyMapSkusInfo>();
|
||||
|
||||
#region 界面颜色
|
||||
public static System.Drawing.Color DefaultMainColor { get; set; } = System.Drawing.Color.FromArgb(63, 126, 255);
|
||||
public static System.Drawing.Color DefaultMainColorLight { get; set; } = System.Drawing.Color.FromArgb(185, 215, 255);
|
||||
public static System.Drawing.Color DefaultBorderColor { get; set; } = System.Drawing.Color.FromArgb(25, 98, 200);
|
||||
|
||||
@@ -96,8 +100,6 @@ namespace AllBase.Helper
|
||||
public static System.Drawing.Color WeiXinBorderColor { get; set; } = System.Drawing.Color.FromArgb(107, 83, 147);
|
||||
#endregion
|
||||
|
||||
public static BuyConfig BuyConfig { get; set; }
|
||||
|
||||
#region 文本颜色
|
||||
public static SolidColorBrush BlackBrush = new SolidColorBrush(Color.FromArgb(255, 0, 0, 0));
|
||||
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
using System;
|
||||
using AllBase.Model.Result;
|
||||
using NaiBa.Util;
|
||||
using Newtonsoft.Json;
|
||||
using NPOI.SS.Formula.Functions;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -28,4 +32,36 @@ namespace AllBase.Model.DBModel
|
||||
public DateTime add_time { get; set; }
|
||||
public DateTime mdy_time { get; set; }
|
||||
}
|
||||
public class WXBuyMapSkusInfo
|
||||
{
|
||||
public long id { get; set; }
|
||||
public string user_name { get; set; }
|
||||
public string spu_code { get; set; }
|
||||
public string map_url { get; set; }
|
||||
public string map_goods_name { get; set; }
|
||||
public string map_goods_id { get; set; }
|
||||
string _map_skus;
|
||||
public string map_skus
|
||||
{
|
||||
get { return _map_skus; }
|
||||
set
|
||||
{
|
||||
_map_skus = value;
|
||||
try
|
||||
{
|
||||
pdd_front_goods3_Lite = JsonHelper.DeserializeJsonToObject<pddFrontGoods3Lite>(value);
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
}
|
||||
[JsonIgnore]
|
||||
public pddFrontGoods3Lite pdd_front_goods3_Lite { get; private set; }
|
||||
/// <summary>
|
||||
/// 发货地(省,市)
|
||||
/// </summary>
|
||||
public string map_send_address { get; set; }
|
||||
public string transit_warehouse_id { get; set; }
|
||||
public DateTime add_time { get; set; }
|
||||
public DateTime mdy_time { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -38,6 +38,11 @@ namespace AllBase.Model.DBModel
|
||||
get { return this.GetValue(x => x.BuyMap); }
|
||||
set { this.SetValue(x => x.BuyMap, value); }
|
||||
}
|
||||
public List<WXBuyMapSkusInfo> BuyMapSkus
|
||||
{
|
||||
get { return this.GetValue(x => x.BuyMapSkus); }
|
||||
set { this.SetValue(x => x.BuyMapSkus, value); }
|
||||
}
|
||||
/// <summary>
|
||||
/// 采购按钮文字
|
||||
/// </summary>
|
||||
|
||||
@@ -138,7 +138,7 @@ namespace AllBase.Model.Result
|
||||
|
||||
}
|
||||
|
||||
public class pddFrontGoods3List
|
||||
public class pddFrontGoods3Lite
|
||||
{
|
||||
public long? goodsId { get; set; } // 1661424397,
|
||||
public string goodsName { get; set; } // "红薏仁5斤装 红薏仁米小薏米仁农家自产新红薏米1斤2斤苡仁糙薏米",
|
||||
|
||||
Reference in new issue
Block a user