1上货逻辑改造修改sku件数和包装尺寸重量 2统计计算利润和填写商品进货价相关功能
This commit is contained in:
1 parent
cc539ce604
commit
511affaeb5
28 files changed
+3283
-482
No files matched your search
@@ -27,8 +27,8 @@ namespace AllBase
|
||||
/// <summary>
|
||||
/// 版本ID
|
||||
/// </summary>
|
||||
public static int VersionCount = 566;
|
||||
//public static int VersionCount = 566;
|
||||
public static int VersionCount = 572;
|
||||
//public static int VersionCount = 572;
|
||||
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
|
||||
@@ -202,6 +202,11 @@ namespace AllBase.Model.Param.TemuProductManage
|
||||
public ProductSkuNetContentReq productSkuNetContentReq { get; set; }
|
||||
}
|
||||
|
||||
public class ProductSkuMultiPackReq2 : ProductSkuMultiPackReq
|
||||
{
|
||||
public int? individuallyPacked { get; set; }
|
||||
}
|
||||
|
||||
public class ProductSkuAccessoriesReq
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -58,6 +58,10 @@ namespace AllBase.Model.Result
|
||||
public int? priceReviewStatus { get; set; } // 状态3=作废
|
||||
public string skuPreviewImage { get; set; }
|
||||
public long? skuId { get; set; }
|
||||
public int? len { get; set; }
|
||||
public int? width { get; set; }
|
||||
public int? height { get; set; }
|
||||
public int? weight { get; set; }
|
||||
public int? supplierPriceValue { get; set; }
|
||||
public string supplierPrice { get; set; }
|
||||
public List<TemuProductPropertyInfo> productPropertyList { get; set; }
|
||||
|
||||
@@ -9,6 +9,8 @@ namespace AllBase.Model.Result
|
||||
public class TemuDBProductPurchasePriceInfo
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string shop_id { get; set; }
|
||||
public string shop_name { get; set; }
|
||||
public string spu_id { get; set; }
|
||||
public string skc_id { get; set; }
|
||||
public string cat_id { get; set; }
|
||||
@@ -16,6 +18,7 @@ namespace AllBase.Model.Result
|
||||
public string ext_code { get; set; }
|
||||
public string product_name { get; set; }
|
||||
public string main_img { get; set; }
|
||||
public int discount { get; set; } = 100;
|
||||
public string price_text { get; set; }
|
||||
public string sku_purchase_price_json { get; set; }
|
||||
public List<TemuDBSkuPurchasePriceInfo> dbSkuPurchasePriceList { get; set; }
|
||||
@@ -26,9 +29,10 @@ namespace AllBase.Model.Result
|
||||
|
||||
public class TemuDBSkuPurchasePriceInfo
|
||||
{
|
||||
public int? productSkuId { get; set; }
|
||||
public long? productSkuId { get; set; }
|
||||
public string className { get; set; }
|
||||
public List<TemuProductSkuSpec> productSkuSpecList { get; set; }
|
||||
public int? PriceValue { get; set; }
|
||||
public int? PurchasePriceValue { get; set; }
|
||||
public int? priceValue { get; set; }
|
||||
public int? purchasePriceValue { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -37,7 +37,7 @@ namespace AllBase.Model.Result
|
||||
public List<TemuOuterPackageImage> outerPackageImages { get; set; }
|
||||
public List<object> goodsModelList { get; set; }
|
||||
public List<TemuProductProperty> productPropertyList { get; set; }
|
||||
public List<object> productSpecPropertyVOS { get; set; }
|
||||
public List<TemuProductSpecPropertyVO> productSpecPropertyVOS { get; set; }
|
||||
public TemuProductWhExtAttr productWhExtAttr { get; set; }
|
||||
public TemuProductLocalExtAttr productLocalExtAttr { get; set; }
|
||||
public TemuProductSaleExtAttr productSaleExtAttr { get; set; }
|
||||
@@ -111,6 +111,23 @@ namespace AllBase.Model.Result
|
||||
public string numberInputValue { get; set; }
|
||||
}
|
||||
|
||||
public class TemuProductSpecPropertyVO
|
||||
{
|
||||
public long? templatePid { get; set; }
|
||||
public int? pid { get; set; }
|
||||
public int? refPid { get; set; }
|
||||
public string propName { get; set; }
|
||||
public int? vid { get; set; }
|
||||
public string propValue { get; set; }
|
||||
public string valueUnit { get; set; }
|
||||
public string valueExtendInfo { get; set; }
|
||||
public string numberInputValue { get; set; }
|
||||
public int? parentSpecId { get; set; }
|
||||
public int? specId { get; set; }
|
||||
public int? valueGroupId { get; set; }
|
||||
public string valueGroupName { get; set; }
|
||||
}
|
||||
|
||||
public class TemuProductWhExtAttr
|
||||
{
|
||||
public string outerGoodsUrl { get; set; }
|
||||
|
||||
@@ -92,6 +92,14 @@ namespace AllBase.Model.Result
|
||||
/// </summary>
|
||||
public SkuQuantityInfo skuQuantityTotalInfo { get; set; }
|
||||
/// <summary>
|
||||
/// skc货号
|
||||
/// </summary>
|
||||
public string skcExtCode { get; set; }
|
||||
/// <summary>
|
||||
/// 加入站点时长 单位天
|
||||
/// </summary>
|
||||
public int? onSalesDurationOffline { get; set; }
|
||||
/// <summary>
|
||||
/// 备货仓组Id列表
|
||||
/// </summary>
|
||||
public List<long> warehouseGroupIdList { get; set; }
|
||||
@@ -114,6 +122,15 @@ namespace AllBase.Model.Result
|
||||
/// 获取评价分错误
|
||||
/// </summary>
|
||||
public string getAfsScoreError { get; set; } = "";
|
||||
public decimal? discount { get; set; } = 100;
|
||||
/// <summary>
|
||||
/// KJD库中是否有进货价数据
|
||||
/// </summary>
|
||||
//public bool hasDbPurchasePrice { get; set; } = false;
|
||||
/// <summary>
|
||||
/// KJD库中进货价数据
|
||||
/// </summary>
|
||||
public TemuDBProductPurchasePriceInfo purchasePriceInfo { get; set; } = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -156,6 +173,10 @@ namespace AllBase.Model.Result
|
||||
/// </summary>
|
||||
public int? lastThirtyDaysSaleVolume { get; set; }
|
||||
/// <summary>
|
||||
/// 累计销量
|
||||
/// </summary>
|
||||
public int? totalSaleVolume { get; set; }
|
||||
/// <summary>
|
||||
/// 申报价格 CNY 分
|
||||
/// </summary>
|
||||
public int? supplierPrice { get; set; }
|
||||
@@ -176,6 +197,8 @@ namespace AllBase.Model.Result
|
||||
|
||||
public InventoryNumInfo inventoryNumInfo { get; set; }
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
/// 以下为本地新增用于本地显示的属性
|
||||
/// <summary>
|
||||
/// 拟备货数量,=0不备货
|
||||
/// </summary>
|
||||
@@ -185,6 +208,26 @@ namespace AllBase.Model.Result
|
||||
/// 进货价,保存于KJD库
|
||||
/// </summary>
|
||||
public int purchasePrice { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 总货值
|
||||
/// </summary>
|
||||
public int goodsValue { get; set; }
|
||||
/// <summary>
|
||||
/// 总进价(成本)
|
||||
/// </summary>
|
||||
public int goodsCost { get; set; }
|
||||
/// <summary>
|
||||
/// 今日利润(通过KJD库获取进货价计算获得)
|
||||
/// </summary>
|
||||
public decimal? todayProfit { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 近7日利润(通过KJD库获取进货价计算获得)
|
||||
/// </summary>
|
||||
public decimal? sevenDaysProfit { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 近30日利润(通过KJD库获取进货价计算获得)
|
||||
/// </summary>
|
||||
public decimal? thirtyDaysProfit { get; set; } = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -308,6 +308,8 @@ namespace KJD_Web.BLL
|
||||
return "{\"code\":500,\"msg\":\"没有用户名\"}";
|
||||
}
|
||||
|
||||
string shop_id = RegexUtils.GetStringQuery(ref inputData, "shop_id");
|
||||
string shop_name = RegexUtils.GetStringQuery(ref inputData, "shop_name");
|
||||
string spu_id = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "spu_id")).ParseToString();
|
||||
string skc_id = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "skc_id")).ParseToString();
|
||||
string cat_id = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "cat_id")).ParseToString();
|
||||
@@ -315,6 +317,7 @@ namespace KJD_Web.BLL
|
||||
string ext_code = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "ext_code")).ParseToString();
|
||||
string product_name = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "product_name")).ParseToString();
|
||||
string main_img = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "main_img")).ParseToString();
|
||||
string discount = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "discount")).ParseToString();
|
||||
string price_text = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "price_text")).ParseToString();
|
||||
string sku_purchase_price_json = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "sku_purchase_price_json")).ParseToString();
|
||||
string notes = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "notes")).ParseToString();
|
||||
@@ -324,9 +327,11 @@ namespace KJD_Web.BLL
|
||||
MysqlUtils mySql = new MysqlUtils(conn);
|
||||
string sqlExist = "select count(spu_id) from kjd.product_purchase_price where spu_id=@spu_id";
|
||||
string sql = "insert into kjd.product_purchase_price " +
|
||||
"(spu_id,skc_id,cat_id,cat_name,ext_code,product_name,main_img,price_text,sku_purchase_price_json,notes) " +
|
||||
"values (@spu_id,@skc_id,@cat_id,@cat_name,@ext_code,@product_name,@main_img,@price_text,@sku_purchase_price_json,@notes);";
|
||||
"(shop_id,shop_name,spu_id,skc_id,cat_id,cat_name,ext_code,product_name,main_img,discount,price_text,sku_purchase_price_json,notes) " +
|
||||
"values (@shop_id,@shop_name,@spu_id,@skc_id,@cat_id,@cat_name,@ext_code,@product_name,@main_img,@discount,@price_text,@sku_purchase_price_json,@notes);";
|
||||
List<MySqlParameter> paramLst = new List<MySqlParameter>();
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@shop_id", Value = shop_id, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@shop_name", Value = shop_name, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@spu_id", Value = spu_id, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@skc_id", Value = skc_id, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@cat_id", Value = cat_id, });
|
||||
@@ -334,6 +339,7 @@ namespace KJD_Web.BLL
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@ext_code", Value = ext_code, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@product_name", Value = product_name, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@main_img", Value = main_img, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@discount", Value = discount.ParseToInt(), });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@price_text", Value = price_text, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@sku_purchase_price_json", Value = sku_purchase_price_json, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@notes", Value = notes, });
|
||||
@@ -375,21 +381,28 @@ namespace KJD_Web.BLL
|
||||
}
|
||||
|
||||
var db_id = RegexUtils.GetStringQuery(ref inputData, "db_id");
|
||||
string shop_id = RegexUtils.GetStringQuery(ref inputData, "shop_id");
|
||||
string shop_name = RegexUtils.GetStringQuery(ref inputData, "shop_name");
|
||||
string cat_id = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "cat_id")).ParseToString();
|
||||
string cat_name = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "cat_name")).ParseToString();
|
||||
string ext_code = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "ext_code")).ParseToString();
|
||||
string product_name = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "product_name")).ParseToString();
|
||||
string main_img = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "main_img")).ParseToString();
|
||||
string discount = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "discount")).ParseToString();
|
||||
string price_text = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "price_text")).ParseToString();
|
||||
string sku_purchase_price_json = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "sku_purchase_price_json")).ParseToString();
|
||||
string notes = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "notes")).ParseToString();
|
||||
|
||||
List<MySqlParameter> paramLst = new List<MySqlParameter>();
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@db_id", Value = db_id, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@shop_id", Value = shop_id, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@shop_name", Value = shop_name, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@cat_id", Value = cat_id, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@cat_name", Value = cat_name, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@ext_code", Value = ext_code, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@product_name", Value = product_name, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@main_img", Value = main_img, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@discount", Value = discount.ParseToInt(), });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@price_text", Value = price_text, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@sku_purchase_price_json", Value = sku_purchase_price_json, });
|
||||
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@notes", Value = notes, });
|
||||
@@ -398,6 +411,10 @@ namespace KJD_Web.BLL
|
||||
MysqlUtils mySql = new MysqlUtils(conn);
|
||||
|
||||
string sql = "update kjd.product_purchase_price set";
|
||||
if (shop_id != null)
|
||||
sql += " shop_id=@shop_id,";
|
||||
if (shop_name != null)
|
||||
sql += " shop_name=@shop_name,";
|
||||
if (cat_id != null)
|
||||
sql += " cat_id=@cat_id,";
|
||||
if (cat_name != null)
|
||||
@@ -408,6 +425,8 @@ namespace KJD_Web.BLL
|
||||
sql += " product_name=@product_name,";
|
||||
if (main_img != null)
|
||||
sql += " main_img=@main_img,";
|
||||
if (discount != null)
|
||||
sql += " discount=@discount,";
|
||||
if (price_text != null)
|
||||
sql += " price_text=@price_text,";
|
||||
if (sku_purchase_price_json != null)
|
||||
@@ -478,7 +497,7 @@ namespace KJD_Web.BLL
|
||||
if (!string.IsNullOrWhiteSpace(search_notes))
|
||||
where += " and p.notes like @search_notes";
|
||||
if (!string.IsNullOrEmpty(in_spu_id))
|
||||
where += " and p.ext_code in ('" + in_spu_id?.Replace(",", "','") + "')";
|
||||
where += " and p.spu_id in ('" + in_spu_id?.Replace(",", "','") + "')";
|
||||
sql += where;
|
||||
|
||||
var count = mySql.ExecuteRowCount(sql, paramLst.ToArray());
|
||||
@@ -511,9 +530,12 @@ namespace KJD_Web.BLL
|
||||
ProductPurchasePriceResultParam price = new ProductPurchasePriceResultParam
|
||||
{
|
||||
id = row["id"].ParseToInt(),
|
||||
shop_id = row["shop_id"].ParseToString(),
|
||||
shop_name = row["shop_name"].ParseToString(),
|
||||
cat_id = row["cat_id"].ParseToString(),
|
||||
cat_name = row["cat_name"].ParseToString(),
|
||||
main_img = row["main_img"].ParseToString(),
|
||||
discount = row["discount"].ParseToInt(),
|
||||
price_text = row["price_text"].ParseToString(),
|
||||
product_name = row["product_name"].ParseToString(),
|
||||
skc_id = row["skc_id"].ParseToString(),
|
||||
|
||||
@@ -8,6 +8,8 @@ namespace KJD_Web.Model
|
||||
public class ProductPurchasePriceResultParam
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string shop_id { get; set; }
|
||||
public string shop_name { get; set; }
|
||||
public string spu_id { get; set; }
|
||||
public string skc_id { get; set; }
|
||||
public string cat_id { get; set; }
|
||||
@@ -15,6 +17,7 @@ namespace KJD_Web.Model
|
||||
public string ext_code { get; set; }
|
||||
public string product_name { get; set; }
|
||||
public string main_img { get; set; }
|
||||
public int discount { get; set; }
|
||||
public string price_text { get; set; }
|
||||
public string sku_purchase_price_json { get; set; }
|
||||
public DateTime add_time { get; set; }
|
||||
|
||||
@@ -358,6 +358,7 @@
|
||||
<Compile Include="KJDForms\ShopForms\ShopLoginForm.Designer.cs">
|
||||
<DependentUpon>ShopLoginForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="KJDForms\ShopForms\Statistics\LRBaseFrom.cs" />
|
||||
<Compile Include="KJDForms\ShopForms\Statistics\ShopOrderStatisticsDetailForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -376,6 +377,12 @@
|
||||
<Compile Include="KJDForms\ShopForms\ShopUpdateCookieForm.Designer.cs">
|
||||
<DependentUpon>ShopUpdateCookieForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="KJDForms\ShopForms\Statistics\ShopSetPurchasePriceForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="KJDForms\ShopForms\Statistics\ShopSetPurchasePriceForm.Designer.cs">
|
||||
<DependentUpon>ShopSetPurchasePriceForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="KJDForms\ShopForms\Statistics\ShopWorkStatisticsForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -728,6 +735,9 @@
|
||||
<EmbeddedResource Include="KJDForms\ShopForms\Statistics\ShopOrderStatisticsForm.resx">
|
||||
<DependentUpon>ShopOrderStatisticsForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="KJDForms\ShopForms\Statistics\ShopSetPurchasePriceForm.resx">
|
||||
<DependentUpon>ShopSetPurchasePriceForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="KJDForms\ShopForms\Statistics\ShopWorkStatisticsForm.resx">
|
||||
<DependentUpon>ShopWorkStatisticsForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
+516
-249
File diff suppressed because it is too large.
Load diff
@@ -706,6 +706,14 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
{
|
||||
dgvPriceCheck.Rows[rowId].Visible = false;
|
||||
}
|
||||
if (checkRestoreSizeAndNumber(priceInfo))
|
||||
{
|
||||
dgvPriceCheck.Rows[rowId].Cells["colProdName"].Style.ForeColor = Color.Red;
|
||||
}
|
||||
else
|
||||
{
|
||||
dgvPriceCheck.Rows[rowId].Cells["colProdName"].Style.ForeColor = dgvPriceCheck.DefaultCellStyle.ForeColor;
|
||||
}
|
||||
}));
|
||||
}
|
||||
this.ShowDgvImg();
|
||||
@@ -798,6 +806,12 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
return KJDHttpResponse.PostResponse2(shop, url, body, referer);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 请求修改标题
|
||||
/// </summary>
|
||||
/// <param name="shop"></param>
|
||||
/// <param name="productId"></param>
|
||||
/// <returns></returns>
|
||||
private string editPriceProductNameBatchAdd(ShopLoginInfo shop, string productId)
|
||||
{
|
||||
string url = "https://agentseller.temu.com/lich-mms/audit/edit/task/product/batchAdd";
|
||||
@@ -815,6 +829,52 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
return KJDHttpResponse.PostResponse2(shop, url, body, referer);
|
||||
}
|
||||
|
||||
//申请修改 SKU分类和包装清单 体积与重量 商品名称
|
||||
//{"bizIdType":1,"bizIds":[8942170367],"productEditItems":[{"editItem":4,"editAdvice":"12345"},{"editItem":8,"editAdvice":"54321"},{"editItem":1,"editAdvice":"33333"}]}
|
||||
//string body = @"{""bizIdType"":1,""bizIds"":[8942170367],""productEditItems"":[{""editItem"":4,""editAdvice"":""12345""},{""editItem"":8,""editAdvice"":""54321""},{""editItem"":1,""editAdvice"":""33333""}]}";
|
||||
//HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://agentseller.temu.com/lich-mms/audit/edit/task/product/batchAdd");
|
||||
//request.Referer = "https://agentseller.temu.com/goods/list";
|
||||
|
||||
/// <summary>
|
||||
/// 请求修改包装规格尺寸与SKU分类数量
|
||||
/// </summary>
|
||||
/// <param name="shop"></param>
|
||||
/// <param name="productId"></param>
|
||||
/// <returns></returns>
|
||||
private string editPriceProductSizeAndNumberBatchAdd(ShopLoginInfo shop, string productId)
|
||||
{
|
||||
string url = "https://agentseller.temu.com/lich-mms/audit/edit/task/product/batchAdd";
|
||||
string body = @"{""bizIdType"":1,""bizIds"":[" + productId + @"],""productEditItems"":[{""editItem"":4,""editAdvice"":""优化""},{""editItem"":8,""editAdvice"":""优化""}]}";
|
||||
string referer = "https://agentseller.temu.com/goods/list?productId=" + productId;
|
||||
return KJDHttpResponse.PostResponse2(shop, url, body, referer);
|
||||
}
|
||||
|
||||
private string editPriceProductSizeAndNumberTaskQuery(ShopLoginInfo shop, string productId)
|
||||
{
|
||||
string url = "https://agentseller.temu.com/lich-mms/audit/edit/task/product/pageQuery";
|
||||
string body = @"{""page"":1,""pageSize"":10,""editTaskAggStatuses"":[1],""productIdList"":[" + productId + "]}";
|
||||
string referer = "https://agentseller.temu.com/goods/list";
|
||||
return KJDHttpResponse.PostResponse2(shop, url, body, referer);
|
||||
}
|
||||
|
||||
private string editPriceProductQuery(ShopLoginInfo shop, string prodId, string taskUid)
|
||||
{
|
||||
string url = "https://agentseller.temu.com/visage-agent-seller/product/query";
|
||||
string body = @"{""productId"":" + prodId + @",""productEditTaskUid"":""" + taskUid + @"""}";
|
||||
string refere = "https://agentseller.temu.com/goods/edit?from=platform&productId=" + prodId + "&taskUid=" + taskUid;
|
||||
return KJDHttpResponse.PostResponse2(shop, url, body, refere);
|
||||
}
|
||||
|
||||
private string editPriceProductSizeAndNumber(ShopLoginInfo shop, string taskUid, string productId, string data)
|
||||
{
|
||||
string url = "https://agentseller.temu.com/visage-agent-seller/product/edit/task/reply";
|
||||
//string body = @"{""productId"":4432690492,""taskUid"":""8de73095-733e-4cdf-8fbd-3ddd8d9dff18"",""taskVersion"":0,""refuseEdit"":false,""productName"":""男士轻便 EVA 拖鞋,带钩环后跟带 ,舒适的露趾拖鞋,适合室内和室外使用,家居拖鞋,易于使用的魔鬼毡扣带扣,洞洞鞋,家居拖鞋,带钩环扣件,适合室内和室外使用,带扣凉鞋,后厨工专用鞋简约款两用,适合室内/室外使用,春夏凉鞋,EVA 拖鞋,适合19个不同的搭配风格""}";
|
||||
string body = ""; //@"{""productId"":" + productId + @",""taskUid"":""" + taskUid + @""",""taskVersion"":0,""refuseEdit"":false,""productName"":""" + productNewName + @"""}";
|
||||
body = data;
|
||||
string referer = "https://agentseller.temu.com/goods/edit?from=platform&productId=" + productId + "&taskUid=" + taskUid;
|
||||
return KJDHttpResponse.PostResponse2(shop, url, body, referer);
|
||||
}
|
||||
|
||||
Bitmap defaultBitmap = new Bitmap(80, 80);
|
||||
void ShowDgvImg()
|
||||
{
|
||||
@@ -869,7 +929,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.ShowDgvImg();
|
||||
}
|
||||
|
||||
private void btnReturnProdName_Click(object sender, EventArgs e)
|
||||
private void btnRestoreProdName_Click(object sender, EventArgs e)
|
||||
{
|
||||
var products = this.dgvPriceCheck.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true)
|
||||
.Select(r => r.Cells["colProductId"].Value.ParseToString());
|
||||
@@ -889,8 +949,6 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
{
|
||||
var rows = this.dgvPriceCheck.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colProductId"].Value.ParseToString() == price.productId.ParseToString()).ToList();
|
||||
var shop = lstAdminShopInfo.FirstOrDefault(s => s.ShopId == price.supplierId.ParseToString());
|
||||
var html = editPriceProductNameBatchAdd(shop, price.productId.ParseToString());
|
||||
|
||||
if (shop == null)
|
||||
continue;
|
||||
if (shop.LoginStatus2 != "国际版在线")
|
||||
@@ -917,6 +975,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
continue;
|
||||
}
|
||||
|
||||
var html = editPriceProductNameBatchAdd(shop, price.productId.ParseToString());
|
||||
//{"success":true,"errorCode":1000000,"errorMsg":null,"result":{"handleFailedList":[{"failedBizId":4432690492,"failedReason":"This product has pending or in-progress modification tasks, cannot initiate again"}],"addFailedList":[{"failedBizId":4432690492,"failedReason":"This product has pending or in-progress modification tasks, cannot initiate again","failedReasonType":8}],"successBizId2TaskUidMap":{}}}
|
||||
if (html.Contains("This product has pending or in-progress modification tasks"))
|
||||
{
|
||||
@@ -1323,6 +1382,325 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
}
|
||||
return newPName;
|
||||
}
|
||||
|
||||
private void btnRestoreSizeAndNumber_Click(object sender, EventArgs e)
|
||||
{
|
||||
var products = this.dgvPriceCheck.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true)
|
||||
.Select(r => r.Cells["colProductId"].Value.ParseToString());
|
||||
var prices = this.lstCheckPriceInfo.Where(p => products.Contains(p.productId.ParseToString())).ToList();
|
||||
|
||||
if (prices.Count == 0)
|
||||
{
|
||||
BaseMsgForm.ShowError("未选择商品");
|
||||
return;
|
||||
}
|
||||
|
||||
this.statusBar.lblTaskStatus.Text = "正在批量还原包装规格尺寸与SKU分类数量";
|
||||
this.pbLoading.Visible = true;
|
||||
Task.Run(() =>
|
||||
{
|
||||
foreach (var price in prices)
|
||||
{
|
||||
var rows = this.dgvPriceCheck.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colProductId"].Value.ParseToString() == price.productId.ParseToString()).ToList();
|
||||
var shop = lstAdminShopInfo.FirstOrDefault(s => s.ShopId == price.supplierId.ParseToString());
|
||||
if (shop == null)
|
||||
continue;
|
||||
if (shop.LoginStatus2 != "国际版在线")
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var row in rows)
|
||||
row.Cells["colMsg"].Value = "店铺掉线";
|
||||
}));
|
||||
continue;
|
||||
}
|
||||
|
||||
//var pName = price.productName;
|
||||
if (checkRestoreSizeAndNumber(price))
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var row in rows)
|
||||
row.Cells["colMsg"].Value = "无需还原包装规格尺寸与SKU分类数量";
|
||||
}));
|
||||
continue;
|
||||
}
|
||||
|
||||
var taskUid = "";
|
||||
var html = editPriceProductSizeAndNumberBatchAdd(shop, price.productId.ParseToString());
|
||||
//{"success":true,"errorCode":1000000,"errorMsg":null,"result":{"handleFailedList":[{"failedBizId":4432690492,"failedReason":"This product has pending or in-progress modification tasks, cannot initiate again"}],"addFailedList":[{"failedBizId":4432690492,"failedReason":"This product has pending or in-progress modification tasks, cannot initiate again","failedReasonType":8}],"successBizId2TaskUidMap":{}}}
|
||||
if (html.Contains("This product has pending or in-progress modification tasks"))
|
||||
{
|
||||
var taskHtml = editPriceProductSizeAndNumberTaskQuery(shop, price.productId.ParseToString());
|
||||
taskUid = BaseRegex.GetStringJson(ref taskHtml, "taskUid");
|
||||
if (string.IsNullOrEmpty(taskUid) || !taskHtml.Contains("\"productEditTaskItems\":[{\"editItem\":4,\"editAdvice\":\"优化\"},{\"editItem\":8,\"editAdvice\":\"优化\"}]"))
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var row in rows)
|
||||
row.Cells["colMsg"].Value = "已提交过修改任务或商品有其他修改任务";
|
||||
}));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (!html.Contains("\"success\":true"))
|
||||
{
|
||||
if (html.Contains("登录过期") || html.Contains("Invalid Login State"))
|
||||
{
|
||||
AdminShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
displayShopStatus(shop);
|
||||
}));
|
||||
}
|
||||
string sErrMsg = BaseRegex.GetStringJson(ref html, "errorMsg").ParseToString();
|
||||
if (string.IsNullOrEmpty(sErrMsg))
|
||||
{
|
||||
sErrMsg = BaseRegex.GetStringJson(ref html, "error_msg").ParseToString();
|
||||
}
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var row in rows)
|
||||
row.Cells["colMsg"].Value = "修改请求失败 " + sErrMsg;
|
||||
}));
|
||||
continue;
|
||||
}
|
||||
try
|
||||
{
|
||||
if (string.IsNullOrEmpty(taskUid))
|
||||
{
|
||||
JObject jObj = JObject.Parse(html);
|
||||
taskUid = jObj["result"]["successBizId2TaskUidMap"].LastOrDefault().LastOrDefault().ParseToString();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var row in rows)
|
||||
row.Cells["colMsg"].Value = "修改请求失败 " + ex.Message;
|
||||
}));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
html = editPriceProductQuery(shop, price.productId.ParseToString(), taskUid);
|
||||
if (html.Contains("This product has pending or in-progress modification tasks"))
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var row in rows)
|
||||
row.Cells["colMsg"].Value = "已提交过修改任务";
|
||||
}));
|
||||
continue;
|
||||
}
|
||||
if (!html.Contains("\"success\":true"))
|
||||
{
|
||||
if (html.Contains("登录过期") || html.Contains("Invalid Login State"))
|
||||
{
|
||||
AdminShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
displayShopStatus(shop);
|
||||
}));
|
||||
}
|
||||
string sErrMsg = BaseRegex.GetStringJson(ref html, "errorMsg").ParseToString();
|
||||
if (string.IsNullOrEmpty(sErrMsg))
|
||||
{
|
||||
sErrMsg = BaseRegex.GetStringJson(ref html, "error_msg").ParseToString();
|
||||
}
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var row in rows)
|
||||
row.Cells["colMsg"].Value = "修改请求失败 " + sErrMsg;
|
||||
}));
|
||||
continue;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
//int len = Randomx.GetId(15, 31); //300
|
||||
//int width = Randomx.GetId(10, 15); //200
|
||||
//int height = Randomx.GetId(5, 10); //100
|
||||
//int weight = Randomx.GetId(100, 200); //500000
|
||||
//int numberOfPieces = Randomx.GetId(450, 601);// 单品数量
|
||||
int len = Randomx.GetId(numLen1.Value.ParseToInt(), numLen2.Value.ParseToInt() + 1);
|
||||
int width = Randomx.GetId(numWidth1.Value.ParseToInt(), Math.Min(len, numWidth2.Value.ParseToInt() + 1));
|
||||
int height = Randomx.GetId(numHeight1.Value.ParseToInt(), Math.Min(width, numHeight2.Value.ParseToInt() + 1));
|
||||
int weight = Randomx.GetId(numWeight1.Value.ParseToInt(), numWeight2.Value.ParseToInt() + 1);
|
||||
int numberOfPieces = 1;
|
||||
|
||||
JObject obj = JObject.Parse(html);
|
||||
var result = JsonHelper.SerializeObject(obj["result"]);
|
||||
TemuDetailProductInfo prodInfo = JsonHelper.DeserializeJsonToObject<TemuDetailProductInfo>(result);
|
||||
|
||||
|
||||
//JObject jPost = new JObject();
|
||||
//jPost.Add("productId", price.productId);
|
||||
//jPost.Add("taskUid", taskUid.ParseToString());
|
||||
//jPost.Add("taskVersion", 0);
|
||||
//jPost.Add("refuseEdit", false);
|
||||
//var jProductSkcMainReqs = new JArray();
|
||||
//jPost.Add("productSkcReqs", jProductSkcMainReqs);
|
||||
//JObject jProductSkcMainReq = new JObject();
|
||||
//jProductSkcMainReqs.Add(jProductSkcMainReq);
|
||||
//var jMainProductSkuSpecReqs = new JArray();
|
||||
//jProductSkcMainReq.Add("mainProductSkuSpecReqs", jMainProductSkuSpecReqs);
|
||||
//jMainProductSkuSpecReqs.Add(new JObject() {
|
||||
// new JProperty("parentSpecId",0),
|
||||
// new JProperty("parentSpecName",""),
|
||||
// new JProperty("specId",0),
|
||||
// new JProperty("specName",""),
|
||||
//});
|
||||
|
||||
var jStr = "{";
|
||||
jStr += "\r\n\"productId\":" + price.productId + ",";
|
||||
jStr += "\r\n\"taskUid\":\"" + taskUid.ParseToString() + "\",";
|
||||
jStr += "\r\n\"taskVersion\":" + 0 + ",";
|
||||
jStr += "\r\n\"refuseEdit\":false,";
|
||||
jStr += "\r\n\"productSkcReqs\":[{";
|
||||
jStr += " \r\n\"mainProductSkuSpecReqs\":[{".Trim();
|
||||
jStr += " \r\n\"parentSpecId\":0,".Trim();
|
||||
jStr += " \r\n\"parentSpecName\":\"\",".Trim();
|
||||
jStr += " \r\n\"specId\":0,".Trim();
|
||||
jStr += " \r\n\"specName\":\"\"".Trim();
|
||||
jStr += " \r\n}],".Trim();
|
||||
|
||||
|
||||
jStr += " \r\n\"productSkuReqs\":[".Trim();
|
||||
|
||||
foreach (var sku in prodInfo.productSkcList.FirstOrDefault().productSkuList)
|
||||
{
|
||||
jStr += " \r\n{".Trim();
|
||||
|
||||
//productSkuSpecReqs
|
||||
jStr += " \r\n\"productSkuSpecReqs\":[".Trim();
|
||||
foreach (var spec in sku.productSkuSpecList)
|
||||
{
|
||||
jStr += "{";
|
||||
jStr += "\"parentSpecId\":" + spec.parentSpecId + ",";
|
||||
jStr += "\"parentSpecName\":\"" + spec.parentSpecName + "\",";
|
||||
jStr += "\"specId\":" + spec.specId + ",";
|
||||
jStr += "\"specName\":\"" + spec.specName + "\",";
|
||||
var specProp = prodInfo.productSpecPropertyVOS.FirstOrDefault(p => p.parentSpecId == spec.parentSpecId);
|
||||
if (!string.IsNullOrEmpty(specProp?.valueGroupId.ParseToString()))
|
||||
jStr += "\"groupId\":" + specProp?.valueGroupId.ParseToString() + ",";
|
||||
if (!string.IsNullOrEmpty(specProp?.vid.ParseToString()))
|
||||
jStr += "\"vid\":" + specProp?.vid.ParseToString() + ",";
|
||||
jStr = jStr.TrimEnd(',');
|
||||
jStr += "},";
|
||||
}
|
||||
jStr = jStr.TrimEnd(',');
|
||||
jStr += " \r\n],".Trim();
|
||||
|
||||
//productSkuWhExtAttrReq
|
||||
jStr += "\"productSkuWhExtAttrReq\":{";
|
||||
jStr += " \"productSkuWeightReq\":{\"value\":" + (weight * 1000) + "},";
|
||||
jStr += " \"productSkuVolumeReq\":{";
|
||||
jStr += " \"len\":" + (len * 10) + ",";
|
||||
jStr += " \"width\":" + (width * 10) + ",";
|
||||
jStr += " \"height\":" + (height * 10);
|
||||
jStr += " }";
|
||||
jStr += "},";
|
||||
|
||||
//productSkuMultiPackReq
|
||||
jStr += "\"productSkuMultiPackReq\":{";
|
||||
jStr += " \"skuClassification\":1,";
|
||||
jStr += " \"numberOfPieces\":1,";
|
||||
jStr += " \"pieceUnitCode\":" + Math.Max(1, sku.productSkuMultiPack.pieceUnitCode.ParseToInt()) + ",";
|
||||
jStr += " \"productSkuNetContentReq\":{";
|
||||
jStr += " },";
|
||||
jStr += " \"individuallyPacked\":-1";
|
||||
jStr += "},";
|
||||
|
||||
//productSkuAccessoriesReq
|
||||
jStr += "\"productSkuAccessoriesReq\":{";
|
||||
jStr += "\"productSkuAccessories\":[";
|
||||
jStr += "]";
|
||||
jStr += "}";
|
||||
|
||||
jStr += " \r\n},".Trim();
|
||||
}
|
||||
jStr = jStr.TrimEnd(',');
|
||||
jStr += " \r\n]".Trim();
|
||||
|
||||
jStr += "\r\n}]";
|
||||
jStr += "\r\n}";
|
||||
|
||||
var jStrObj = JObject.Parse(jStr);
|
||||
jStr = JsonHelper.SerializeObject(jStrObj);
|
||||
|
||||
html = editPriceProductSizeAndNumber(shop, taskUid.ParseToString(), price.productId.ParseToString(), jStr);
|
||||
Thread.Sleep(Randomx.GetId(25, 75));
|
||||
if (html.Contains("\"success\":true"))
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var row in rows)
|
||||
row.Cells["colMsg"].Value = "修改请求成功";
|
||||
}));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (html.Contains("登录过期") || html.Contains("Invalid Login State"))
|
||||
{
|
||||
AdminShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
displayShopStatus(shop);
|
||||
}));
|
||||
}
|
||||
string sErrMsg = BaseRegex.GetStringJson(ref html, "errorMsg").ParseToString();
|
||||
if (string.IsNullOrEmpty(sErrMsg))
|
||||
sErrMsg = BaseRegex.GetStringJson(ref html, "error_msg").ParseToString();
|
||||
if (string.IsNullOrEmpty(sErrMsg))
|
||||
sErrMsg = html;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var row in rows)
|
||||
row.Cells["colMsg"].Value = "修改请求失败 " + sErrMsg;
|
||||
}));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var row in rows)
|
||||
row.Cells["colMsg"].Value = "修改请求失败 " + ex.Message;
|
||||
}));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.statusBar.lblTaskStatus.Text = "批量还原尺寸与数量完成";
|
||||
this.pbLoading.Visible = false;
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 检测是否需要重置尺寸和sku单品数量
|
||||
/// </summary>
|
||||
/// <param name="info"></param>
|
||||
/// <returns></returns>
|
||||
bool checkRestoreSizeAndNumber(TemuCheckPriceInfo info)
|
||||
{
|
||||
//最长边:60 - 100 cm//生成时需转换为mm
|
||||
//次长边:60 - 90 cm//生成时需转换为mm
|
||||
//最短边:50 - 80 cm//生成时需转换为mm
|
||||
//重量:80000 - 99999g //生成时需转换为mg
|
||||
var skc = info.skcList.FirstOrDefault();
|
||||
if (skc.skuList.Any(s => (s.len >= 60 * 10 || s.width >= 60 * 10 || s.height >= 50 * 10) && s.weight >= 80000 * 1000))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public class PriceCheckConfig
|
||||
|
||||
@@ -584,7 +584,10 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
if (this.shop != null && data.Contains("\"success\":true"))
|
||||
{
|
||||
var maskMobile = BaseRegex.GetStringJson(ref data, "maskOwnerMobile");
|
||||
if (shop.LoginName.EndsWith(maskMobile))
|
||||
var maskMobile2 = "||||" + BaseRegex.GetStringJson(ref data, "maskMobile").ParseToString();
|
||||
if (maskMobile2.Contains("*"))
|
||||
maskMobile2 = maskMobile2.Substring(maskMobile2.LastIndexOf("*")).Trim('*');
|
||||
if (shop.LoginName.EndsWith(maskMobile) || shop.LoginName.EndsWith(maskMobile2))
|
||||
{
|
||||
lstShopCompany.Clear();
|
||||
var jObj = JObject.Parse(data);
|
||||
|
||||
@@ -13,6 +13,7 @@ using System.Windows.Forms;
|
||||
using TemuKJD.KJDForms.ProductSelectForms;
|
||||
using TemuKJD.KJDForms.BaseForms;
|
||||
using TemuKJD.KJDForms.ProductThirdSelectForms;
|
||||
using AllBase;
|
||||
|
||||
namespace TemuKJD.KJDForms.ProductForms
|
||||
{
|
||||
@@ -29,6 +30,33 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
public ProductForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
try
|
||||
{
|
||||
tv.SelectedNode = tv.Nodes[0].Nodes[0];
|
||||
tv.ExpandGroup(tv.Nodes[0].Name);
|
||||
|
||||
List<string> hideName = new List<string>() { "设置进货价" };
|
||||
|
||||
if (BaseClass.GroupId == 3)
|
||||
{
|
||||
//hideName.Remove("设置进货价");
|
||||
if (BaseClass.SaLevel == 1)
|
||||
{
|
||||
}
|
||||
if (BaseClass.SaLevel == 2)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
foreach (var item in hideName)
|
||||
{
|
||||
var n = tv.Nodes[0].Nodes.Find(item, true);
|
||||
if (n.Count() > 0)
|
||||
n[0].Remove();
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
private void tv_AfterSelect(object sender, TreeViewEventArgs e)
|
||||
|
||||
+407
-5
@@ -39,6 +39,26 @@
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DbProductSelectListManageForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.label21 = new System.Windows.Forms.Label();
|
||||
this.numUnitNum2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numUnitNum1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.numWeight2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numWeight1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.numHeight2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numHeight1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label18 = new System.Windows.Forms.Label();
|
||||
this.numWidth2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numWidth1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numLen2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numLen1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label15 = new System.Windows.Forms.Label();
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.numAddPrice = new System.Windows.Forms.NumericUpDown();
|
||||
this.label16 = new System.Windows.Forms.Label();
|
||||
this.numAddPriceTimes = new System.Windows.Forms.NumericUpDown();
|
||||
this.chkChangeSizeAndNumber = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnStop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnExport = new DevComponents.DotNetBar.PanelEx();
|
||||
this.lblCustomImgNum = new System.Windows.Forms.Label();
|
||||
@@ -90,6 +110,7 @@
|
||||
this.chkUploadProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnSetSubSa = new TemuKJD.UserControls.ButtonEx();
|
||||
this.btnAdd = new TemuKJD.UserControls.ButtonEx();
|
||||
this.chkAddPrice = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
this.dgvSelectProduct = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
@@ -125,6 +146,18 @@
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numUnitNum2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numUnitNum1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWeight2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWeight1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numHeight2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numHeight1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWidth2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWidth1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numLen2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numLen1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddPrice)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddPriceTimes)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numSeconds)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.flowLayoutPanel1.SuspendLayout();
|
||||
@@ -148,6 +181,26 @@
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label21);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numUnitNum2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numUnitNum1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label20);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numWeight2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numWeight1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label19);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numHeight2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numHeight1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label18);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numWidth2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numWidth1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numLen2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numLen1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label15);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label17);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numAddPrice);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label16);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numAddPriceTimes);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.chkChangeSizeAndNumber);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnStop);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnExport);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.lblCustomImgNum);
|
||||
@@ -160,6 +213,7 @@
|
||||
this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSetSubSa);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnAdd);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.chkAddPrice);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
@@ -168,6 +222,305 @@
|
||||
this.splitContainer1.SplitterDistance = 100;
|
||||
this.splitContainer1.TabIndex = 2;
|
||||
//
|
||||
// label21
|
||||
//
|
||||
this.label21.AutoSize = true;
|
||||
this.label21.Location = new System.Drawing.Point(621, 75);
|
||||
this.label21.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label21.Name = "label21";
|
||||
this.label21.Size = new System.Drawing.Size(32, 17);
|
||||
this.label21.TabIndex = 588;
|
||||
this.label21.Text = "数量";
|
||||
//
|
||||
// numUnitNum2
|
||||
//
|
||||
this.numUnitNum2.Location = new System.Drawing.Point(696, 72);
|
||||
this.numUnitNum2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numUnitNum2.Maximum = new decimal(new int[] {
|
||||
600,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numUnitNum2.Name = "numUnitNum2";
|
||||
this.numUnitNum2.Size = new System.Drawing.Size(42, 23);
|
||||
this.numUnitNum2.TabIndex = 587;
|
||||
this.numUnitNum2.Value = new decimal(new int[] {
|
||||
600,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// numUnitNum1
|
||||
//
|
||||
this.numUnitNum1.Location = new System.Drawing.Point(653, 72);
|
||||
this.numUnitNum1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numUnitNum1.Maximum = new decimal(new int[] {
|
||||
600,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numUnitNum1.Name = "numUnitNum1";
|
||||
this.numUnitNum1.Size = new System.Drawing.Size(42, 23);
|
||||
this.numUnitNum1.TabIndex = 586;
|
||||
this.numUnitNum1.Value = new decimal(new int[] {
|
||||
450,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(487, 75);
|
||||
this.label20.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(20, 17);
|
||||
this.label20.TabIndex = 585;
|
||||
this.label20.Text = "重";
|
||||
//
|
||||
// numWeight2
|
||||
//
|
||||
this.numWeight2.Location = new System.Drawing.Point(563, 72);
|
||||
this.numWeight2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numWeight2.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numWeight2.Name = "numWeight2";
|
||||
this.numWeight2.Size = new System.Drawing.Size(55, 23);
|
||||
this.numWeight2.TabIndex = 584;
|
||||
this.numWeight2.Value = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// numWeight1
|
||||
//
|
||||
this.numWeight1.Location = new System.Drawing.Point(507, 72);
|
||||
this.numWeight1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numWeight1.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numWeight1.Name = "numWeight1";
|
||||
this.numWeight1.Size = new System.Drawing.Size(55, 23);
|
||||
this.numWeight1.TabIndex = 583;
|
||||
this.numWeight1.Value = new decimal(new int[] {
|
||||
80000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.Location = new System.Drawing.Point(379, 75);
|
||||
this.label19.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(20, 17);
|
||||
this.label19.TabIndex = 570;
|
||||
this.label19.Text = "高";
|
||||
//
|
||||
// numHeight2
|
||||
//
|
||||
this.numHeight2.Location = new System.Drawing.Point(442, 72);
|
||||
this.numHeight2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numHeight2.Maximum = new decimal(new int[] {
|
||||
299,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numHeight2.Name = "numHeight2";
|
||||
this.numHeight2.Size = new System.Drawing.Size(42, 23);
|
||||
this.numHeight2.TabIndex = 569;
|
||||
this.numHeight2.Value = new decimal(new int[] {
|
||||
100,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// numHeight1
|
||||
//
|
||||
this.numHeight1.Location = new System.Drawing.Point(399, 72);
|
||||
this.numHeight1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numHeight1.Maximum = new decimal(new int[] {
|
||||
299,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numHeight1.Name = "numHeight1";
|
||||
this.numHeight1.Size = new System.Drawing.Size(42, 23);
|
||||
this.numHeight1.TabIndex = 568;
|
||||
this.numHeight1.Value = new decimal(new int[] {
|
||||
50,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// label18
|
||||
//
|
||||
this.label18.AutoSize = true;
|
||||
this.label18.Location = new System.Drawing.Point(271, 75);
|
||||
this.label18.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(20, 17);
|
||||
this.label18.TabIndex = 567;
|
||||
this.label18.Text = "宽";
|
||||
//
|
||||
// numWidth2
|
||||
//
|
||||
this.numWidth2.Location = new System.Drawing.Point(334, 72);
|
||||
this.numWidth2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numWidth2.Maximum = new decimal(new int[] {
|
||||
299,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numWidth2.Name = "numWidth2";
|
||||
this.numWidth2.Size = new System.Drawing.Size(42, 23);
|
||||
this.numWidth2.TabIndex = 566;
|
||||
this.numWidth2.Value = new decimal(new int[] {
|
||||
100,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// numWidth1
|
||||
//
|
||||
this.numWidth1.Location = new System.Drawing.Point(291, 72);
|
||||
this.numWidth1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numWidth1.Maximum = new decimal(new int[] {
|
||||
299,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numWidth1.Name = "numWidth1";
|
||||
this.numWidth1.Size = new System.Drawing.Size(42, 23);
|
||||
this.numWidth1.TabIndex = 565;
|
||||
this.numWidth1.Value = new decimal(new int[] {
|
||||
55,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// numLen2
|
||||
//
|
||||
this.numLen2.Location = new System.Drawing.Point(226, 72);
|
||||
this.numLen2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numLen2.Maximum = new decimal(new int[] {
|
||||
299,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numLen2.Name = "numLen2";
|
||||
this.numLen2.Size = new System.Drawing.Size(42, 23);
|
||||
this.numLen2.TabIndex = 564;
|
||||
this.numLen2.Value = new decimal(new int[] {
|
||||
100,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// numLen1
|
||||
//
|
||||
this.numLen1.Location = new System.Drawing.Point(183, 72);
|
||||
this.numLen1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numLen1.Maximum = new decimal(new int[] {
|
||||
299,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numLen1.Name = "numLen1";
|
||||
this.numLen1.Size = new System.Drawing.Size(42, 23);
|
||||
this.numLen1.TabIndex = 563;
|
||||
this.numLen1.Value = new decimal(new int[] {
|
||||
60,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// label15
|
||||
//
|
||||
this.label15.AutoSize = true;
|
||||
this.label15.Location = new System.Drawing.Point(164, 75);
|
||||
this.label15.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label15.Name = "label15";
|
||||
this.label15.Size = new System.Drawing.Size(20, 17);
|
||||
this.label15.TabIndex = 562;
|
||||
this.label15.Text = "长";
|
||||
//
|
||||
// label17
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(933, 75);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(20, 17);
|
||||
this.label17.TabIndex = 549;
|
||||
this.label17.Text = "元";
|
||||
//
|
||||
// numAddPrice
|
||||
//
|
||||
this.numAddPrice.DecimalPlaces = 2;
|
||||
this.numAddPrice.Increment = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
131072});
|
||||
this.numAddPrice.Location = new System.Drawing.Point(889, 72);
|
||||
this.numAddPrice.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numAddPrice.Name = "numAddPrice";
|
||||
this.numAddPrice.Size = new System.Drawing.Size(44, 23);
|
||||
this.numAddPrice.TabIndex = 548;
|
||||
this.numAddPrice.Value = new decimal(new int[] {
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// label16
|
||||
//
|
||||
this.label16.AutoSize = true;
|
||||
this.label16.Location = new System.Drawing.Point(843, 75);
|
||||
this.label16.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new System.Drawing.Size(48, 17);
|
||||
this.label16.TabIndex = 547;
|
||||
this.label16.Text = "倍 再加";
|
||||
//
|
||||
// numAddPriceTimes
|
||||
//
|
||||
this.numAddPriceTimes.DecimalPlaces = 2;
|
||||
this.numAddPriceTimes.Increment = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
131072});
|
||||
this.numAddPriceTimes.Location = new System.Drawing.Point(799, 72);
|
||||
this.numAddPriceTimes.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numAddPriceTimes.Name = "numAddPriceTimes";
|
||||
this.numAddPriceTimes.Size = new System.Drawing.Size(44, 23);
|
||||
this.numAddPriceTimes.TabIndex = 533;
|
||||
this.numAddPriceTimes.Value = new decimal(new int[] {
|
||||
20,
|
||||
0,
|
||||
0,
|
||||
65536});
|
||||
//
|
||||
// chkChangeSizeAndNumber
|
||||
//
|
||||
this.chkChangeSizeAndNumber.AutoSize = true;
|
||||
this.chkChangeSizeAndNumber.Location = new System.Drawing.Point(6, 73);
|
||||
this.chkChangeSizeAndNumber.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.chkChangeSizeAndNumber.Name = "chkChangeSizeAndNumber";
|
||||
this.chkChangeSizeAndNumber.Size = new System.Drawing.Size(159, 21);
|
||||
this.chkChangeSizeAndNumber.TabIndex = 520;
|
||||
this.chkChangeSizeAndNumber.Text = "修改包装尺寸和单品数量";
|
||||
this.chkChangeSizeAndNumber.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnStop
|
||||
//
|
||||
this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -223,12 +576,13 @@
|
||||
// lblCustomImgNum
|
||||
//
|
||||
this.lblCustomImgNum.AutoSize = true;
|
||||
this.lblCustomImgNum.Location = new System.Drawing.Point(349, 74);
|
||||
this.lblCustomImgNum.Location = new System.Drawing.Point(1442, 75);
|
||||
this.lblCustomImgNum.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblCustomImgNum.Name = "lblCustomImgNum";
|
||||
this.lblCustomImgNum.Size = new System.Drawing.Size(95, 17);
|
||||
this.lblCustomImgNum.TabIndex = 484;
|
||||
this.lblCustomImgNum.Text = "自定义图片 0 张";
|
||||
this.lblCustomImgNum.Visible = false;
|
||||
//
|
||||
// btnCustomImg
|
||||
//
|
||||
@@ -236,7 +590,7 @@
|
||||
this.btnCustomImg.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnCustomImg.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnCustomImg.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnCustomImg.Location = new System.Drawing.Point(242, 69);
|
||||
this.btnCustomImg.Location = new System.Drawing.Point(1335, 70);
|
||||
this.btnCustomImg.Name = "btnCustomImg";
|
||||
this.btnCustomImg.Size = new System.Drawing.Size(106, 26);
|
||||
this.btnCustomImg.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -252,21 +606,23 @@
|
||||
this.btnCustomImg.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnCustomImg.TabIndex = 483;
|
||||
this.btnCustomImg.Text = "设置自定义图片";
|
||||
this.btnCustomImg.Visible = false;
|
||||
this.btnCustomImg.Click += new System.EventHandler(this.btnCustomImg_Click);
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(183, 74);
|
||||
this.label14.Location = new System.Drawing.Point(1276, 75);
|
||||
this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(56, 17);
|
||||
this.label14.TabIndex = 479;
|
||||
this.label14.Text = "秒后还原";
|
||||
this.label14.Visible = false;
|
||||
//
|
||||
// numSeconds
|
||||
//
|
||||
this.numSeconds.Location = new System.Drawing.Point(137, 71);
|
||||
this.numSeconds.Location = new System.Drawing.Point(1230, 72);
|
||||
this.numSeconds.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numSeconds.Maximum = new decimal(new int[] {
|
||||
1000,
|
||||
@@ -281,16 +637,18 @@
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numSeconds.Visible = false;
|
||||
//
|
||||
// chkCustomPic
|
||||
//
|
||||
this.chkCustomPic.Location = new System.Drawing.Point(8, 72);
|
||||
this.chkCustomPic.Location = new System.Drawing.Point(1101, 73);
|
||||
this.chkCustomPic.Margin = new System.Windows.Forms.Padding(2, 0, 0, 0);
|
||||
this.chkCustomPic.Name = "chkCustomPic";
|
||||
this.chkCustomPic.Size = new System.Drawing.Size(135, 21);
|
||||
this.chkCustomPic.TabIndex = 477;
|
||||
this.chkCustomPic.Text = "使用自定义图片并在";
|
||||
this.chkCustomPic.UseVisualStyleBackColor = true;
|
||||
this.chkCustomPic.Visible = false;
|
||||
//
|
||||
// btnDel
|
||||
//
|
||||
@@ -918,6 +1276,17 @@
|
||||
this.btnAdd.UseVisualStyleBackColor = false;
|
||||
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
||||
//
|
||||
// chkAddPrice
|
||||
//
|
||||
this.chkAddPrice.AutoSize = true;
|
||||
this.chkAddPrice.Location = new System.Drawing.Point(755, 73);
|
||||
this.chkAddPrice.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.chkAddPrice.Name = "chkAddPrice";
|
||||
this.chkAddPrice.Size = new System.Drawing.Size(51, 21);
|
||||
this.chkAddPrice.TabIndex = 550;
|
||||
this.chkAddPrice.Text = "加价";
|
||||
this.chkAddPrice.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// splitContainer2
|
||||
//
|
||||
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
@@ -1259,6 +1628,18 @@
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.numUnitNum2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numUnitNum1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWeight2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWeight1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numHeight2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numHeight1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWidth2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWidth1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numLen2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numLen1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddPrice)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddPriceTimes)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numSeconds)).EndInit();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
@@ -1360,5 +1741,26 @@
|
||||
private DevComponents.DotNetBar.PanelEx btnCustomImg;
|
||||
private DevComponents.DotNetBar.PanelEx btnExport;
|
||||
private DevComponents.DotNetBar.PanelEx btnStop;
|
||||
private UserComponent.UcCheckBox chkChangeSizeAndNumber;
|
||||
private System.Windows.Forms.NumericUpDown numAddPriceTimes;
|
||||
private System.Windows.Forms.Label label17;
|
||||
private System.Windows.Forms.NumericUpDown numAddPrice;
|
||||
private System.Windows.Forms.Label label16;
|
||||
private UserComponent.UcCheckBox chkAddPrice;
|
||||
private System.Windows.Forms.Label label19;
|
||||
private System.Windows.Forms.NumericUpDown numHeight2;
|
||||
private System.Windows.Forms.NumericUpDown numHeight1;
|
||||
private System.Windows.Forms.Label label18;
|
||||
private System.Windows.Forms.NumericUpDown numWidth2;
|
||||
private System.Windows.Forms.NumericUpDown numWidth1;
|
||||
private System.Windows.Forms.NumericUpDown numLen2;
|
||||
private System.Windows.Forms.NumericUpDown numLen1;
|
||||
private System.Windows.Forms.Label label15;
|
||||
private System.Windows.Forms.Label label21;
|
||||
private System.Windows.Forms.NumericUpDown numUnitNum2;
|
||||
private System.Windows.Forms.NumericUpDown numUnitNum1;
|
||||
private System.Windows.Forms.Label label20;
|
||||
private System.Windows.Forms.NumericUpDown numWeight2;
|
||||
private System.Windows.Forms.NumericUpDown numWeight1;
|
||||
}
|
||||
}
|
||||
@@ -1229,6 +1229,18 @@ namespace TemuKJD.KJDForms.ProductSelectForms
|
||||
}
|
||||
#endregion
|
||||
|
||||
int len = 30, width = 20, height = 10; // 300, 200, 100
|
||||
int weight = 500; //500000
|
||||
int numberOfPieces = 1; // 单品数量
|
||||
if (chkChangeSizeAndNumber.Checked) // 修改包装尺寸和单品数量
|
||||
{
|
||||
len = Randomx.GetId(numLen1.Value.ParseToInt(), numLen2.Value.ParseToInt()+1);
|
||||
width = Randomx.GetId(numWidth1.Value.ParseToInt(), Math.Min(len, numWidth2.Value.ParseToInt() + 1));
|
||||
height = Randomx.GetId(numHeight1.Value.ParseToInt(), Math.Min(width, numHeight2.Value.ParseToInt() + 1));
|
||||
weight = Randomx.GetId(numWeight1.Value.ParseToInt(), numWeight2.Value.ParseToInt() + 1);
|
||||
numberOfPieces = Randomx.GetId(numUnitNum1.Value.ParseToInt(), numUnitNum2.Value.ParseToInt());
|
||||
}
|
||||
|
||||
int skuCount = 0;
|
||||
//foreach (var skuInfo in skcInfo.productSkuList)
|
||||
List<TemuProductSku> skuListTmp = new List<TemuProductSku>();
|
||||
@@ -1270,12 +1282,36 @@ namespace TemuKJD.KJDForms.ProductSelectForms
|
||||
skuItem.productSkuId = 0;
|
||||
skuItem.productSkuMultiPackReq = new ProductSkuMultiPackReq()
|
||||
{
|
||||
skuClassification = skuInfo.productSkuMultiPack.skuClassification,
|
||||
numberOfPieces = skuInfo.productSkuMultiPack.numberOfPieces,
|
||||
pieceUnitCode = skuInfo.productSkuMultiPack.pieceUnitCode,
|
||||
productSkuNetContentReq = JsonHelper.DeserializeJsonToObject<ProductSkuNetContentReq>(
|
||||
JsonHelper.SerializeObject(skuInfo.productSkuMultiPack.productSkuNetContent)),
|
||||
skuClassification = skuInfo.productSkuMultiPack.skuClassification,
|
||||
};
|
||||
if (skuInfo.productSkuMultiPack.individuallyPacked != null)
|
||||
{
|
||||
skuItem.productSkuMultiPackReq = new ProductSkuMultiPackReq2()
|
||||
{
|
||||
skuClassification = skuInfo.productSkuMultiPack.skuClassification,
|
||||
numberOfPieces = skuInfo.productSkuMultiPack.numberOfPieces,
|
||||
pieceUnitCode = skuInfo.productSkuMultiPack.pieceUnitCode,
|
||||
productSkuNetContentReq = JsonHelper.DeserializeJsonToObject<ProductSkuNetContentReq>(
|
||||
JsonHelper.SerializeObject(skuInfo.productSkuMultiPack.productSkuNetContent)),
|
||||
individuallyPacked = skuInfo.productSkuMultiPack.individuallyPacked.ParseToInt(),
|
||||
};
|
||||
}
|
||||
if (chkChangeSizeAndNumber.Checked)
|
||||
{
|
||||
skuItem.productSkuMultiPackReq = new ProductSkuMultiPackReq2()
|
||||
{
|
||||
skuClassification = 2,
|
||||
numberOfPieces = numberOfPieces,
|
||||
pieceUnitCode = skuInfo.productSkuMultiPack.pieceUnitCode,
|
||||
productSkuNetContentReq = JsonHelper.DeserializeJsonToObject<ProductSkuNetContentReq>(
|
||||
JsonHelper.SerializeObject(skuInfo.productSkuMultiPack.productSkuNetContent)),
|
||||
individuallyPacked = 1,
|
||||
};
|
||||
}
|
||||
skuItem.productSkuNonAuditExtAttrReq = JsonHelper.DeserializeJsonToObject<ProductSkuNonAuditExtAttrReq>(
|
||||
JsonHelper.SerializeObject(skuInfo.productSkuNonAuditExtAttr));
|
||||
if (skuItem.productSkuNonAuditExtAttrReq == null)
|
||||
@@ -1342,6 +1378,13 @@ namespace TemuKJD.KJDForms.ProductSelectForms
|
||||
productSkuWeightReq = JsonHelper.DeserializeJsonToObject<ProductSkuWeightReq>(
|
||||
JsonHelper.SerializeObject(skuInfo.productSkuWhExtAttr.productSkuWeight)),
|
||||
};
|
||||
if (chkChangeSizeAndNumber.Checked) // 修改包装尺寸和单品数量
|
||||
{
|
||||
skuItem.productSkuWhExtAttrReq.productSkuVolumeReq.len = len * 10;
|
||||
skuItem.productSkuWhExtAttrReq.productSkuVolumeReq.width = width * 10;
|
||||
skuItem.productSkuWhExtAttrReq.productSkuVolumeReq.height = height * 10;
|
||||
skuItem.productSkuWhExtAttrReq.productSkuWeightReq.value = weight * 1000;
|
||||
}
|
||||
skuItem.supplierPrice = skuInfo.supplierPrice;
|
||||
// 按照批号原价取商品原价和加价规则并修改商品上传价格
|
||||
if (chkOriginalPriceMarkUp.Checked)
|
||||
@@ -1350,6 +1393,10 @@ namespace TemuKJD.KJDForms.ProductSelectForms
|
||||
if (dbPrice != null)
|
||||
skuItem.supplierPrice = dbPrice.original_price * dbPrice.markup_times + dbPrice.extra_price;
|
||||
}
|
||||
if (chkAddPrice.Checked) //自定义加价
|
||||
{
|
||||
skuItem.supplierPrice = (skuInfo.supplierPrice * numAddPriceTimes.Value + numAddPrice.Value * 100).ParseToInt();
|
||||
}
|
||||
|
||||
#region 使用随机sku价格上传(第一个sku价格不变,此处有bug,平台最后的sku排列不是按照提交上去的顺序排的)
|
||||
if (skuCount != 1 && chkSkuRandomPrice.Checked)
|
||||
|
||||
@@ -75,7 +75,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
|
||||
BaseMsgForm.ShowInfo(text, "", FormLevel.LARGE);
|
||||
|
||||
OpenFileDialog openFileDialog = new OpenFileDialog();
|
||||
openFileDialog.Filter = "文本文件(*.txt)|*.txt|所有文件 (*.*)|*.*";
|
||||
openFileDialog.Filter = "文本文件(*.txt)|*.txt|csv文件(*.csv)|*.csv|所有文件 (*.*)|*.*";
|
||||
openFileDialog.RestoreDirectory = true;
|
||||
openFileDialog.FilterIndex = 1;
|
||||
if (openFileDialog.ShowDialog() == DialogResult.OK)
|
||||
@@ -84,8 +84,8 @@ namespace TemuKJD.KJDForms.ProductSelectForms
|
||||
this.pbLoading.Enabled = true;
|
||||
Task.Run(() =>
|
||||
{
|
||||
using (StreamReader sr = new StreamReader(openFileDialog.FileName, System.Text.Encoding.UTF8))
|
||||
//using (StreamReader sr = new StreamReader(openFileDialog.FileName, Encoding.GetEncoding("gb2312")))
|
||||
//using (StreamReader sr = new StreamReader(openFileDialog.FileName, System.Text.Encoding.UTF8))
|
||||
using (StreamReader sr = new StreamReader(openFileDialog.FileName, Encoding.GetEncoding("gb2312")))
|
||||
{
|
||||
string fileName = openFileDialog.FileName;
|
||||
string importStr = sr.ReadToEnd().Trim();
|
||||
@@ -145,7 +145,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.statusBar.lblTaskStatus.Text = "导入结束";
|
||||
this.statusBar.lblTaskStatus.Text = "加价信息导入结束";
|
||||
BaseMsgForm.ShowInfo(resultMsg, "", FormLevel.LARGE);
|
||||
}));
|
||||
}
|
||||
|
||||
+403
-5
@@ -39,6 +39,27 @@
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductThirdSelectListManageForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.label21 = new System.Windows.Forms.Label();
|
||||
this.numUnitNum2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numUnitNum1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.numWeight2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numWeight1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.numHeight2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numHeight1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label18 = new System.Windows.Forms.Label();
|
||||
this.numWidth2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numWidth1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numLen2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numLen1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label15 = new System.Windows.Forms.Label();
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.numAddPrice = new System.Windows.Forms.NumericUpDown();
|
||||
this.label16 = new System.Windows.Forms.Label();
|
||||
this.numAddPriceTimes = new System.Windows.Forms.NumericUpDown();
|
||||
this.chkChangeSizeAndNumber = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkAddPrice = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnStop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnExport = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnDel = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -120,6 +141,18 @@
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numUnitNum2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numUnitNum1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWeight2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWeight1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numHeight2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numHeight1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWidth2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWidth1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numLen2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numLen1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddPrice)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddPriceTimes)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbFissionSetting)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.flowLayoutPanel1.SuspendLayout();
|
||||
@@ -143,6 +176,27 @@
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label21);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numUnitNum2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numUnitNum1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label20);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numWeight2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numWeight1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label19);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numHeight2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numHeight1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label18);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numWidth2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numWidth1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numLen2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numLen1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label15);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label17);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numAddPrice);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label16);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numAddPriceTimes);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.chkChangeSizeAndNumber);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.chkAddPrice);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnStop);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnExport);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnDel);
|
||||
@@ -156,9 +210,319 @@
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1558, 638);
|
||||
this.splitContainer1.SplitterDistance = 70;
|
||||
this.splitContainer1.SplitterDistance = 100;
|
||||
this.splitContainer1.TabIndex = 2;
|
||||
//
|
||||
// label21
|
||||
//
|
||||
this.label21.AutoSize = true;
|
||||
this.label21.Location = new System.Drawing.Point(621, 75);
|
||||
this.label21.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label21.Name = "label21";
|
||||
this.label21.Size = new System.Drawing.Size(32, 17);
|
||||
this.label21.TabIndex = 630;
|
||||
this.label21.Text = "数量";
|
||||
//
|
||||
// numUnitNum2
|
||||
//
|
||||
this.numUnitNum2.Location = new System.Drawing.Point(696, 72);
|
||||
this.numUnitNum2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numUnitNum2.Maximum = new decimal(new int[] {
|
||||
600,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numUnitNum2.Name = "numUnitNum2";
|
||||
this.numUnitNum2.Size = new System.Drawing.Size(42, 23);
|
||||
this.numUnitNum2.TabIndex = 629;
|
||||
this.numUnitNum2.Value = new decimal(new int[] {
|
||||
600,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// numUnitNum1
|
||||
//
|
||||
this.numUnitNum1.Location = new System.Drawing.Point(653, 72);
|
||||
this.numUnitNum1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numUnitNum1.Maximum = new decimal(new int[] {
|
||||
600,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numUnitNum1.Name = "numUnitNum1";
|
||||
this.numUnitNum1.Size = new System.Drawing.Size(42, 23);
|
||||
this.numUnitNum1.TabIndex = 628;
|
||||
this.numUnitNum1.Value = new decimal(new int[] {
|
||||
450,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(487, 75);
|
||||
this.label20.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(20, 17);
|
||||
this.label20.TabIndex = 627;
|
||||
this.label20.Text = "重";
|
||||
//
|
||||
// numWeight2
|
||||
//
|
||||
this.numWeight2.Location = new System.Drawing.Point(563, 72);
|
||||
this.numWeight2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numWeight2.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numWeight2.Name = "numWeight2";
|
||||
this.numWeight2.Size = new System.Drawing.Size(55, 23);
|
||||
this.numWeight2.TabIndex = 626;
|
||||
this.numWeight2.Value = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// numWeight1
|
||||
//
|
||||
this.numWeight1.Location = new System.Drawing.Point(507, 72);
|
||||
this.numWeight1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numWeight1.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numWeight1.Name = "numWeight1";
|
||||
this.numWeight1.Size = new System.Drawing.Size(55, 23);
|
||||
this.numWeight1.TabIndex = 625;
|
||||
this.numWeight1.Value = new decimal(new int[] {
|
||||
80000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.Location = new System.Drawing.Point(379, 75);
|
||||
this.label19.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(20, 17);
|
||||
this.label19.TabIndex = 624;
|
||||
this.label19.Text = "高";
|
||||
//
|
||||
// numHeight2
|
||||
//
|
||||
this.numHeight2.Location = new System.Drawing.Point(442, 72);
|
||||
this.numHeight2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numHeight2.Maximum = new decimal(new int[] {
|
||||
299,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numHeight2.Name = "numHeight2";
|
||||
this.numHeight2.Size = new System.Drawing.Size(42, 23);
|
||||
this.numHeight2.TabIndex = 623;
|
||||
this.numHeight2.Value = new decimal(new int[] {
|
||||
100,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// numHeight1
|
||||
//
|
||||
this.numHeight1.Location = new System.Drawing.Point(399, 72);
|
||||
this.numHeight1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numHeight1.Maximum = new decimal(new int[] {
|
||||
299,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numHeight1.Name = "numHeight1";
|
||||
this.numHeight1.Size = new System.Drawing.Size(42, 23);
|
||||
this.numHeight1.TabIndex = 622;
|
||||
this.numHeight1.Value = new decimal(new int[] {
|
||||
50,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// label18
|
||||
//
|
||||
this.label18.AutoSize = true;
|
||||
this.label18.Location = new System.Drawing.Point(271, 75);
|
||||
this.label18.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(20, 17);
|
||||
this.label18.TabIndex = 621;
|
||||
this.label18.Text = "宽";
|
||||
//
|
||||
// numWidth2
|
||||
//
|
||||
this.numWidth2.Location = new System.Drawing.Point(334, 72);
|
||||
this.numWidth2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numWidth2.Maximum = new decimal(new int[] {
|
||||
299,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numWidth2.Name = "numWidth2";
|
||||
this.numWidth2.Size = new System.Drawing.Size(42, 23);
|
||||
this.numWidth2.TabIndex = 620;
|
||||
this.numWidth2.Value = new decimal(new int[] {
|
||||
100,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// numWidth1
|
||||
//
|
||||
this.numWidth1.Location = new System.Drawing.Point(291, 72);
|
||||
this.numWidth1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numWidth1.Maximum = new decimal(new int[] {
|
||||
299,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numWidth1.Name = "numWidth1";
|
||||
this.numWidth1.Size = new System.Drawing.Size(42, 23);
|
||||
this.numWidth1.TabIndex = 619;
|
||||
this.numWidth1.Value = new decimal(new int[] {
|
||||
55,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// numLen2
|
||||
//
|
||||
this.numLen2.Location = new System.Drawing.Point(226, 72);
|
||||
this.numLen2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numLen2.Maximum = new decimal(new int[] {
|
||||
299,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numLen2.Name = "numLen2";
|
||||
this.numLen2.Size = new System.Drawing.Size(42, 23);
|
||||
this.numLen2.TabIndex = 618;
|
||||
this.numLen2.Value = new decimal(new int[] {
|
||||
100,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// numLen1
|
||||
//
|
||||
this.numLen1.Location = new System.Drawing.Point(183, 72);
|
||||
this.numLen1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numLen1.Maximum = new decimal(new int[] {
|
||||
299,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numLen1.Name = "numLen1";
|
||||
this.numLen1.Size = new System.Drawing.Size(42, 23);
|
||||
this.numLen1.TabIndex = 617;
|
||||
this.numLen1.Value = new decimal(new int[] {
|
||||
60,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// label15
|
||||
//
|
||||
this.label15.AutoSize = true;
|
||||
this.label15.Location = new System.Drawing.Point(164, 75);
|
||||
this.label15.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label15.Name = "label15";
|
||||
this.label15.Size = new System.Drawing.Size(20, 17);
|
||||
this.label15.TabIndex = 616;
|
||||
this.label15.Text = "长";
|
||||
//
|
||||
// label17
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(933, 75);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(20, 17);
|
||||
this.label17.TabIndex = 614;
|
||||
this.label17.Text = "元";
|
||||
//
|
||||
// numAddPrice
|
||||
//
|
||||
this.numAddPrice.DecimalPlaces = 2;
|
||||
this.numAddPrice.Increment = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
131072});
|
||||
this.numAddPrice.Location = new System.Drawing.Point(889, 72);
|
||||
this.numAddPrice.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numAddPrice.Name = "numAddPrice";
|
||||
this.numAddPrice.Size = new System.Drawing.Size(44, 23);
|
||||
this.numAddPrice.TabIndex = 613;
|
||||
this.numAddPrice.Value = new decimal(new int[] {
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// label16
|
||||
//
|
||||
this.label16.AutoSize = true;
|
||||
this.label16.Location = new System.Drawing.Point(843, 75);
|
||||
this.label16.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new System.Drawing.Size(48, 17);
|
||||
this.label16.TabIndex = 612;
|
||||
this.label16.Text = "倍 再加";
|
||||
//
|
||||
// numAddPriceTimes
|
||||
//
|
||||
this.numAddPriceTimes.DecimalPlaces = 2;
|
||||
this.numAddPriceTimes.Increment = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
131072});
|
||||
this.numAddPriceTimes.Location = new System.Drawing.Point(799, 72);
|
||||
this.numAddPriceTimes.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numAddPriceTimes.Name = "numAddPriceTimes";
|
||||
this.numAddPriceTimes.Size = new System.Drawing.Size(44, 23);
|
||||
this.numAddPriceTimes.TabIndex = 611;
|
||||
this.numAddPriceTimes.Value = new decimal(new int[] {
|
||||
20,
|
||||
0,
|
||||
0,
|
||||
65536});
|
||||
//
|
||||
// chkChangeSizeAndNumber
|
||||
//
|
||||
this.chkChangeSizeAndNumber.AutoSize = true;
|
||||
this.chkChangeSizeAndNumber.Location = new System.Drawing.Point(6, 73);
|
||||
this.chkChangeSizeAndNumber.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.chkChangeSizeAndNumber.Name = "chkChangeSizeAndNumber";
|
||||
this.chkChangeSizeAndNumber.Size = new System.Drawing.Size(159, 21);
|
||||
this.chkChangeSizeAndNumber.TabIndex = 610;
|
||||
this.chkChangeSizeAndNumber.Text = "修改包装尺寸和单品数量";
|
||||
this.chkChangeSizeAndNumber.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkAddPrice
|
||||
//
|
||||
this.chkAddPrice.AutoSize = true;
|
||||
this.chkAddPrice.Location = new System.Drawing.Point(755, 73);
|
||||
this.chkAddPrice.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.chkAddPrice.Name = "chkAddPrice";
|
||||
this.chkAddPrice.Size = new System.Drawing.Size(51, 21);
|
||||
this.chkAddPrice.TabIndex = 615;
|
||||
this.chkAddPrice.Text = "加价";
|
||||
this.chkAddPrice.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnStop
|
||||
//
|
||||
this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -850,15 +1214,15 @@
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1558, 564);
|
||||
this.splitContainer2.SplitterDistance = 535;
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1558, 534);
|
||||
this.splitContainer2.SplitterDistance = 505;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// pbLoading
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(754, 242);
|
||||
this.pbLoading.Location = new System.Drawing.Point(754, 227);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
@@ -915,7 +1279,7 @@
|
||||
this.dgvSelectProduct.ReadOnly = true;
|
||||
this.dgvSelectProduct.RowHeadersWidth = 40;
|
||||
this.dgvSelectProduct.RowTemplate.Height = 23;
|
||||
this.dgvSelectProduct.Size = new System.Drawing.Size(1550, 535);
|
||||
this.dgvSelectProduct.Size = new System.Drawing.Size(1550, 505);
|
||||
this.dgvSelectProduct.TabIndex = 190;
|
||||
this.dgvSelectProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectProduct_CellContentClick);
|
||||
this.dgvSelectProduct.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvSelectProduct_Scroll);
|
||||
@@ -1172,9 +1536,22 @@
|
||||
this.VisibleChanged += new System.EventHandler(this.ProductThirdSelectListManageForm_VisibleChanged);
|
||||
this.Controls.SetChildIndex(this.splitContainer1, 0);
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel1.PerformLayout();
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.numUnitNum2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numUnitNum1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWeight2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWeight1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numHeight2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numHeight1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWidth2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numWidth1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numLen2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numLen1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddPrice)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddPriceTimes)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbFissionSetting)).EndInit();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
@@ -1271,5 +1648,26 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colOpResult;
|
||||
private DevComponents.DotNetBar.PanelEx btnExport;
|
||||
private DevComponents.DotNetBar.PanelEx btnStop;
|
||||
private System.Windows.Forms.Label label21;
|
||||
private System.Windows.Forms.NumericUpDown numUnitNum2;
|
||||
private System.Windows.Forms.NumericUpDown numUnitNum1;
|
||||
private System.Windows.Forms.Label label20;
|
||||
private System.Windows.Forms.NumericUpDown numWeight2;
|
||||
private System.Windows.Forms.NumericUpDown numWeight1;
|
||||
private System.Windows.Forms.Label label19;
|
||||
private System.Windows.Forms.NumericUpDown numHeight2;
|
||||
private System.Windows.Forms.NumericUpDown numHeight1;
|
||||
private System.Windows.Forms.Label label18;
|
||||
private System.Windows.Forms.NumericUpDown numWidth2;
|
||||
private System.Windows.Forms.NumericUpDown numWidth1;
|
||||
private System.Windows.Forms.NumericUpDown numLen2;
|
||||
private System.Windows.Forms.NumericUpDown numLen1;
|
||||
private System.Windows.Forms.Label label15;
|
||||
private System.Windows.Forms.Label label17;
|
||||
private System.Windows.Forms.NumericUpDown numAddPrice;
|
||||
private System.Windows.Forms.Label label16;
|
||||
private System.Windows.Forms.NumericUpDown numAddPriceTimes;
|
||||
private UserComponent.UcCheckBox chkChangeSizeAndNumber;
|
||||
private UserComponent.UcCheckBox chkAddPrice;
|
||||
}
|
||||
}
|
||||
@@ -1199,6 +1199,23 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||
}
|
||||
#endregion
|
||||
|
||||
int len = 30, width = 20, height = 10; // 300, 200, 100
|
||||
int weight = 500; //500000
|
||||
int numberOfPieces = 1; // 单品数量
|
||||
if (chkChangeSizeAndNumber.Checked) // 修改包装尺寸和单品数量
|
||||
{
|
||||
//len = Randomx.GetId(62, 101);
|
||||
//width = Randomx.GetId(61, len);
|
||||
//height = Randomx.GetId(60, width);
|
||||
//weight = Randomx.GetId(80000, 99999);
|
||||
//numberOfPieces = Randomx.GetId(450, 601);
|
||||
len = Randomx.GetId(numLen1.Value.ParseToInt(), numLen2.Value.ParseToInt() + 1);
|
||||
width = Randomx.GetId(numWidth1.Value.ParseToInt(), Math.Min(len, numWidth2.Value.ParseToInt() + 1));
|
||||
height = Randomx.GetId(numHeight1.Value.ParseToInt(), Math.Min(width, numHeight2.Value.ParseToInt() + 1));
|
||||
weight = Randomx.GetId(numWeight1.Value.ParseToInt(), numWeight2.Value.ParseToInt() + 1);
|
||||
numberOfPieces = Randomx.GetId(numUnitNum1.Value.ParseToInt(), numUnitNum2.Value.ParseToInt());
|
||||
}
|
||||
|
||||
int skuCount = 0;
|
||||
//foreach (var skuInfo in skcInfo.productSkuList)
|
||||
List<TemuProductSku> skuListTmp = new List<TemuProductSku>();
|
||||
@@ -1244,6 +1261,30 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||
JsonHelper.SerializeObject(skuInfo.productSkuMultiPack.productSkuNetContent)),
|
||||
skuClassification = skuInfo.productSkuMultiPack.skuClassification,
|
||||
};
|
||||
if (skuInfo.productSkuMultiPack.individuallyPacked != null)
|
||||
{
|
||||
skuItem.productSkuMultiPackReq = new ProductSkuMultiPackReq2()
|
||||
{
|
||||
skuClassification = skuInfo.productSkuMultiPack.skuClassification,
|
||||
numberOfPieces = skuInfo.productSkuMultiPack.numberOfPieces,
|
||||
pieceUnitCode = skuInfo.productSkuMultiPack.pieceUnitCode,
|
||||
productSkuNetContentReq = JsonHelper.DeserializeJsonToObject<ProductSkuNetContentReq>(
|
||||
JsonHelper.SerializeObject(skuInfo.productSkuMultiPack.productSkuNetContent)),
|
||||
individuallyPacked = skuInfo.productSkuMultiPack.individuallyPacked.ParseToInt(),
|
||||
};
|
||||
}
|
||||
if (chkChangeSizeAndNumber.Checked)
|
||||
{
|
||||
skuItem.productSkuMultiPackReq = new ProductSkuMultiPackReq2()
|
||||
{
|
||||
skuClassification = 2,
|
||||
numberOfPieces = numberOfPieces,
|
||||
pieceUnitCode = skuInfo.productSkuMultiPack.pieceUnitCode,
|
||||
productSkuNetContentReq = JsonHelper.DeserializeJsonToObject<ProductSkuNetContentReq>(
|
||||
JsonHelper.SerializeObject(skuInfo.productSkuMultiPack.productSkuNetContent)),
|
||||
individuallyPacked = 1,
|
||||
};
|
||||
}
|
||||
skuItem.productSkuNonAuditExtAttrReq = JsonHelper.DeserializeJsonToObject<ProductSkuNonAuditExtAttrReq>(
|
||||
JsonHelper.SerializeObject(skuInfo.productSkuNonAuditExtAttr));
|
||||
if (skuItem.productSkuNonAuditExtAttrReq == null)
|
||||
@@ -1311,8 +1352,19 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||
productSkuWeightReq = JsonHelper.DeserializeJsonToObject<ProductSkuWeightReq>(
|
||||
JsonHelper.SerializeObject(skuInfo.productSkuWhExtAttr.productSkuWeight)),
|
||||
};
|
||||
if (chkChangeSizeAndNumber.Checked) // 修改包装尺寸和单品数量
|
||||
{
|
||||
skuItem.productSkuWhExtAttrReq.productSkuVolumeReq.len = len * 10;
|
||||
skuItem.productSkuWhExtAttrReq.productSkuVolumeReq.width = width * 10;
|
||||
skuItem.productSkuWhExtAttrReq.productSkuVolumeReq.height = height * 10;
|
||||
skuItem.productSkuWhExtAttrReq.productSkuWeightReq.value = weight * 1000;
|
||||
}
|
||||
skuItem.supplierPrice = skuInfo.supplierPrice;
|
||||
skuItem.supplierPrice += 1000; // 每个sku价格直接加10元去核价
|
||||
if (chkAddPrice.Checked) //自定义加价
|
||||
{
|
||||
skuItem.supplierPrice = (skuInfo.supplierPrice * numAddPriceTimes.Value + numAddPrice.Value * 100).ParseToInt();
|
||||
}
|
||||
|
||||
#region 使用随机sku价格上传(第一个sku价格不变,此处有bug,平台最后的sku排列不是按照提交上去的顺序排的)
|
||||
if (skuCount != 1 && chkSkuRandomPrice.Checked)
|
||||
|
||||
@@ -126,7 +126,13 @@ namespace TemuKJD.KJDForms.ShopForms
|
||||
panel3.Controls.Add(f);
|
||||
f.AutoSize = true;
|
||||
f.Dock = DockStyle.Fill;
|
||||
f.Show();
|
||||
try
|
||||
{
|
||||
f.Show();
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
private void ShopForm_Load(object sender, EventArgs e)
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace TemuKJD.KJDForms.ShopForms
|
||||
}
|
||||
public partial class ShopLoginForm : LRBaseForm
|
||||
{
|
||||
public static ShopLoginForm shopLoginInstance { get; set; } = null;
|
||||
|
||||
public int CloseAfterSecond { get; set; }
|
||||
public EnumOpenType openType = EnumOpenType.manage;
|
||||
public bool isMultiLogin = false;
|
||||
@@ -53,6 +55,12 @@ namespace TemuKJD.KJDForms.ShopForms
|
||||
|
||||
public ShopLoginForm(ShopLoginInfo shopInfo)
|
||||
{
|
||||
if (shopLoginInstance != null && !shopLoginInstance.IsDisposed)
|
||||
{
|
||||
shopLoginInstance.Dispose();
|
||||
}
|
||||
shopLoginInstance = this;
|
||||
|
||||
InitializeComponent();
|
||||
|
||||
this.shop = shopInfo;
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
{
|
||||
public class LRBaseFrom
|
||||
{
|
||||
}
|
||||
}
|
||||
+136
-165
@@ -40,31 +40,27 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
this.btnGetNotGet = new DevComponents.DotNetBar.PanelEx();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.dgvOrder = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colLoginStatus = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.colDetail = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.colShopLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colShopAccount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colNotes = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colOnSaleProductNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSpu = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSkc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colProductSkcPic = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.colSaleVolume = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colTodayProfit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSevenDaysSaleVolume = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSevenDaysProfit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colThirtyDaysSaleVolume = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colThirtyDaysProfit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colHighPriceLimitNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colAboutToSellOutNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colAdvicePrepareSkcNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colYesterdayIncomeAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colThisMonthIncomeAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colProductValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colProductCost = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colAddDays = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colTotalSaleVolume = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colInCartVolume = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDiscount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colScore = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colLastMonthIncomeAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colAvailableBalance = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colMallDepositLimitAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colWithdrawCashAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.colAvailableBalance = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -75,7 +71,7 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
this.splitContainer2.Panel2.SuspendLayout();
|
||||
this.splitContainer2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvOrder)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// splitContainer1
|
||||
@@ -193,7 +189,7 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
//
|
||||
this.splitContainer2.Panel1.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer2.Panel1.Controls.Add(this.pbLoading);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.dgvOrder);
|
||||
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
//
|
||||
// splitContainer2.Panel2
|
||||
@@ -215,15 +211,15 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
this.pbLoading.TabStop = false;
|
||||
this.pbLoading.Visible = false;
|
||||
//
|
||||
// dgvShop
|
||||
// dgvOrder
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
this.dgvShop.AllowUserToDeleteRows = false;
|
||||
this.dgvOrder.AllowUserToAddRows = false;
|
||||
this.dgvOrder.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dgvShop.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.dgvOrder.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dgvOrder.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
this.dgvOrder.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvOrder.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
@@ -231,40 +227,50 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dgvOrder.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dgvOrder.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvOrder.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
this.colLoginStatus,
|
||||
this.colDetail,
|
||||
this.colShopLoginName,
|
||||
this.colShopId,
|
||||
this.colShopAccount,
|
||||
this.colNotes,
|
||||
this.colOnSaleProductNumber,
|
||||
this.colSpu,
|
||||
this.colSkc,
|
||||
this.colProductSkcPic,
|
||||
this.colSaleVolume,
|
||||
this.colTodayProfit,
|
||||
this.colSevenDaysSaleVolume,
|
||||
this.colSevenDaysProfit,
|
||||
this.colThirtyDaysSaleVolume,
|
||||
this.colThirtyDaysProfit,
|
||||
this.colHighPriceLimitNumber,
|
||||
this.colAboutToSellOutNumber,
|
||||
this.colAdvicePrepareSkcNumber,
|
||||
this.colYesterdayIncomeAmount,
|
||||
this.colThisMonthIncomeAmount,
|
||||
this.colProductValue,
|
||||
this.colProductCost,
|
||||
this.colAddDays,
|
||||
this.colTotalSaleVolume,
|
||||
this.colInCartVolume,
|
||||
this.colDiscount,
|
||||
this.colScore,
|
||||
this.colLastMonthIncomeAmount,
|
||||
this.colAvailableBalance,
|
||||
this.colMallDepositLimitAmount,
|
||||
this.colWithdrawCashAmount});
|
||||
this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvShop.Location = new System.Drawing.Point(4, 0);
|
||||
this.dgvShop.Name = "dgvShop";
|
||||
this.dgvShop.ReadOnly = true;
|
||||
this.dgvShop.RowHeadersWidth = 36;
|
||||
this.dgvShop.RowTemplate.Height = 23;
|
||||
this.dgvShop.Size = new System.Drawing.Size(1356, 628);
|
||||
this.dgvShop.TabIndex = 5;
|
||||
this.colAvailableBalance});
|
||||
this.dgvOrder.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvOrder.Location = new System.Drawing.Point(4, 0);
|
||||
this.dgvOrder.Name = "dgvOrder";
|
||||
this.dgvOrder.ReadOnly = true;
|
||||
this.dgvOrder.RowHeadersWidth = 36;
|
||||
this.dgvOrder.RowTemplate.Height = 23;
|
||||
this.dgvOrder.Size = new System.Drawing.Size(1356, 628);
|
||||
this.dgvOrder.TabIndex = 5;
|
||||
this.dgvOrder.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvOrder_CellContentClick);
|
||||
this.dgvOrder.Resize += new System.EventHandler(this.dgvShop_Resize);
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.BackColor = System.Drawing.Color.White;
|
||||
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.statusBar.Location = new System.Drawing.Point(0, 0);
|
||||
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.statusBar.Name = "statusBar";
|
||||
this.statusBar.Size = new System.Drawing.Size(1364, 25);
|
||||
this.statusBar.TabIndex = 1;
|
||||
this.statusBar.Visible = false;
|
||||
//
|
||||
// colSelect
|
||||
//
|
||||
@@ -274,55 +280,32 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
this.colSelect.ReadOnly = true;
|
||||
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colSelect.ThreeState = true;
|
||||
this.colSelect.Visible = false;
|
||||
//
|
||||
// colLoginStatus
|
||||
// colSpu
|
||||
//
|
||||
this.colLoginStatus.FillWeight = 35F;
|
||||
this.colLoginStatus.HeaderText = "状态";
|
||||
this.colLoginStatus.Name = "colLoginStatus";
|
||||
this.colLoginStatus.ReadOnly = true;
|
||||
this.colLoginStatus.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colLoginStatus.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colSpu.FillWeight = 90F;
|
||||
this.colSpu.HeaderText = "SPU";
|
||||
this.colSpu.Name = "colSpu";
|
||||
this.colSpu.ReadOnly = true;
|
||||
this.colSpu.Visible = false;
|
||||
//
|
||||
// colDetail
|
||||
// colSkc
|
||||
//
|
||||
this.colDetail.FillWeight = 35F;
|
||||
this.colDetail.HeaderText = "详情";
|
||||
this.colDetail.Name = "colDetail";
|
||||
this.colDetail.ReadOnly = true;
|
||||
this.colSkc.FillWeight = 80F;
|
||||
this.colSkc.HeaderText = "SKC";
|
||||
this.colSkc.Name = "colSkc";
|
||||
this.colSkc.ReadOnly = true;
|
||||
//
|
||||
// colShopLoginName
|
||||
// colProductSkcPic
|
||||
//
|
||||
this.colShopLoginName.FillWeight = 90F;
|
||||
this.colShopLoginName.HeaderText = "店铺登录号码";
|
||||
this.colShopLoginName.Name = "colShopLoginName";
|
||||
this.colShopLoginName.ReadOnly = true;
|
||||
//
|
||||
// colShopId
|
||||
//
|
||||
this.colShopId.HeaderText = "店铺Id";
|
||||
this.colShopId.Name = "colShopId";
|
||||
this.colShopId.ReadOnly = true;
|
||||
//
|
||||
// colShopAccount
|
||||
//
|
||||
this.colShopAccount.HeaderText = "店铺名称";
|
||||
this.colShopAccount.Name = "colShopAccount";
|
||||
this.colShopAccount.ReadOnly = true;
|
||||
//
|
||||
// colNotes
|
||||
//
|
||||
this.colNotes.FillWeight = 90F;
|
||||
this.colNotes.HeaderText = "备注/分组";
|
||||
this.colNotes.Name = "colNotes";
|
||||
this.colNotes.ReadOnly = true;
|
||||
//
|
||||
// colOnSaleProductNumber
|
||||
//
|
||||
this.colOnSaleProductNumber.FillWeight = 90F;
|
||||
this.colOnSaleProductNumber.HeaderText = "在售商品数";
|
||||
this.colOnSaleProductNumber.Name = "colOnSaleProductNumber";
|
||||
this.colOnSaleProductNumber.ReadOnly = true;
|
||||
this.colProductSkcPic.FillWeight = 20F;
|
||||
this.colProductSkcPic.HeaderText = "图片";
|
||||
this.colProductSkcPic.Name = "colProductSkcPic";
|
||||
this.colProductSkcPic.ReadOnly = true;
|
||||
this.colProductSkcPic.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductSkcPic.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// colSaleVolume
|
||||
//
|
||||
@@ -368,77 +351,67 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
this.colThirtyDaysProfit.ReadOnly = true;
|
||||
this.colThirtyDaysProfit.Visible = false;
|
||||
//
|
||||
// colHighPriceLimitNumber
|
||||
// colProductValue
|
||||
//
|
||||
this.colHighPriceLimitNumber.HeaderText = "高价限流商品数";
|
||||
this.colHighPriceLimitNumber.Name = "colHighPriceLimitNumber";
|
||||
this.colHighPriceLimitNumber.ReadOnly = true;
|
||||
this.colProductValue.FillWeight = 70F;
|
||||
this.colProductValue.HeaderText = "货值";
|
||||
this.colProductValue.Name = "colProductValue";
|
||||
this.colProductValue.ReadOnly = true;
|
||||
//
|
||||
// colAboutToSellOutNumber
|
||||
// colProductCost
|
||||
//
|
||||
this.colAboutToSellOutNumber.FillWeight = 75F;
|
||||
this.colAboutToSellOutNumber.HeaderText = "即将售罄";
|
||||
this.colAboutToSellOutNumber.Name = "colAboutToSellOutNumber";
|
||||
this.colAboutToSellOutNumber.ReadOnly = true;
|
||||
this.colAboutToSellOutNumber.Visible = false;
|
||||
this.colProductCost.FillWeight = 70F;
|
||||
this.colProductCost.HeaderText = "成本";
|
||||
this.colProductCost.Name = "colProductCost";
|
||||
this.colProductCost.ReadOnly = true;
|
||||
this.colProductCost.Visible = false;
|
||||
//
|
||||
// colAdvicePrepareSkcNumber
|
||||
// colAddDays
|
||||
//
|
||||
this.colAdvicePrepareSkcNumber.FillWeight = 75F;
|
||||
this.colAdvicePrepareSkcNumber.HeaderText = "建议备货";
|
||||
this.colAdvicePrepareSkcNumber.Name = "colAdvicePrepareSkcNumber";
|
||||
this.colAdvicePrepareSkcNumber.ReadOnly = true;
|
||||
this.colAdvicePrepareSkcNumber.Visible = false;
|
||||
this.colAddDays.HeaderText = "加入站点时间";
|
||||
this.colAddDays.Name = "colAddDays";
|
||||
this.colAddDays.ReadOnly = true;
|
||||
//
|
||||
// colYesterdayIncomeAmount
|
||||
// colTotalSaleVolume
|
||||
//
|
||||
this.colYesterdayIncomeAmount.HeaderText = "昨日到账金额";
|
||||
this.colYesterdayIncomeAmount.Name = "colYesterdayIncomeAmount";
|
||||
this.colYesterdayIncomeAmount.ReadOnly = true;
|
||||
this.colTotalSaleVolume.FillWeight = 75F;
|
||||
this.colTotalSaleVolume.HeaderText = "总销量";
|
||||
this.colTotalSaleVolume.Name = "colTotalSaleVolume";
|
||||
this.colTotalSaleVolume.ReadOnly = true;
|
||||
//
|
||||
// colThisMonthIncomeAmount
|
||||
// colInCartVolume
|
||||
//
|
||||
this.colThisMonthIncomeAmount.HeaderText = "本月到账金额";
|
||||
this.colThisMonthIncomeAmount.Name = "colThisMonthIncomeAmount";
|
||||
this.colThisMonthIncomeAmount.ReadOnly = true;
|
||||
this.colInCartVolume.HeaderText = "加购数量";
|
||||
this.colInCartVolume.Name = "colInCartVolume";
|
||||
this.colInCartVolume.ReadOnly = true;
|
||||
//
|
||||
// colDiscount
|
||||
//
|
||||
this.colDiscount.FillWeight = 40F;
|
||||
this.colDiscount.HeaderText = "折扣";
|
||||
this.colDiscount.Name = "colDiscount";
|
||||
this.colDiscount.ReadOnly = true;
|
||||
//
|
||||
// colScore
|
||||
//
|
||||
this.colScore.FillWeight = 70F;
|
||||
this.colScore.HeaderText = "品质分";
|
||||
this.colScore.Name = "colScore";
|
||||
this.colScore.ReadOnly = true;
|
||||
//
|
||||
// colLastMonthIncomeAmount
|
||||
//
|
||||
this.colLastMonthIncomeAmount.HeaderText = "上月到账金额";
|
||||
this.colLastMonthIncomeAmount.HeaderText = "备注";
|
||||
this.colLastMonthIncomeAmount.Name = "colLastMonthIncomeAmount";
|
||||
this.colLastMonthIncomeAmount.ReadOnly = true;
|
||||
//
|
||||
// colAvailableBalance
|
||||
//
|
||||
this.colAvailableBalance.FillWeight = 80F;
|
||||
this.colAvailableBalance.HeaderText = "可提现余额";
|
||||
this.colAvailableBalance.FillWeight = 50F;
|
||||
this.colAvailableBalance.HeaderText = "操作";
|
||||
this.colAvailableBalance.Name = "colAvailableBalance";
|
||||
this.colAvailableBalance.ReadOnly = true;
|
||||
//
|
||||
// colMallDepositLimitAmount
|
||||
//
|
||||
this.colMallDepositLimitAmount.HeaderText = "账户预留金额";
|
||||
this.colMallDepositLimitAmount.Name = "colMallDepositLimitAmount";
|
||||
this.colMallDepositLimitAmount.ReadOnly = true;
|
||||
//
|
||||
// colWithdrawCashAmount
|
||||
//
|
||||
this.colWithdrawCashAmount.FillWeight = 80F;
|
||||
this.colWithdrawCashAmount.HeaderText = "提现总金额";
|
||||
this.colWithdrawCashAmount.Name = "colWithdrawCashAmount";
|
||||
this.colWithdrawCashAmount.ReadOnly = true;
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.BackColor = System.Drawing.Color.White;
|
||||
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.statusBar.Location = new System.Drawing.Point(0, 0);
|
||||
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.statusBar.Name = "statusBar";
|
||||
this.statusBar.Size = new System.Drawing.Size(1364, 25);
|
||||
this.statusBar.TabIndex = 1;
|
||||
this.statusBar.Visible = false;
|
||||
this.colAvailableBalance.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
//
|
||||
// ShopOrderStatisticsDetailForm
|
||||
//
|
||||
@@ -447,7 +420,9 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MinimumSize = new System.Drawing.Size(800, 600);
|
||||
this.Name = "ShopOrderStatisticsDetailForm";
|
||||
this.ShowMaximizeBox = true;
|
||||
this.Text = "ShopOrderStatisticsDetailForm";
|
||||
this.TitleText = "ShopOrderStatisticsDetailForm";
|
||||
this.Load += new System.EventHandler(this.ShopOrderStatisticsDetailForm_Load);
|
||||
@@ -462,7 +437,7 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
|
||||
this.splitContainer2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvOrder)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -476,30 +451,26 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
|
||||
private System.Windows.Forms.SplitContainer splitContainer2;
|
||||
private System.Windows.Forms.PictureBox pbLoading;
|
||||
private UserComponent.DataGridViewEx dgvShop;
|
||||
private UserComponent.DataGridViewEx dgvOrder;
|
||||
private UserControls.StatusBarUserControl statusBar;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colLoginStatus;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colDetail;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colShopLoginName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colShopAccount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colNotes;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colOnSaleProductNumber;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSpu;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSkc;
|
||||
private System.Windows.Forms.DataGridViewImageColumn colProductSkcPic;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSaleVolume;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colTodayProfit;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSevenDaysSaleVolume;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSevenDaysProfit;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colThirtyDaysSaleVolume;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colThirtyDaysProfit;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colHighPriceLimitNumber;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAboutToSellOutNumber;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAdvicePrepareSkcNumber;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colYesterdayIncomeAmount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colThisMonthIncomeAmount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colProductValue;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colProductCost;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAddDays;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colTotalSaleVolume;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colInCartVolume;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colDiscount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colScore;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colLastMonthIncomeAmount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAvailableBalance;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMallDepositLimitAmount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colWithdrawCashAmount;
|
||||
private UserControls.StatusBarUserControl statusBar;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colAvailableBalance;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
using AllBase.Model.Result;
|
||||
using NaiBa.Util.Extension;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -14,18 +15,114 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
{
|
||||
public partial class ShopOrderStatisticsDetailForm : LRBaseForm
|
||||
{
|
||||
public static ShopOrderStatisticsDetailForm orderStatisticsDetailInstance = null;
|
||||
|
||||
public List<WarehouseProductSubOrderInfo> lstSubOrderInfo = new List<WarehouseProductSubOrderInfo>();
|
||||
ShopLoginInfo shop = null;
|
||||
public ShopOrderStatisticsDetailForm(ShopLoginInfo shopInfo)
|
||||
public ShopOrderStatisticsDetailForm(ShopLoginInfo shopInfo, List<WarehouseProductSubOrderInfo> subOrderInfoLst = null)
|
||||
{
|
||||
if (orderStatisticsDetailInstance != null && !orderStatisticsDetailInstance.IsDisposed)
|
||||
{
|
||||
orderStatisticsDetailInstance.Dispose();
|
||||
orderStatisticsDetailInstance = null;
|
||||
}
|
||||
orderStatisticsDetailInstance = this;
|
||||
|
||||
InitializeComponent();
|
||||
|
||||
if (shopInfo != null)
|
||||
shop = shopInfo;
|
||||
if (subOrderInfoLst != null)
|
||||
lstSubOrderInfo.AddRange(subOrderInfoLst);
|
||||
}
|
||||
|
||||
public void SetOrderInfo(List<WarehouseProductSubOrderInfo> subOrderInfoLst)
|
||||
{
|
||||
if (subOrderInfoLst == null)
|
||||
subOrderInfoLst = new List<WarehouseProductSubOrderInfo>();
|
||||
|
||||
lstSubOrderInfo.Clear();
|
||||
lstSubOrderInfo.AddRange(subOrderInfoLst);
|
||||
|
||||
this.ShowOrderList();
|
||||
}
|
||||
|
||||
private void ShopOrderStatisticsDetailForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.dgvShop.Focus();
|
||||
this.TitleText = shop?.ShopId + " - " + shop?.ShopAccount + " - 订单详情";
|
||||
this.ShowOrderList();
|
||||
}
|
||||
|
||||
private void dgvShop_Resize(object sender, EventArgs e)
|
||||
{
|
||||
var fillWeight = 0f;
|
||||
foreach (DataGridViewColumn column in this.dgvOrder.Columns)
|
||||
{
|
||||
if (column.Visible == true && column.Name != "colProductSkcPic")
|
||||
fillWeight += column.FillWeight;
|
||||
}
|
||||
this.dgvOrder.Columns["colProductSkcPic"].FillWeight = 50f * fillWeight / (this.dgvOrder.Width - 50);
|
||||
}
|
||||
|
||||
public void ShowOrderList()
|
||||
{
|
||||
foreach (WarehouseProductSubOrderInfo order in lstSubOrderInfo)
|
||||
{
|
||||
this.dgvOrder.Rows.Add(
|
||||
false,
|
||||
order.productId,
|
||||
order.productSkcId,
|
||||
defaultBitmap,
|
||||
order.skuQuantityTotalInfo.todaySaleVolume,
|
||||
order.skuQuantityTotalInfo.todayProfit.Value.ToString("0.00"),
|
||||
order.skuQuantityTotalInfo.lastSevenDaysSaleVolume,
|
||||
order.skuQuantityTotalInfo.sevenDaysProfit.Value.ToString("0.00"),
|
||||
order.skuQuantityTotalInfo.lastThirtyDaysSaleVolume,
|
||||
order.skuQuantityTotalInfo.thirtyDaysProfit.Value.ToString("0.00"),
|
||||
order.skuQuantityTotalInfo.goodsValue * 0.01m,
|
||||
order.skuQuantityTotalInfo.goodsCost * 0.01m,
|
||||
order.onSalesDurationOffline, // 加入站点时间
|
||||
order.skuQuantityTotalInfo.totalSaleVolume, //总销量
|
||||
order.skuQuantityTotalInfo.inCardNumber, //加购数量
|
||||
order.discount.ParseToDecimal() * 0.01m,
|
||||
order.goodsAfsScore == null ? null : order.goodsAfsScore?.ToString("f2"), //品质分
|
||||
"", //备注
|
||||
"设置进价"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Bitmap defaultBitmap = new Bitmap(50, 50);
|
||||
|
||||
private void dgvOrder_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex < 0 || e.RowIndex < 0)
|
||||
return;
|
||||
string headerText = dgvOrder.Columns[e.ColumnIndex].HeaderText;
|
||||
string orderProdId = dgvOrder.Rows[e.RowIndex].Cells["colSpu"].Value.ParseToString();
|
||||
WarehouseProductSubOrderInfo order = lstSubOrderInfo.FirstOrDefault(o=>o.productId.ParseToString() == orderProdId);
|
||||
|
||||
switch (headerText)
|
||||
{
|
||||
case "检测":
|
||||
break;
|
||||
case "操作":
|
||||
{
|
||||
if (shop != null)
|
||||
{
|
||||
var subOrders = lstSubOrderInfo.Where(o => o.supplierId.ParseToString() == shop.ShopId).ToList();
|
||||
ShopSetPurchasePriceForm detailForm = new ShopSetPurchasePriceForm(shop, order);
|
||||
detailForm.ShowDialog();
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case "状态":
|
||||
break;
|
||||
default:
|
||||
//dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value = !(bool)dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -120,25 +120,13 @@
|
||||
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colLoginStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="colSpu.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colDetail.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="colSkc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colShopLoginName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colShopAccount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colNotes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colOnSaleProductNumber.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="colProductSkcPic.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSaleVolume.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
@@ -159,19 +147,25 @@
|
||||
<metadata name="colThirtyDaysProfit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colHighPriceLimitNumber.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="colProductValue.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colAboutToSellOutNumber.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="colProductCost.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colAdvicePrepareSkcNumber.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="colAddDays.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colYesterdayIncomeAmount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="colTotalSaleVolume.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colThisMonthIncomeAmount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="colInCartVolume.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colDiscount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colScore.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colLastMonthIncomeAmount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
@@ -180,12 +174,6 @@
|
||||
<metadata name="colAvailableBalance.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colMallDepositLimitAmount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colWithdrawCashAmount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
|
||||
@@ -15,6 +15,7 @@ using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using TemuKJD.Extension;
|
||||
using TemuKJD.KJDForms.BaseForms;
|
||||
using Work;
|
||||
|
||||
namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
{
|
||||
@@ -155,11 +156,11 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
shopEntity.Notes,
|
||||
statistics.onSaleProductNumber == null ? "-" : statistics.onSaleProductNumber.ToString(), //在售商品数
|
||||
statistics.saleVolume == null ? "-" : statistics.saleVolume.ToString(), //今日销量
|
||||
statistics.todayProfit == null ? "-" : statistics.todayProfit.ToString(), //今日日利润
|
||||
statistics.todayProfit == null ? "-" : statistics.todayProfit.Value.ToString("0.00"), //今日日利润
|
||||
statistics.sevenDaysSaleVolume == null ? "-" : statistics.sevenDaysSaleVolume.ToString(), //7日销量
|
||||
statistics.sevenDaysProfit == null ? "-" : statistics.sevenDaysProfit.ToString(), //7日利润
|
||||
statistics.sevenDaysProfit == null ? "-" : statistics.sevenDaysProfit.Value.ToString("0.00"), //7日利润
|
||||
statistics.thirtyDaysSaleVolume == null ? "-" : statistics.thirtyDaysSaleVolume.ToString(), //30日销量
|
||||
statistics.thirtyDaysProfit == null ? "-" : statistics.thirtyDaysProfit.ToString(), //30日利润
|
||||
statistics.thirtyDaysProfit == null ? "-" : statistics.thirtyDaysProfit.Value.ToString("0.00"), //30日利润
|
||||
statistics.highPriceLimitNumber == null ? "-" : statistics.highPriceLimitNumber.ToString(), //高价限流商品数
|
||||
statistics.aboutToSellOutNumber == null ? "-" : statistics.aboutToSellOutNumber.ToString(), //即将售罄
|
||||
statistics.advicePrepareSkcNumber == null ? "-" : statistics.advicePrepareSkcNumber.ToString(), //建议备货
|
||||
@@ -191,11 +192,11 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
row.Cells["colNotes"].Value = shopEntity.Notes;
|
||||
row.Cells["colOnSaleProductNumber"].Value = statistics.onSaleProductNumber == null ? "-" : statistics.onSaleProductNumber.ToString(); //在售商品数
|
||||
row.Cells["colSaleVolume"].Value = statistics.saleVolume == null ? "-" : statistics.saleVolume.ToString(); //今日销量
|
||||
row.Cells["colTodayProfit"].Value = statistics.todayProfit == null ? "-" : statistics.todayProfit.ToString(); //今日利润
|
||||
row.Cells["colTodayProfit"].Value = statistics.todayProfit == null ? "-" : statistics.todayProfit.Value.ToString("0.00"); //今日利润
|
||||
row.Cells["colSevenDaysSaleVolume"].Value = statistics.sevenDaysSaleVolume == null ? "-" : statistics.sevenDaysSaleVolume.ToString(); //7日销量
|
||||
row.Cells["colSevenDaysProfit"].Value = statistics.sevenDaysProfit == null ? "-" : statistics.sevenDaysProfit.ToString(); //7日利润
|
||||
row.Cells["colSevenDaysProfit"].Value = statistics.sevenDaysProfit == null ? "-" : statistics.sevenDaysProfit.Value.ToString("0.00"); //7日利润
|
||||
row.Cells["colThirtyDaysSaleVolume"].Value = statistics.thirtyDaysSaleVolume == null ? "-" : statistics.thirtyDaysSaleVolume.ToString(); //30日销量
|
||||
row.Cells["colThirtyDaysProfit"].Value = statistics.thirtyDaysProfit == null ? "-" : statistics.thirtyDaysProfit.ToString(); //30日利润
|
||||
row.Cells["colThirtyDaysProfit"].Value = statistics.thirtyDaysProfit == null ? "-" : statistics.thirtyDaysProfit.Value.ToString("0.00"); //30日利润
|
||||
row.Cells["colHighPriceLimitNumber"].Value = statistics.highPriceLimitNumber == null ? "-" : statistics.highPriceLimitNumber.ToString(); //高价限流商品数
|
||||
row.Cells["colAboutToSellOutNumber"].Value = statistics.aboutToSellOutNumber == null ? "-" : statistics.aboutToSellOutNumber.ToString(); //即将售罄
|
||||
row.Cells["colAdvicePrepareSkcNumber"].Value = statistics.advicePrepareSkcNumber == null ? "-" : statistics.advicePrepareSkcNumber.ToString(); //建议备货
|
||||
@@ -425,14 +426,34 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
int num30 = 0;
|
||||
foreach (var prodOrder in orderInfoLstTmp)
|
||||
{
|
||||
prodOrder.skuQuantityTotalInfo.goodsValue = 0;
|
||||
prodOrder.skuQuantityTotalInfo.goodsCost = 0;
|
||||
prodOrder.skuQuantityTotalInfo.todayProfit = 0;
|
||||
prodOrder.skuQuantityTotalInfo.sevenDaysProfit = 0;
|
||||
prodOrder.skuQuantityTotalInfo.thirtyDaysProfit = 0;
|
||||
foreach (var sku in prodOrder.skuQuantityDetailList)
|
||||
{
|
||||
var discount = prodOrder.discount.ParseToInt() * 0.01m;
|
||||
sku.goodsValue = sku.supplierPrice.ParseToInt() * (sku.inventoryNumInfo?.warehouseInventoryNum).ParseToInt();
|
||||
sku.goodsValue = (sku.goodsValue * 0.01m * discount).ParseToInt(); // sku货值 = 单价 * 数量 * 乘以折扣
|
||||
sku.goodsCost = sku.purchasePrice * (sku.inventoryNumInfo?.warehouseInventoryNum).ParseToInt();
|
||||
prodOrder.skuQuantityTotalInfo.goodsValue += sku.goodsValue; // 合计得到总货值
|
||||
prodOrder.skuQuantityTotalInfo.goodsCost += sku.goodsCost;
|
||||
|
||||
sku.todayProfit = 0.01m * sku.todaySaleVolume.ParseToInt() * (sku.supplierPrice.ParseToInt() * discount - sku.purchasePrice);
|
||||
prodOrder.skuQuantityTotalInfo.todayProfit += sku.todayProfit;
|
||||
sku.sevenDaysProfit = 0.01m * sku.lastSevenDaysSaleVolume.ParseToInt() * (sku.supplierPrice.ParseToInt() * discount - sku.purchasePrice);
|
||||
prodOrder.skuQuantityTotalInfo.sevenDaysProfit += sku.sevenDaysProfit;
|
||||
sku.thirtyDaysProfit = 0.01m * sku.lastThirtyDaysSaleVolume.ParseToInt() * (sku.supplierPrice.ParseToInt() * discount - sku.purchasePrice);
|
||||
prodOrder.skuQuantityTotalInfo.thirtyDaysProfit += sku.thirtyDaysProfit;
|
||||
|
||||
num += sku.todaySaleVolume.ParseToInt();
|
||||
num7 += sku.lastSevenDaysSaleVolume.ParseToInt();
|
||||
num30 += sku.lastThirtyDaysSaleVolume.ParseToInt();
|
||||
statistics.todayProfit += 0.01m * sku.todaySaleVolume.ParseToInt() * (sku.supplierPrice.ParseToInt() - sku.purchasePrice);
|
||||
statistics.sevenDaysProfit += 0.01m * sku.lastSevenDaysSaleVolume.ParseToInt() * (sku.supplierPrice.ParseToInt() - sku.purchasePrice);
|
||||
statistics.thirtyDaysProfit += 0.01m * sku.lastThirtyDaysSaleVolume.ParseToInt() * (sku.supplierPrice.ParseToInt() - sku.purchasePrice);
|
||||
statistics.todayProfit += sku.todayProfit;
|
||||
statistics.sevenDaysProfit += sku.sevenDaysProfit;
|
||||
statistics.thirtyDaysProfit += sku.lastThirtyDaysSaleVolume;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -552,6 +573,41 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
order.goodsAfsScore = qualityInfo.goodsAfsScore;
|
||||
}
|
||||
//---------------------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------------------
|
||||
var purchasePriceList = GetPurchasePrice(subOrderInfoLstTmp.Select(o => o.productId.ParseToString()).ToList());
|
||||
foreach (var pPrice in purchasePriceList)
|
||||
{
|
||||
pPrice.dbSkuPurchasePriceList = JsonHelper.DeserializeJsonToList<TemuDBSkuPurchasePriceInfo>(pPrice.sku_purchase_price_json);
|
||||
if (pPrice.dbSkuPurchasePriceList == null)
|
||||
pPrice.dbSkuPurchasePriceList = new List<TemuDBSkuPurchasePriceInfo>();
|
||||
}
|
||||
foreach (var purchasePrice in purchasePriceList)
|
||||
{
|
||||
var order = subOrderInfoLstTmp.FirstOrDefault(o => o.productId.ParseToString() == purchasePrice.spu_id);
|
||||
if (order != null)
|
||||
{
|
||||
//order.hasDbPurchasePrice = true;
|
||||
order.purchasePriceInfo = purchasePrice;
|
||||
order.discount = purchasePrice.discount;
|
||||
foreach (var sku in order.skuQuantityDetailList)
|
||||
{
|
||||
var purchaseSku = purchasePrice.dbSkuPurchasePriceList.FirstOrDefault(s => s.productSkuId == sku.productSkuId);
|
||||
if (purchaseSku != null)
|
||||
{
|
||||
sku.purchasePrice = purchaseSku.purchasePriceValue.ParseToInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach (var order in subOrderInfoLstTmp)
|
||||
{
|
||||
foreach (var sku in order.skuQuantityDetailList)
|
||||
{
|
||||
if (sku.purchasePrice == 0)
|
||||
sku.purchasePrice = sku.supplierPrice.ParseToInt();
|
||||
}
|
||||
}
|
||||
//---------------------------------------------------------------------------------------
|
||||
lstSubOrderInfo.AddRange(subOrderInfoLstTmp);
|
||||
|
||||
int total = BaseRegex.GetStringJson(ref html, "total").ParseToInt();
|
||||
@@ -657,8 +713,12 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
case "详情":
|
||||
IsOperate = true;
|
||||
{
|
||||
ShopOrderStatisticsDetailForm detailForm = new ShopOrderStatisticsDetailForm(shop);
|
||||
detailForm.ShowDialog();
|
||||
if (shop != null)
|
||||
{
|
||||
var subOrders = lstSubOrderInfo.Where(o => o.supplierId.ParseToString() == shop.ShopId).ToList();
|
||||
ShopOrderStatisticsDetailForm detailForm = new ShopOrderStatisticsDetailForm(shop, subOrders);
|
||||
detailForm.Show();
|
||||
}
|
||||
IsOperate = false;
|
||||
}
|
||||
break;
|
||||
@@ -728,5 +788,38 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
this.pbLoading.Visible = true;
|
||||
GetShopStatistics(shopList, reGetShopIds);
|
||||
}
|
||||
|
||||
List<TemuDBProductPurchasePriceInfo> GetPurchasePrice(List<string> productIdList)
|
||||
{
|
||||
List<TemuDBProductPurchasePriceInfo> list = new List<TemuDBProductPurchasePriceInfo>();
|
||||
|
||||
for (int i = 0; i < productIdList.Count; i++)
|
||||
{
|
||||
productIdList[i] = productIdList[i].Replace(",", "").Replace("'", "").Replace("\"", "");
|
||||
}
|
||||
var url = BaseClass.BuildObjString("price/get_purchase_price_list");
|
||||
var data = UserLogin.GetSignaturex();
|
||||
data += "&page=1";
|
||||
data += "&page_size=" + productIdList.Count;
|
||||
data += "&in_spu_id=" + string.Join(",", productIdList);
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
{
|
||||
return list;
|
||||
}
|
||||
|
||||
if (!html.Contains("data"))
|
||||
return list;
|
||||
|
||||
var jArr = JObject.Parse(html)["data"];
|
||||
if (jArr.Count() == 0)
|
||||
return list;
|
||||
|
||||
return JsonHelper.DeserializeJsonToList<TemuDBProductPurchasePriceInfo>(jArr.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,479 @@
|
||||
|
||||
namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
{
|
||||
partial class ShopSetPurchasePriceForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ShopSetPurchasePriceForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.numDiscount = new System.Windows.Forms.NumericUpDown();
|
||||
this.btnMultiChangePurchasePrice = new DevComponents.DotNetBar.PanelEx();
|
||||
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.btnGetSelect = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnGetNotGet = new DevComponents.DotNetBar.PanelEx();
|
||||
this.dgvOrder = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colSpu = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSkc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSkuId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSkuName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSkuPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSkuPurchasePrice = new DevComponents.DotNetBar.Controls.DataGridViewDoubleInputColumn();
|
||||
this.colAvailableBalance = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.btnSave = new DevComponents.DotNetBar.PanelEx();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numDiscount)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
|
||||
this.splitContainer2.Panel1.SuspendLayout();
|
||||
this.splitContainer2.Panel2.SuspendLayout();
|
||||
this.splitContainer2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
|
||||
this.ucGroupBoxEx1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvOrder)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(1, 33);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numDiscount);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnMultiChangePurchasePrice);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numericUpDown1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label2);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
|
||||
this.splitContainer1.Panel2.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(654, 550);
|
||||
this.splitContainer1.SplitterDistance = 66;
|
||||
this.splitContainer1.TabIndex = 36;
|
||||
this.splitContainer1.TabStop = false;
|
||||
//
|
||||
// numDiscount
|
||||
//
|
||||
this.numDiscount.DecimalPlaces = 2;
|
||||
this.numDiscount.Increment = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
65536});
|
||||
this.numDiscount.Location = new System.Drawing.Point(70, 21);
|
||||
this.numDiscount.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numDiscount.Name = "numDiscount";
|
||||
this.numDiscount.Size = new System.Drawing.Size(67, 23);
|
||||
this.numDiscount.TabIndex = 443;
|
||||
//
|
||||
// btnMultiChangePurchasePrice
|
||||
//
|
||||
this.btnMultiChangePurchasePrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnMultiChangePurchasePrice.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnMultiChangePurchasePrice.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnMultiChangePurchasePrice.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnMultiChangePurchasePrice.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnMultiChangePurchasePrice.Location = new System.Drawing.Point(562, 21);
|
||||
this.btnMultiChangePurchasePrice.Name = "btnMultiChangePurchasePrice";
|
||||
this.btnMultiChangePurchasePrice.Size = new System.Drawing.Size(80, 23);
|
||||
this.btnMultiChangePurchasePrice.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnMultiChangePurchasePrice.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnMultiChangePurchasePrice.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnMultiChangePurchasePrice.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnMultiChangePurchasePrice.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnMultiChangePurchasePrice.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnMultiChangePurchasePrice.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnMultiChangePurchasePrice.Style.GradientAngle = 90;
|
||||
this.btnMultiChangePurchasePrice.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnMultiChangePurchasePrice.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnMultiChangePurchasePrice.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnMultiChangePurchasePrice.TabIndex = 439;
|
||||
this.btnMultiChangePurchasePrice.Text = "批量修改";
|
||||
this.btnMultiChangePurchasePrice.Click += new System.EventHandler(this.btnMultiChangePurchasePrice_Click);
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
this.numericUpDown1.DecimalPlaces = 2;
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(425, 21);
|
||||
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown1.Name = "numericUpDown1";
|
||||
this.numericUpDown1.Size = new System.Drawing.Size(134, 23);
|
||||
this.numericUpDown1.TabIndex = 0;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(359, 24);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(68, 17);
|
||||
this.label1.TabIndex = 440;
|
||||
this.label1.Text = "SKU进货价";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(15, 24);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(56, 17);
|
||||
this.label2.TabIndex = 444;
|
||||
this.label2.Text = "活动折扣";
|
||||
//
|
||||
// splitContainer2
|
||||
//
|
||||
this.splitContainer2.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
|
||||
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer2.Name = "splitContainer2";
|
||||
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer2.Panel1
|
||||
//
|
||||
this.splitContainer2.Panel1.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer2.Panel1.Controls.Add(this.ucGroupBoxEx3);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.pbLoading);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.ucGroupBoxEx1);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.dgvOrder);
|
||||
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(12, 0, 12, 0);
|
||||
//
|
||||
// splitContainer2.Panel2
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.btnSave);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(654, 480);
|
||||
this.splitContainer2.SplitterDistance = 434;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// ucGroupBoxEx3
|
||||
//
|
||||
this.ucGroupBoxEx3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ucGroupBoxEx3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucGroupBoxEx3.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||
this.ucGroupBoxEx3.Location = new System.Drawing.Point(519, 351);
|
||||
this.ucGroupBoxEx3.Name = "ucGroupBoxEx3";
|
||||
this.ucGroupBoxEx3.Size = new System.Drawing.Size(103, 49);
|
||||
this.ucGroupBoxEx3.TabIndex = 668;
|
||||
this.ucGroupBoxEx3.TabStop = false;
|
||||
this.ucGroupBoxEx3.Text = "统计查询";
|
||||
this.ucGroupBoxEx3.Visible = false;
|
||||
//
|
||||
// pbLoading
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(302, 192);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pbLoading.TabIndex = 6;
|
||||
this.pbLoading.TabStop = false;
|
||||
this.pbLoading.Visible = false;
|
||||
//
|
||||
// ucGroupBoxEx1
|
||||
//
|
||||
this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnGetSelect);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnGetNotGet);
|
||||
this.ucGroupBoxEx1.Location = new System.Drawing.Point(320, 351);
|
||||
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
|
||||
this.ucGroupBoxEx1.Size = new System.Drawing.Size(198, 49);
|
||||
this.ucGroupBoxEx1.TabIndex = 667;
|
||||
this.ucGroupBoxEx1.TabStop = false;
|
||||
this.ucGroupBoxEx1.Text = "统计汇总";
|
||||
this.ucGroupBoxEx1.Visible = false;
|
||||
//
|
||||
// btnGetSelect
|
||||
//
|
||||
this.btnGetSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnGetSelect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnGetSelect.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnGetSelect.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnGetSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnGetSelect.Location = new System.Drawing.Point(112, 10);
|
||||
this.btnGetSelect.Name = "btnGetSelect";
|
||||
this.btnGetSelect.Size = new System.Drawing.Size(80, 23);
|
||||
this.btnGetSelect.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnGetSelect.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnGetSelect.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnGetSelect.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnGetSelect.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnGetSelect.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnGetSelect.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnGetSelect.Style.GradientAngle = 90;
|
||||
this.btnGetSelect.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnGetSelect.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnGetSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnGetSelect.TabIndex = 427;
|
||||
this.btnGetSelect.Text = "查询选中";
|
||||
//
|
||||
// btnGetNotGet
|
||||
//
|
||||
this.btnGetNotGet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnGetNotGet.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnGetNotGet.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnGetNotGet.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnGetNotGet.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnGetNotGet.Location = new System.Drawing.Point(26, 10);
|
||||
this.btnGetNotGet.Name = "btnGetNotGet";
|
||||
this.btnGetNotGet.Size = new System.Drawing.Size(80, 23);
|
||||
this.btnGetNotGet.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnGetNotGet.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnGetNotGet.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnGetNotGet.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnGetNotGet.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnGetNotGet.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnGetNotGet.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnGetNotGet.Style.GradientAngle = 90;
|
||||
this.btnGetNotGet.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnGetNotGet.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnGetNotGet.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnGetNotGet.TabIndex = 431;
|
||||
this.btnGetNotGet.Text = "查询未获取";
|
||||
//
|
||||
// dgvOrder
|
||||
//
|
||||
this.dgvOrder.AllowUserToAddRows = false;
|
||||
this.dgvOrder.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvOrder.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dgvOrder.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
this.dgvOrder.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvOrder.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvOrder.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dgvOrder.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvOrder.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
this.colSpu,
|
||||
this.colSkc,
|
||||
this.colSkuId,
|
||||
this.colSkuName,
|
||||
this.colSkuPrice,
|
||||
this.colSkuPurchasePrice,
|
||||
this.colAvailableBalance});
|
||||
this.dgvOrder.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvOrder.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
|
||||
this.dgvOrder.Location = new System.Drawing.Point(12, 0);
|
||||
this.dgvOrder.Name = "dgvOrder";
|
||||
this.dgvOrder.RowHeadersWidth = 36;
|
||||
this.dgvOrder.RowTemplate.Height = 23;
|
||||
this.dgvOrder.Size = new System.Drawing.Size(630, 434);
|
||||
this.dgvOrder.TabIndex = 5;
|
||||
//
|
||||
// colSelect
|
||||
//
|
||||
this.colSelect.FillWeight = 28F;
|
||||
this.colSelect.HeaderText = "选";
|
||||
this.colSelect.Name = "colSelect";
|
||||
this.colSelect.ReadOnly = true;
|
||||
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colSelect.ThreeState = true;
|
||||
this.colSelect.Visible = false;
|
||||
//
|
||||
// colSpu
|
||||
//
|
||||
this.colSpu.FillWeight = 90F;
|
||||
this.colSpu.HeaderText = "SPU";
|
||||
this.colSpu.Name = "colSpu";
|
||||
this.colSpu.ReadOnly = true;
|
||||
this.colSpu.Visible = false;
|
||||
//
|
||||
// colSkc
|
||||
//
|
||||
this.colSkc.FillWeight = 80F;
|
||||
this.colSkc.HeaderText = "SKC";
|
||||
this.colSkc.Name = "colSkc";
|
||||
this.colSkc.ReadOnly = true;
|
||||
this.colSkc.Visible = false;
|
||||
//
|
||||
// colSkuId
|
||||
//
|
||||
this.colSkuId.FillWeight = 75F;
|
||||
this.colSkuId.HeaderText = "SKU编号";
|
||||
this.colSkuId.Name = "colSkuId";
|
||||
this.colSkuId.ReadOnly = true;
|
||||
//
|
||||
// colSkuName
|
||||
//
|
||||
this.colSkuName.FillWeight = 75F;
|
||||
this.colSkuName.HeaderText = "SKU名称";
|
||||
this.colSkuName.Name = "colSkuName";
|
||||
this.colSkuName.ReadOnly = true;
|
||||
//
|
||||
// colSkuPrice
|
||||
//
|
||||
this.colSkuPrice.FillWeight = 75F;
|
||||
this.colSkuPrice.HeaderText = "SKU申报价";
|
||||
this.colSkuPrice.Name = "colSkuPrice";
|
||||
this.colSkuPrice.ReadOnly = true;
|
||||
//
|
||||
// colSkuPurchasePrice
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.colSkuPurchasePrice.BackgroundStyle.Class = "DataGridViewNumericBorder";
|
||||
this.colSkuPurchasePrice.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.colSkuPurchasePrice.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.colSkuPurchasePrice.DisplayControlForCurrentCellOnly = false;
|
||||
this.colSkuPurchasePrice.FillWeight = 75F;
|
||||
this.colSkuPurchasePrice.HeaderText = "SKU进货价";
|
||||
this.colSkuPurchasePrice.Increment = 1D;
|
||||
this.colSkuPurchasePrice.Name = "colSkuPurchasePrice";
|
||||
this.colSkuPurchasePrice.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSkuPurchasePrice.ShowUpDown = true;
|
||||
//
|
||||
// colAvailableBalance
|
||||
//
|
||||
this.colAvailableBalance.FillWeight = 60F;
|
||||
this.colAvailableBalance.HeaderText = "操作";
|
||||
this.colAvailableBalance.Name = "colAvailableBalance";
|
||||
this.colAvailableBalance.ReadOnly = true;
|
||||
this.colAvailableBalance.Visible = false;
|
||||
//
|
||||
// btnSave
|
||||
//
|
||||
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSave.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSave.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSave.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSave.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSave.Location = new System.Drawing.Point(562, 3);
|
||||
this.btnSave.Name = "btnSave";
|
||||
this.btnSave.Size = new System.Drawing.Size(80, 23);
|
||||
this.btnSave.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSave.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSave.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSave.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSave.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSave.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSave.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSave.Style.GradientAngle = 90;
|
||||
this.btnSave.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSave.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSave.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSave.TabIndex = 435;
|
||||
this.btnSave.Text = "保存";
|
||||
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
||||
//
|
||||
// ShopSetPurchasePriceForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(656, 584);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "ShopSetPurchasePriceForm";
|
||||
this.Text = "ShopSetPurchasePriceForm";
|
||||
this.TitleText = "ShopSetPurchasePriceForm";
|
||||
this.Load += new System.EventHandler(this.ShopSetPurchasePriceForm_Load);
|
||||
this.Controls.SetChildIndex(this.splitContainer1, 0);
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel1.PerformLayout();
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.numDiscount)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||||
this.splitContainer2.Panel1.ResumeLayout(false);
|
||||
this.splitContainer2.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
|
||||
this.splitContainer2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
|
||||
this.ucGroupBoxEx1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvOrder)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private UserComponent.UcGroupBoxEx ucGroupBoxEx3;
|
||||
private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
|
||||
private DevComponents.DotNetBar.PanelEx btnGetSelect;
|
||||
private DevComponents.DotNetBar.PanelEx btnGetNotGet;
|
||||
private System.Windows.Forms.SplitContainer splitContainer2;
|
||||
private System.Windows.Forms.PictureBox pbLoading;
|
||||
private UserComponent.DataGridViewEx dgvOrder;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSpu;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSkc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSkuId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSkuName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSkuPrice;
|
||||
private DevComponents.DotNetBar.Controls.DataGridViewDoubleInputColumn colSkuPurchasePrice;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAvailableBalance;
|
||||
private DevComponents.DotNetBar.PanelEx btnMultiChangePurchasePrice;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||
private DevComponents.DotNetBar.PanelEx btnSave;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.NumericUpDown numDiscount;
|
||||
private System.Windows.Forms.Label label2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
using AllBase;
|
||||
using AllBase.Model.Result;
|
||||
using NaiBa.Util.Extension;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using TemuKJD.KJDForms.BaseForms;
|
||||
using Work;
|
||||
|
||||
namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||
{
|
||||
public partial class ShopSetPurchasePriceForm : LRBaseForm
|
||||
{
|
||||
public WarehouseProductSubOrderInfo orderInfo = new WarehouseProductSubOrderInfo();
|
||||
ShopLoginInfo shop = null;
|
||||
public ShopSetPurchasePriceForm(ShopLoginInfo shopInfo, WarehouseProductSubOrderInfo subOrderInfo = null)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
if (shopInfo != null)
|
||||
shop = shopInfo;
|
||||
if (subOrderInfo != null)
|
||||
orderInfo = subOrderInfo;
|
||||
}
|
||||
|
||||
private void ShopSetPurchasePriceForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (orderInfo == null)
|
||||
return;
|
||||
|
||||
this.numDiscount.Value = orderInfo.discount.ParseToDecimal() * 0.01m;
|
||||
this.numericUpDown1.Value = (orderInfo.skuQuantityDetailList.FirstOrDefault()?.supplierPrice).ParseToDecimal() * 0.01m;
|
||||
|
||||
this.TitleText = ("进货价修改 - " + orderInfo.productName);
|
||||
foreach (var sku in this.orderInfo.skuQuantityDetailList)
|
||||
{
|
||||
var rowId = this.dgvOrder.Rows.Add(
|
||||
false,
|
||||
orderInfo.productId,
|
||||
orderInfo.productSkcId,
|
||||
sku.productSkuId,
|
||||
"",
|
||||
sku.supplierPrice * 0.01m,
|
||||
sku.purchasePrice * 0.01m,
|
||||
""
|
||||
);
|
||||
this.dgvOrder.Rows[rowId].Height = 30;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnMultiChangePurchasePrice_Click(object sender, EventArgs e)
|
||||
{
|
||||
foreach(DataGridViewRow row in this.dgvOrder.Rows)
|
||||
{
|
||||
row.Cells["colSkuPurchasePrice"].Value = this.numericUpDown1.Value;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (orderInfo == null)
|
||||
return;
|
||||
|
||||
TemuDBProductPurchasePriceInfo purchasePriceItem = new TemuDBProductPurchasePriceInfo()
|
||||
{
|
||||
add_time = DateTime.Now,
|
||||
cat_id = "",
|
||||
cat_name = "",
|
||||
ext_code = orderInfo.skcExtCode,
|
||||
main_img = orderInfo.productSkcPicture,
|
||||
mdy_time = DateTime.Now,
|
||||
notes = "",
|
||||
price_text = "",
|
||||
product_name = orderInfo.productName,
|
||||
skc_id = orderInfo.productSkcId.ParseToString(),
|
||||
spu_id = orderInfo.productId.ParseToString(),
|
||||
shop_id = orderInfo.supplierId.ParseToString(),
|
||||
shop_name = orderInfo.supplierName,
|
||||
dbSkuPurchasePriceList = new List<TemuDBSkuPurchasePriceInfo>(),
|
||||
discount = (this.numDiscount.Value * 100).ParseToInt(),
|
||||
};
|
||||
foreach (DataGridViewRow row in dgvOrder.Rows)
|
||||
{
|
||||
var skuId = row.Cells["colSkuId"].Value.ParseToString();
|
||||
var purchasePriceValue = (row.Cells["colSkuPurchasePrice"].Value.ParseToDecimal() * 100).ParseToInt();
|
||||
var sku = orderInfo.skuQuantityDetailList.FirstOrDefault(s => s.productSkuId.ParseToString() == skuId);
|
||||
if (sku != null)
|
||||
{
|
||||
sku.purchasePrice = purchasePriceValue;
|
||||
purchasePriceItem.dbSkuPurchasePriceList.Add(new TemuDBSkuPurchasePriceInfo()
|
||||
{
|
||||
priceValue = sku.supplierPrice,
|
||||
productSkuId = sku.productSkuId,
|
||||
purchasePriceValue = purchasePriceValue,
|
||||
className = sku.className,
|
||||
});
|
||||
}
|
||||
}
|
||||
purchasePriceItem.sku_purchase_price_json = JsonHelper.SerializeObject(purchasePriceItem.dbSkuPurchasePriceList);
|
||||
if (orderInfo.purchasePriceInfo != null)
|
||||
purchasePriceItem.id = orderInfo.purchasePriceInfo.id;
|
||||
|
||||
var url = BaseClass.BuildObjString("price/add_purchase_price");
|
||||
if (orderInfo.purchasePriceInfo != null)
|
||||
url = BaseClass.BuildObjString("price/mdy_purchase_price");
|
||||
var data = UserLogin.GetSignaturex();
|
||||
if (orderInfo.purchasePriceInfo != null)
|
||||
data += "&db_id=" + orderInfo.purchasePriceInfo.id;
|
||||
data += "&shop_id=" + purchasePriceItem.shop_id;
|
||||
data += "&shop_name=" + purchasePriceItem.shop_name;
|
||||
data += "&spu_id=" + purchasePriceItem.spu_id;
|
||||
data += "&skc_id=" + purchasePriceItem.skc_id;
|
||||
data += "&cat_id=" + purchasePriceItem.cat_id;
|
||||
data += "&cat_name=" + purchasePriceItem.cat_name;
|
||||
data += "&ext_code=" + purchasePriceItem.ext_code;
|
||||
data += "&product_name=" + purchasePriceItem.product_name;
|
||||
data += "&main_img=" + purchasePriceItem.main_img;
|
||||
data += "&discount=" + purchasePriceItem.discount;
|
||||
data += "&price_text=" + purchasePriceItem.price_text;
|
||||
data += "&sku_purchase_price_json=" + purchasePriceItem.sku_purchase_price_json;
|
||||
data += "¬es=" + purchasePriceItem.notes;
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
//if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
// html = GetHtml.PostUtf8(url, data);
|
||||
//if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
// html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
{
|
||||
BaseMsgForm.ShowError("商品备注编辑失败,请重试!" + BaseRegex.GetStringJson(ref html, "msg"));
|
||||
}
|
||||
else
|
||||
{
|
||||
orderInfo.discount = purchasePriceItem.discount;
|
||||
orderInfo.purchasePriceInfo = purchasePriceItem;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
//if (result)
|
||||
// orderInfo.hasDbPurchasePrice = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,322 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSpu.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSkc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSkuId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSkuName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSkuPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSkuPurchasePrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colAvailableBalance.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAgIAQAAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
|
||||
AAD///8AAAAAAAAAAAAAAAAzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMQ
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAABM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZkzEAAAAAAAAAAAAAAAAAAAAAADOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZMwAAAAAAAAAAAAAAAAAAABOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZkzAAAAAAAAAAAAAAAAAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmTEAAAAAAAAAAAAAAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAAAAAAAA5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAAAAAADmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAAAAAOZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAAAA5mZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAADmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAGZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAJmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZAAAAAA
|
||||
OZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmT
|
||||
AAAAAZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmRAAAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZkwAAAZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZkwAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZMAAJmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZEAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTADmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkwCZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkRmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZOZmZOZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmP+JmZmZmZmZj///////
|
||||
///4OZmZj/eZmZmZmZmZmPg5OZmZmZuI//iIuZmZmZmZmZmZmZM5mZmZmZmZmZmZmb//+JmZmZmZmP//
|
||||
//////////OZmP//uZmZmZmZmY//+ZmZOZf///////h5k5mZmZmZmZmTOZmZmZmZmZmZmZmP//iZmZmZ
|
||||
mZ/////////////4mZ///4mZmZmZmZP///uZmZmP////////+JmZmZmZmZmZkzmZmZmZmZmZmZmZj//4
|
||||
mZmZmZmf////////////+Jmf//+JmZmZmZmb///4mZmY//////////+JmZmZmZmZmZM5mZmZmZmZmZmZ
|
||||
mY//+JmZmZmZn/////////////mZmP//iZmZmZmZk///+5mZj/////iP////+JmZmZmZmZmTOZmZmZmZ
|
||||
mZmZmZmP//iZmZmZmZ////iIiIiIiIiZOZj//4mZmZmZmZP///uZmf////eZmT////+ZmZmZmZmZkzmZ
|
||||
mZmZmZmZmZmZj//4mZmZmZmf//+JmZmZmZmZk5mY//+JmZmZmZmT///7mZj///+ZmZmZj///uZmZmZmZ
|
||||
mZM5mZmZmZmZmZmZmY//+JmZmZmZn///iZmZmZmZmZmZmP//iZmZN5k5k///+5mY///zk5mZOT///4mZ
|
||||
mZmZmZmTOZmZmZmZmZmZmZmP//iZmZmZmZ///4mZmZmZmZmZmZj//4mZmP/5k5P///uZmP//+ZmZmZmY
|
||||
//+JmZmZmZmZkzmZmZmZmZmZmZmZj//4mZmZmZmf///4iIiIiIg5mZmY//+JOb//+JmT///7mZj//4mZ
|
||||
mZmZmP//+ZmZmZmZmZM5mZmZmZmZmZmZmY//+JmZmZmZn///////////85mZmP//iZn///+Jk///+5mf
|
||||
//+JmZmZmZj///mZmZmZmZmTOZmZmZmZmZmZmZmP//iZmZmZmZ////////////+ZmZj//4mY////85v/
|
||||
//uZmP//iZmZmZmY///5mZmZmZmZkzmZmZmZmZmZmZmZj//4mZmZmZmf////////////mZmY//+Jv///
|
||||
//+Z///7mZj//4mZmZmZmP//+ZmZmZmZmZM5mZmZmZmZmZmZmY//+JmZmZmZn///////////+JmZmP//
|
||||
if//////if//+5mY//+JmZmZmZj///mZmZmZmZmTOZmZmZmZmZmZmZmP//iZmZmZmZ///////////4mZ
|
||||
mZj//4j///////j///uZmP//iZmZmZmY///5mZmZmZmZkzmZmZmZmZmZmZmZj//4mZmZmZmf//+JMzMz
|
||||
MzOZOZmY//////+D///////7mZj//4mZmZmZmP//+ZmZmZmZmZM5mZmZmZmZmZmZmY//+JmZmZmZn///
|
||||
iZmZmZmZmZmZmP//////mY//////+5mY//+JmZmZmZj///mZmZmZmZmTOZmZmZmZmZmZmZmP//iZmZmZ
|
||||
mZ///4mZmZmZmZmZmZj/////+5mf//////uZmP//iZmZmZmY///5mZmZmZmZkzmZmZmZmZmZMzM5j//4
|
||||
kzMzmZmf//+JMzMzMzM5mZmY/////4mTk//////7mZj//4mZmZmZmP//+ZmZmZmZmZM5mZmZmZmZmP//
|
||||
/////////4mZn////////////4mZmP////+ZmZmP////+5mY//+JmZmZmZj///mZmZmZmZmTOZmZmZmZ
|
||||
mY/////////////4mZ/////////////7mZj////7mZmZn/////uZmP//iZmZmZmY///5mZmZmZmZkzmZ
|
||||
mZmZmZn//////////////5mf////////////+Jmf////iZmZk5P////4mZ///4mZmZmZmP//+ZmZmZmZ
|
||||
mZM5mZmZmZmZj/////////////iZn/////////////iZmP///5mZmZmZj///+5mY//+JmZmZmZj//4mZ
|
||||
mZmZmZmTOZmZmZmZmZ/////////////zmZP///////////+JmZP///uTmZmZmZj//4mZm///mZmZmZmZ
|
||||
//85mZmZmZmZkzmZmZmZmZOZiIiIiIiIiIiImTmZOIiIiIiIiIiImTmZOIi5mZmZmZOZiIuZmZk4iZOZ
|
||||
mZmZOZiDmZmZmZmZmZM5mZmZmZmZOZmZmZmZmZmZmZOZmZmZmZmZmZmZmZOZmZmZmZmZmZmZOZmZmZmZ
|
||||
mZk5mZmZmZOZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmTuIiIiIs5mZmZmZmZ
|
||||
mTu4i7mZmZmZmZmZmTMzmZOZmZkzOZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmTmbj///////+HmT
|
||||
mZmZk4j/////iJmZmZk4iP////iZOZmZj/mZOZOIiIiIiIiIiDmZmZmZmZmZkzmZmZmZmZmZj///////
|
||||
///4mZk5k4///4iI///4OZOY////////iZOZmb/5mZmP///////////4mZmZmZmZmZM5mZmZmZmZn///
|
||||
//////////mZmY///5mZmZP///iZmP////////+ZOZk/iZmY/////////////4mZmZmZmZmTOZmZmZmZ
|
||||
mZ/////////////5mZ////+JmZmY////iZl/////////+ZmZP4mZP//////////////7mZmZmZmZkzmZ
|
||||
mZmZmZmb////////////uZP/j///+HM3j/////+ZmYj///////iZmT+JmY//////////////+JmZmZmZ
|
||||
mZM5mZmZmZmZmY//////////+JmT+Jv///////////iPmTmZOI/4mP//uTk/iZmP//////////////iZ
|
||||
mZmZmZmTOZmZmZmZmZmf//////////mZmZmZ///////////5mZmZmZmTOZk///mZP4mZj///////////
|
||||
///4mZmZmZmZkzmZmZmZmZmTmP////////+JOZmZOY//////////iZmZmZmZmZk5mf/4mT+JmY//////
|
||||
////////+JmZmZmZmZM5mZmZmZmZmZn/////////mZmZmZk//////////zmZmZmZmZmZmTmP/zm/iZmP
|
||||
//////////////iZmZmZmZmTOZmZmZmZmZk5v///////85OZmZkzmP////////iZmZmZmZmZmZmZn//4
|
||||
/4mZj/////hzN4/////4mZmZmZmZkzmZmZmZmZmZmZj//////4mZmTmY/4j////////4mZmZmZmZmZmZ
|
||||
mZj///+JmY////+JmZmY////+JmZmZmZmZM5mZmZmZmZmZmZ//////+ZmZmZj////////////4mZmZmZ
|
||||
mZmZmZmb////+ZmP///4mZu5mY////iZmZmZmZmTOZmZmZmZmZmZOb/////4k5mZmP/////////////7
|
||||
mZmZmZmZmZmZk/////OZv///+ZmP+Jmf///4mZmZmZmZkzmZmZmZmZmZmZmf////+ZmZmZj////////4
|
||||
eI//+JmZmZmZmZmZmZP////4mb///4mY//+JmP//+5mZmZmZmZM5mZmZmZmZmZk5v/////uTmZmb////
|
||||
///4mZmX//iZmZmZmZmZmZmZ////+Jmf//95n///+Zj///OZmZmZmZmTOZmZmZmZmZmZmf//////mZmZ
|
||||
mY//////+ZOZmZiJmZmZmZmZmZmZmY////+ZmP//+I////iP//+JmZmZmZmZkzmZmZmZmZmZmZj/////
|
||||
/4mZmZmf/////5k5mZOZmTmZmZmZmZmZmZmP///4mZP/////////////OZmZmZmZmZM5mZmZmZmZmZk/
|
||||
///////zmZmZm/////iZmZmZmZmZmZmZmZmZmZmZj///85mZj///////////+JmZmZmZmZmTOZmZmZmZ
|
||||
mZmZv///////+5mZmZmP///5mZmZmZmZmZmZmZmZmZmZmZ///3mZmZj//////////4mZmZmZmZmZkzmZ
|
||||
mZmZmZmZmb///4j///uZmZmZmP//mTmZmZmZmZmZmZmZmZmZmZmY/4OZmZmZeP///////4eZmZmZmZmZ
|
||||
mZM5mZmZmZmZmZmY/4OZOP+JmZmZmZmIiZOZmZmZmZmZmZmZmZmZmZmZmYiZmZmZmZk4iIiIiIOZmZmZ
|
||||
mZmZmZmTOZmZmZmZmZmZmTOZmZkzmZmZmZmZmZk5mZmZmZmZmZmZmZmZmZmZmZmZk5mZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmTGZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZkwmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZADmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZkwA5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZMACZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmQAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAABmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTAAADmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAJmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmRAAAAA5mZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAACZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmQAAAAAAGZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAOZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkwAAAAAA
|
||||
AAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTAA
|
||||
AAAAAAAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZMAAAAAAAAAAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZkwAAAAAAAAAAAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmTAAAAAAAAAAAAAAGZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZEAAAAAAAAAAAAAAAA5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZMAAAAAAAAAAAAAAAAAATmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZMQAAAAAAAAAAAAAAAAAAABOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZMQAAAAAAAAAAAAAAAAAAAAAAAzmZmZmZmZmZmZmZmZmZmZmZmZmZ
|
||||
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTMAAAAAAAAAAAAAAAAAAAAAAAAAAAEzMzMzMzMzMzMzMzMzMz
|
||||
MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxAAAAAAAAAAAAAAD////////////////////////4AAAA
|
||||
AAAAAAAAAB//////wAAAAAAAAAAAAAAD/////wAAAAAAAAAAAAAAAP////wAAAAAAAAAAAAAAAA////w
|
||||
AAAAAAAAAAAAAAAAD///4AAAAAAAAAAAAAAAAAf//8AAAAAAAAAAAAAAAAAD//+AAAAAAAAAAAAAAAAA
|
||||
Af//AAAAAAAAAAAAAAAAAAD//gAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAA
|
||||
AAAAAAAf+AAAAAAAAAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAA/wAAAAAAAAAAAAAAAAAAAP4AAAAAAA
|
||||
AAAAAAAAAAAAB+AAAAAAAAAAAAAAAAAAAAfAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAA8AA
|
||||
AAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
|
||||
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAA
|
||||
AAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAA
|
||||
AAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
|
||||
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAA
|
||||
AAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAA
|
||||
AAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
|
||||
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAA
|
||||
AAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAA
|
||||
AAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
|
||||
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAA
|
||||
AAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAA
|
||||
AAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
|
||||
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAA
|
||||
AAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAA
|
||||
AAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
|
||||
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAA
|
||||
AAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAAD4AAAAAAAAAAAAAAAAAAAA+AA
|
||||
AAAAAAAAAAAAAAAAAAfgAAAAAAAAAAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAD/AAAAAAAAAAAAAAAAAA
|
||||
AA/4AAAAAAAAAAAAAAAAAAAf/AAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAAAAAAAAD/+AAAAAAAAAAAA
|
||||
AAAAAAB//wAAAAAAAAAAAAAAAAAA//+AAAAAAAAAAAAAAAAAAf//wAAAAAAAAAAAAAAAAAP//+AAAAAA
|
||||
AAAAAAAAAAAH///4AAAAAAAAAAAAAAAAD////AAAAAAAAAAAAAAAAD////8AAAAAAAAAAAAAAAD/////
|
||||
wAAAAAAAAAAAAAAD//////wAAAAAAAAAAAAAH////////////////////////w==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in new issue
Block a user